完善功能

This commit is contained in:
wangxiaowei
2025-12-12 09:29:57 +08:00
parent a05b724a0f
commit 213d786842
2 changed files with 5 additions and 4 deletions

View File

@ -158,7 +158,7 @@
{{ item.t }}
</view>
</view>
<view class="d-f cg-info" style="width: 800rpx; overflow-x: auto;">
<view class="d-f cg-info" style="width: 800rpx; overflow-x: auto;" v-if="timeList.length > 0">
<view style="width: 120rpx;margin-right: 10rpx;" v-for="(item2, index2) in cdList" :key="index2">
<view class="" style="margin-bottom: 6rpx; text-align: center;">{{ item2.title }}</view>
<view
@ -178,6 +178,7 @@
</view>
</view>
</view>
<view class="tc mt60 ww100 f30" v-else>今日预约已结束</view>
</view>
</view>
</view>
@ -608,7 +609,7 @@ export default {
total: Number(totalPrice) + Number(totalLightPrice),
cdf: {
nums: this.countSelectedTime,
price: 0, // 假设单价100元/小时,实际应从后端获取
price: 0,
total: totalPrice
},
dgf: {

View File

@ -7,8 +7,8 @@
<!-- 待付款 -->
<view class="state-cont icon-box" style="width: 100%;" v-if="detail.order_status == 0">
<image style="width: 36rpx;height: 36rpx;margin-top: 16rpx;" src="@/static/icon/time2.png" mode=""></image>
<view class="countdown-datetime" v-if="detail.pay_end_time">
<text>还剩<text style="color: #FF5951">{{ detail.pay_end_time }}</text>订单自动取消</text>
<view class="countdown-datetime" v-if="detail.expiration_time">
<text>还剩<text style="color: #FF5951">{{ detail.expiration_time }}</text>分钟订单自动取消</text>
</view>
</view>