Commit cc43a09a authored by renjie's avatar renjie

倒计时修改

parent 85c3360d
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<text class="tip">获取照片需先在拍摄点摄影</text> <text class="tip">获取照片需先在拍摄点摄影</text>
<u-mask :show="maskShow" @click="maskShow = false"> <u-mask :show="maskShow" @click="maskShow = false">
<view class="mask"> <view class="mask">
<text class="countdown" v-if="maskCount >= 0">{{maskCount}}s</text> <text class="countdown" v-if="maskCount > 0">{{maskCount}}s</text>
<view class="tip"> <view class="tip">
<view>未找到您的照片</view> <view>未找到您的照片</view>
<view class="small">请在拍摄点拍摄后重试</view> <view class="small">请在拍摄点拍摄后重试</view>
...@@ -61,7 +61,7 @@ export default { ...@@ -61,7 +61,7 @@ export default {
}, },
methods: { methods: {
returnClick() { returnClick() {
if(this.maskCount >= 0) return if(this.maskCount > 0) return
this.maskShow = false this.maskShow = false
uni.navigateBack({ uni.navigateBack({
delta: 1 delta: 1
......
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