|
@@ -2,9 +2,13 @@
|
|
|
<view :style="colorStyle">
|
|
|
<view class="wait_panel">
|
|
|
<view class="w1">
|
|
|
- <image src="http://www.gzzzyd.com/groupon/home_slices/倒计时@2x.png" mode="scaleToFill" />
|
|
|
- <text v-if="orderDetail.orderState == 1" class="yellow">等待付款</text>
|
|
|
- <text v-if="orderDetail.orderState == 2" class="yellow">等待提货</text>
|
|
|
+ <image v-if="orderDetail.orderState == 5" src="http://www.gzzzyd.com/groupon/home_slices/取消订单小@2x.png" mode="scaleToFill" />
|
|
|
+ <image v-else-if="orderDetail.orderState == 4" src="http://www.gzzzyd.com/groupon/home_slices/已完成@2x.png" mode="scaleToFill" />
|
|
|
+ <image v-else-if="orderDetail.orderState == 6 || orderDetail.orderState == 7" src="http://www.gzzzyd.com/groupon/home_slices/退款中@2x.png" mode="scaleToFill" />
|
|
|
+ <image v-else src="http://www.gzzzyd.com/groupon/home_slices/倒计时@2x.png" mode="scaleToFill" />
|
|
|
+ <text v-if="orderDetail.orderState == 4" class="success_status">{{orderDetail.orderStateDesc}}</text>
|
|
|
+ <text v-else-if="orderDetail.orderState > 4" class="refund_status">{{orderDetail.orderStateDesc}}</text>
|
|
|
+ <text v-else class="status">{{orderDetail.orderStateDesc}}</text>
|
|
|
</view>
|
|
|
<view class="w2" v-if="orderDetail.orderState == 1">
|
|
|
需付款: <text class="red">¥{{orderDetail.paymentAmount}}</text>
|
|
@@ -1038,6 +1042,26 @@ export default {
|
|
|
left: 50%;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ .success_status {
|
|
|
+ min-width: 100rpx;
|
|
|
+ text-align: right;
|
|
|
+ margin-right: 30rpx;
|
|
|
+ color: #75BE00;
|
|
|
+ }
|
|
|
+ .refund_status {
|
|
|
+ min-width: 100rpx;
|
|
|
+ text-align: right;
|
|
|
+ margin-right: 30rpx;
|
|
|
+ color: #333333;
|
|
|
+ }
|
|
|
+ .status {
|
|
|
+ min-width: 100rpx;
|
|
|
+ text-align: right;
|
|
|
+ margin-right: 30rpx;
|
|
|
+ color: #FEA800;
|
|
|
+ }
|
|
|
+
|
|
|
/deep/ .u-count-down__text{
|
|
|
font-size: 28rpx !important;
|
|
|
}
|