订单

parent 899f29d4
...@@ -5,9 +5,18 @@ ...@@ -5,9 +5,18 @@
<!-- 使用状态 --> <!-- 使用状态 -->
<view class="status"> <view class="status">
<view class="status-box"> <view class="status-box">
<wd-icon name="check-outline" size="26px" color="#333" <wd-icon
v-if="orderDetail.status == 5 || orderDetail.status == 7"></wd-icon> name="check-outline"
<wd-icon name="close-outline" size="26px" color="#333" v-if="orderDetail.status == 6"></wd-icon> size="26px"
color="#333"
v-if="orderDetail.status == 5 || orderDetail.status == 7"
></wd-icon>
<wd-icon
name="close-outline"
size="26px"
color="#333"
v-if="orderDetail.status == 6"
></wd-icon>
<view class="status-text">{{ statusList[orderDetail.status] }}</view> <view class="status-text">{{ statusList[orderDetail.status] }}</view>
</view> </view>
<view class="detail" v-if="orderDetail.status == 3"> <view class="detail" v-if="orderDetail.status == 3">
...@@ -55,10 +64,13 @@ ...@@ -55,10 +64,13 @@
<text class="title1" v-if="orderDetail.status != 2 || orderDetail.status != 3"> <text class="title1" v-if="orderDetail.status != 2 || orderDetail.status != 3">
券码信息 券码信息
</text> </text>
<text :class="orderDetail.status == 5 || orderDetail.status == 6 || orderDetail.status == 7 <text
:class="
orderDetail.status == 5 || orderDetail.status == 6 || orderDetail.status == 7
? 'linethrough' ? 'linethrough'
: 'phone' : 'phone'
"> "
>
{{ orderDetail.orderNumber.slice(6) }} {{ orderDetail.orderNumber.slice(6) }}
</text> </text>
</view> </view>
...@@ -253,7 +265,6 @@ const getDetail = async () => { ...@@ -253,7 +265,6 @@ const getDetail = async () => {
} }
getProductDetail(orderDetail.value.orderItems[0].prodId); getProductDetail(orderDetail.value.orderItems[0].prodId);
getShopMailDetail(orderDetail.value.shopId); getShopMailDetail(orderDetail.value.shopId);
}; };
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment