This commit is contained in:
yuanteng0011 2025-03-01 13:48:25 +08:00
parent b243a1be77
commit c162ae2861

View File

@ -40,7 +40,7 @@
<text class="font_5 ml-5">{{order.orderNumber}}</text>
</view>
<view style="width: 150rpx; display: flex; justify-content: space-between;">
<!-- <view><text v-if="order.orderStatus === '待支付'" class="font_status text_5">{{ order.countdown }}</text></view> -->
<view><text v-if="order.orderStatus === '待支付'" class="font_status text_5">{{ order.countdown }}</text></view>
<view><text class="font_status text_5">{{ order.orderStatus }}</text></view>
</view>
</view>
@ -175,10 +175,10 @@ const isSelected = (tab) => Status.value.orderStatus === tab
})
if (res.data.code === 1) {
Status.value.orders = res.data.data
Status.value.orders.forEach((order) => {
Status.value.orders.forEach((order) => { //
startCountdown(order)
})
console.log('Status.value.orders--->',Status.value.orders);
// console.log('Status.value.orders--->',Status.value.orders);
} else {
console.log('没拿到用户数据')
}