Commit 4d8354ad authored by 刘用法's avatar 刘用法

【订单-预约】:进入预约已超时的工单的预约页面,预约按钮没有立即显示为红色。

parent c563582f
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
<view v-if="showCenterBtn" @click="handleBtn" class="button" :class="['center-button-view', btnClass]"> <view v-if="showCenterBtn" @click="handleBtn" class="button" :class="['center-button-view', btnClass]">
<text>{{ centerButtonText }}</text> <text>{{ centerButtonText }}</text>
<view v-if="order.currentOverTime" class="time-view"> <view v-if="order.currentOverTime" class="time-view">
<text>{{order.currentOverTime > new Date().getTime()?'剩':'超'}}</text> <text style="padding-right: 8rpx;">{{order.currentOverTime > new Date().getTime()?'剩':'超'}}</text>
<u-count-down <u-count-down
:timestamp="timestampDiff(order.currentOverTime)" :timestamp="timestampDiff(order.currentOverTime)"
font-size="20" font-size="20"
...@@ -340,6 +340,7 @@ ...@@ -340,6 +340,7 @@
if (res.code == 200) { if (res.code == 200) {
self.order = res.data self.order = res.data
this.getCurrentBtn() this.getCurrentBtn()
self.timeOutChange(self.order.currentOverTime)
if(self.order.isFirstOrder){ if(self.order.isFirstOrder){
this.visibale = true this.visibale = true
} }
......
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