Commit df6cddd8 by 李伟康

提交代码

1 parent 14eaa707
...@@ -25,13 +25,24 @@ ...@@ -25,13 +25,24 @@
.page-btn { .page-btn {
position: fixed; position: fixed;
right: 8px; right: 0;
top: 402px; top: 450px;
z-index: 3; z-index: 3;
background: #FFFFFF; background: #FFFFFF;
box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.0800); width: 74px;
border-radius: 28px; box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.1000);
padding: 3px; border-radius: 4px 0px 0px 4px;
border: 1px solid #EFEFEF;
.page-item {
height: 30px;
font-size: 9px;
font-weight: 500;
color: #666666;
padding: 0 8px;
.sprite-icon{
margin-right: 2px;
}
}
} }
...@@ -100,6 +111,7 @@ ...@@ -100,6 +111,7 @@
&:last-of-type { &:last-of-type {
.mask { .mask {
border-right: 16px solid #f7f7f7; border-right: 16px solid #f7f7f7;
.line-box { .line-box {
width: calc(100% - 16px); width: calc(100% - 16px);
} }
...@@ -114,6 +126,7 @@ ...@@ -114,6 +126,7 @@
left: 0; left: 0;
z-index: 2; z-index: 2;
background: #E9E8EC; background: #E9E8EC;
img { img {
object-fit: contain; object-fit: contain;
} }
...@@ -153,7 +166,8 @@ ...@@ -153,7 +166,8 @@
.mask { .mask {
border-right: none !important; border-right: none !important;
.line-box{
.line-box {
width: 100% !important; width: 100% !important;
} }
} }
...@@ -165,12 +179,14 @@ ...@@ -165,12 +179,14 @@
justify-content: space-between; justify-content: space-between;
padding: 0 16px; padding: 0 16px;
box-sizing: border-box; box-sizing: border-box;
.item { .item {
width: 166px; width: 166px;
height: 92px; height: 92px;
margin-left: 0; margin-left: 0;
.mask{
.line-box{ .mask {
.line-box {
width: 100% !important; width: 100% !important;
} }
} }
......
.sprite-icon { background-image: url(../images/sprite.png);background-size: 453px 414px;} .sprite-icon { background-image: url(../images/sprite.png);background-size: 453px 404px;}
.icon-address { width: 34px; height: 34px; background-position: -408px -202px;} .icon-address { width: 34px; height: 34px; background-position: -408px -202px;}
.icon-big-play { width: 40px; height: 40px; background-position: -408px -152px;} .icon-big-play { width: 40px; height: 40px; background-position: -408px -152px;}
.icon-close { width: 24px; height: 24px; background-position: -240px -374px;} .icon-close { width: 24px; height: 24px; background-position: -120px -374px;}
.icon-dj-logo { width: 88px; height: 88px; background-position: -310px -152px;} .icon-dj-logo { width: 88px; height: 88px; background-position: -310px -152px;}
.icon-download { width: 30px; height: 30px; background-position: -352px -300px;} .icon-download { width: 30px; height: 30px; background-position: -352px -300px;}
.icon-flash { width: 20px; height: 20px; background-position: -432px -300px;} .icon-flash { width: 20px; height: 20px; background-position: -432px -300px;}
.icon-gh-logo { width: 70px; height: 40px; background-position: -310px -250px;} .icon-gh-logo { width: 70px; height: 40px; background-position: -310px -250px;}
.icon-hot { width: 15px; height: 18px; background-position: -434px -250px;} .icon-hot { width: 15px; height: 18px; background-position: -434px -250px;}
.icon-kf-box { width: 300px; height: 350px; background-position: 0px 0px;} .icon-kf-box { width: 300px; height: 350px; background-position: 0px 0px;}
.icon-kf { width: 50px; height: 54px; background-position: 0px -360px;} .icon-kf { width: 20px; height: 20px; background-position: -154px -374px;}
.icon-music-off { width: 34px; height: 34px; background-position: -390px -250px;} .icon-music-off { width: 34px; height: 34px; background-position: -390px -250px;}
.icon-music { width: 32px; height: 32px; background-position: -310px -300px;} .icon-music { width: 32px; height: 32px; background-position: -310px -300px;}
.icon-order { width: 20px; height: 20px; background-position: -274px -374px;} .icon-order { width: 20px; height: 20px; background-position: -184px -374px;}
.icon-pause { width: 30px; height: 30px; background-position: -392px -300px;} .icon-pause { width: 30px; height: 30px; background-position: -392px -300px;}
.icon-phone { width: 12px; height: 13px; background-position: -364px -374px;} .icon-phone { width: 12px; height: 13px; background-position: -274px -374px;}
.icon-play { width: 30px; height: 30px; background-position: -120px -374px;} .icon-play { width: 30px; height: 30px; background-position: 0px -374px;}
.icon-poster { width: 20px; height: 20px; background-position: -304px -374px;} .icon-poster { width: 20px; height: 20px; background-position: -214px -374px;}
.icon-qr { width: 143px; height: 142px; background-position: -310px 0px;} .icon-qr { width: 143px; height: 142px; background-position: -310px 0px;}
.icon-scan { width: 30px; height: 30px; background-position: -160px -374px;}
.icon-share { width: 50px; height: 54px; background-position: -60px -360px;}
.icon-success { width: 20px; height: 20px; background-position: -334px -374px;}
.icon-time { width: 12px; height: 11px; background-position: -386px -374px;}
.icon-title { width: 170px; height: 4px; background-position: -120px -360px;}
.icon-top { width: 30px; height: 30px; background-position: -200px -374px;}
\ No newline at end of file \ No newline at end of file
.icon-scan { width: 30px; height: 30px; background-position: -40px -374px;}
.icon-success { width: 20px; height: 20px; background-position: -244px -374px;}
.icon-time { width: 12px; height: 11px; background-position: -296px -374px;}
.icon-title { width: 170px; height: 4px; background-position: 0px -360px;}
.icon-top { width: 30px; height: 30px; background-position: -80px -374px;}
\ No newline at end of file \ No newline at end of file

127 KB | W: | H:

115 KB | W: | H:

src/assets/images/sprite.png
src/assets/images/sprite.png
src/assets/images/sprite.png
src/assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin

8.41 KB | W: | H:

2.01 KB | W: | H:

src/assets/spritesmith/kf.png
src/assets/spritesmith/kf.png
src/assets/spritesmith/kf.png
src/assets/spritesmith/kf.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
module.exports = { module.exports = {
title: '加载中...', title: '加载中...',
request: { request: {
baseURL: 'http://scrm.dev.glsx.com.cn', // 本地测试项目地址, baseURL: 'http://scrm.test.glsx.com.cn', // 本地测试项目地址,
// 设置超时时间 // 设置超时时间
timeout: 180000, timeout: 180000,
// 携带凭证 // 携带凭证
......
...@@ -6,16 +6,14 @@ export function Audio (url, callBack) { ...@@ -6,16 +6,14 @@ export function Audio (url, callBack) {
this.buffer = null this.buffer = null
this.isPlayingBGM = false this.isPlayingBGM = false
if (this.IsIOS) { if (this.IsIOS) {
let body = document.getElementsByTagName('body')[0]
this.audioContext = document.createElement('audio') this.audioContext = document.createElement('audio')
this.audioContext.onloadeddata = () => { let _this = this
console.log('onloadeddata_______IOS播放——————————————') this.audioContext.addEventListener('canplay', function () {
this.audioContext.play() console.log('durationchange_______IOS播放——————————————')
} _this.audioContext.play()
})
this.audioContext.src = url this.audioContext.src = url
this.audioContext.loop = true this.audioContext.loop = true
body.appendChild(this.audioContext)
// console.log('IOS播放——————————————', this.audioContext)
} }
this.toggleBGM = function (off) { this.toggleBGM = function (off) {
if (typeof this.sourceNode == 'object' && !this.IsIOS) { if (typeof this.sourceNode == 'object' && !this.IsIOS) {
......
...@@ -12,19 +12,29 @@ ...@@ -12,19 +12,29 @@
|| detail.customerServiceQrImg || detail.customerServiceQrImg
|| detail.customerServerUrl"> || detail.customerServerUrl">
<div class="page-btn"> <div class="page-btn">
<template v-if="detail.customerServiceName
|| detail.customerServicePhone
|| detail.customerServiceQrImg
|| detail.customerServerUrl">
<div class="page-item flex">
<div <div
class="sprite-icon icon-kf" class="sprite-icon icon-kf"
@click="clickKF" @click="clickKF"
@touchstart="touchstart" @touchstart="touchstart"
@touchend="touchend" @touchend="touchend"
></div> ></div>
在线客服
<!-- <div </div>
class="sprite-icon icon-share" </template>
<!-- <div class="page-item flex">
<div
class="sprite-icon icon-kf"
@click="clickKF"
@touchstart="touchstart" @touchstart="touchstart"
@touchend="touchend" @touchend="touchend"
@click="share" ></div>
></div> --> 我的订单
</div> -->
</div> </div>
</template> </template>
<div class="big-img"> <div class="big-img">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!