订单字段完善

This commit is contained in:
kron
2025-07-13 11:21:30 +08:00
parent 0eb148ef96
commit 6b3fc6d059
2 changed files with 12 additions and 4 deletions
+6 -2
View File
@@ -57,8 +57,12 @@ const cancelOrder = async () => {
<text>商品名:{{ data.vipName }}</text>
<text>订单号:{{ data.orderId }}</text>
<text>下单时间:{{ data.vipCreateAt }}</text>
<text>支付时间:2025-01-31 09:27:34</text>
<text>金额:{{ data.vipPrice }} 元</text>
<text
>支付时间:{{
data.orderStatus === 4 ? data.paymentTime : ""
}}</text
>
<text>金额:{{ data.total }} 元</text>
<text>支付方式:微信</text>
</view>
<view v-if="data.orderStatus === 1">
+6 -2
View File
@@ -57,8 +57,12 @@ const onLoading = async (page) => {
<text>{{ item.vipName }}</text>
<!-- <text>订单号:{{ item.orderId }}</text> -->
<!-- <text>创建时间:{{ item.vipCreateAt }}</text> -->
<text>支付时间:2025-01-31 09:27:34</text>
<text>金额:{{ item.vipPrice }} 元</text>
<text
>支付时间:{{
item.orderStatus === 4 ? item.paymentTime : ""
}}</text
>
<text>金额:{{ item.total }} 元</text>
<text>支付方式:微信</text>
</view>
</ScrollList>