Commit 429a0c3e authored by qipeng's avatar qipeng

显示优化

parent f4e69866
......@@ -30,11 +30,11 @@
<view class="certificate-box">
<view class="box-verificationCode">验证码:{{ticketCode}}</view>
<canvas class="box-QRcode" canvas-id="qrcode"/>
<view class="progress-box" v-if="orderInfo.orderType == 0">
<view class="progress-box" v-if="qrCodeType==true">
<progress :percent="percentage" activeColor="#3688FF" stroke-width="3" />
</view>
<!-- <view class="box-prompt">自动更新,截屏无效</view> -->
<view class="box-prompt2">{{orderInfo.orderType==1?'':'二维码自动更新,截屏无法验证'}}</view>
<view class="box-prompt2">{{qrCodeType==true?'二维码自动更新,截屏无法验证':''}}</view>
</view>
</view>
</template>
......@@ -434,6 +434,7 @@
timerType:null,//清除标记
returnTripType:false,//返程取号设置
Brightness:'',//屏幕亮度
qrCodeType:false,//是否是多个二维码
}
},
onShow() {
......@@ -494,8 +495,10 @@
this.$nextTick(() => {
if(this.orderInfo.playDate.substr(0,10)==this.$commonjs.today()&&this.orderInfo.exchangeMode==4||this.orderInfo.playDate.substr(0,10)==this.$commonjs.today()&&this.orderInfo.exchangeMode==5){
this.dynamicCode()
this.qrCodeType=true
}else{
this.qecode()
this.qrCodeType=false
}
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment