upgrade 9.4

This commit is contained in:
2020-08-04 20:00:58 +08:00
parent 1f9299602e
commit 13bdc08c86
6 changed files with 23 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
<view class="status" v-if="orderstate">
<view class="text">
<view class="status-text">{{ s_object[orderstate].text }}</view>
<view class="time" v-if="orderInfo.view_type == 1">距离结束{{ countdown }}</view>
<view class="time" v-if="orderInfo.view_type == 1 || orderInfo.view_type == 9">距离结束{{ countdown }}</view>
</view>
<image :src="s_object[orderstate].image"></image>
</view>
@@ -175,7 +175,7 @@ export default {
// console.log(spikeTime);
if(spikeTime <= 0) {
this.isSpike = true;
this.spikeTime = '00:00:00'
this.countdown = '00:00:00'
clearInterval(this.timer);
return false;
};
@@ -204,9 +204,10 @@ export default {
}).then(res => {
if(res.errCode == 0) {
this.orderInfo = res.data;
this.setSpikeTime(res.data.end_time);
this.viewState(this.orderInfo.view_type);
this.setTitle(this.orderInfo.view_type);
if(res.data.view_type == 1) this.setSpikeTime(res.data.end_time);
else if(res.data.view_type == 9) this.setSpikeTime(res.data.pintuangroup_endtime);
}
uni.stopPullDownRefresh(); // 结束刷新
})