完善小程序订单功能

This commit is contained in:
wangxiaowei
2025-12-09 01:43:28 +08:00
parent 4a0d0c1114
commit cba684d7f6
9 changed files with 434 additions and 268 deletions

View File

@ -61,32 +61,32 @@
<view class="item" @click="jumpPage('/pages/order/cg-my-order?dataType=0')">
<view class="icon-box pr">
<image src="/static/icon/dfk.png" mode=""></image>
<text class="dot d-c-c"
v-if="orderCount.payment != null && orderCount.payment > 0">{{ orderCount.payment }}</text>
<!-- <text class="dot d-c-c"
v-if="orderCount.payment != null && orderCount.payment > 0">{{ orderCount.payment }}</text> -->
</view>
<text>待付款</text>
</view>
<view class="item" @click="jumpPage('/pages/order/cg-my-order?dataType=1')">
<view class="icon-box pr">
<image src="/static/icon/yyy.png" mode=""></image>
<text class="dot d-c-c"
v-if="orderCount.reserve != null && orderCount.reserve > 0">{{ orderCount.reserve }}</text>
<!-- <text class="dot d-c-c"
v-if="orderCount.reserve != null && orderCount.reserve > 0">{{ orderCount.reserve }}</text> -->
</view>
<text class="">已预约</text>
</view>
<view class="item" @click="jumpPage('/pages/order/cg-my-order?dataType=2')">
<view class="icon-box pr">
<image src="/static/icon/ywc.png" mode=""></image>
<text class="dot d-c-c"
v-if="orderCount.completed != null && orderCount.completed > 0">{{ orderCount.completed }}</text>
<!-- <text class="dot d-c-c"
v-if="orderCount.completed != null && orderCount.completed > 0">{{ orderCount.completed }}</text> -->
</view>
<text>已完成</text>
</view>
<view class="item" @click="jumpPage('/pages/order/cg-my-order?dataType=4')">
<view class="icon-box pr">
<image src="/static/icon/tk.png" mode=""></image>
<text class="dot d-c-c"
v-if="orderCount.refund != null && orderCount.refund > 0">{{ orderCount.refund }}</text>
<!-- <text class="dot d-c-c"
v-if="orderCount.refund != null && orderCount.refund > 0">{{ orderCount.refund }}</text> -->
</view>
<text>退款/售后</text>
</view>