Fix:4808 【商城小程序】团购订单评价完成后详情页未刷新,评价完成后,评价按钮需要隐藏

This commit is contained in:
LinCyJang
2026-01-14 22:18:48 +08:00
parent debcc2010a
commit 4412103c8a
+4 -1
View File
@@ -3,7 +3,7 @@
<!-- 订单状态 --> <!-- 订单状态 -->
<view class="status-section" v-if="!orderInfo.isGiftCardSend"> <view class="status-section" v-if="!orderInfo.isGiftCardSend">
<view class="v12-font-28 v12-font-bold v12-primary-text v12-align-center v12-justify-between"> <view class="v12-font-28 v12-font-bold v12-primary-text v12-align-center v12-justify-between">
<text>{{orderInfo._status._title}}</text> <text>{{orderInfo._status._title || ''}}</text>
<u-count-down v-if="orderInfo._status && ['1'].includes(orderInfo._status._type)" format="HH:mm:ss" autoStart :time="$global.diffSSS(orderInfo.confirmTimeout)" /> <u-count-down v-if="orderInfo._status && ['1'].includes(orderInfo._status._type)" format="HH:mm:ss" autoStart :time="$global.diffSSS(orderInfo.confirmTimeout)" />
</view> </view>
<view class="v12-font-24 v12-mt-3" style="color: #666;" v-if="orderInfo._status && ['1'].includes(orderInfo._status._type)"> <view class="v12-font-24 v12-mt-3" style="color: #666;" v-if="orderInfo._status && ['1'].includes(orderInfo._status._type)">
@@ -231,6 +231,9 @@ export default {
this.isView = otps.isView || 0; this.isView = otps.isView || 0;
this.getSojoumOrderDetail(); this.getSojoumOrderDetail();
}, },
onShow() {
this.getSojoumOrderDetail();
},
methods: { methods: {
handleDateRangeChange(dates) { handleDateRangeChange(dates) {
// if (dates && dates.length === 2) { // if (dates && dates.length === 2) {