|
|
@@ -34,9 +34,10 @@ |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="price-box"> |
|
|
|
共 |
|
|
|
<text class="num">{{quantity(item.products)}}</text> |
|
|
|
件商品 合计 |
|
|
|
|
|
|
|
<!-- <text class="num">{{quantity(item.products)}}</text>--> |
|
|
|
<!-- goods--> |
|
|
|
total |
|
|
|
<text class="price">{{item.total_price}}</text> |
|
|
|
|
|
|
|
<text v-if="item.discount_price > 0">(已优惠¥{{item.discount_price}})</text> |
|
|
@@ -351,28 +352,28 @@ |
|
|
|
stateTipColor = '#fa436a'; |
|
|
|
switch (+state) { |
|
|
|
case 0: |
|
|
|
stateTip = '交易成功'; |
|
|
|
stateTip = 'Completed'; //交易成功 |
|
|
|
break; |
|
|
|
case 1: |
|
|
|
stateTip = '待付款'; |
|
|
|
stateTip = 'Unpayment'; //待付款 |
|
|
|
break; |
|
|
|
case 2: |
|
|
|
stateTip = '待发货'; |
|
|
|
stateTip = 'To be delivered'; //待发货 |
|
|
|
break; |
|
|
|
// case 3: // |
|
|
|
// stateTip = '待收货'; |
|
|
|
// break; |
|
|
|
case 4: // |
|
|
|
stateTip = '已完成'; |
|
|
|
stateTip = 'Completed'; //已完成 |
|
|
|
break; |
|
|
|
case 5: |
|
|
|
stateTip = '已取消'; |
|
|
|
stateTip = 'Cancelled'; //已取消 |
|
|
|
break; |
|
|
|
case 6: |
|
|
|
stateTip = '拒绝退款'; |
|
|
|
stateTip = 'Refusal to refund'; //拒绝退款 |
|
|
|
break; |
|
|
|
case 9: |
|
|
|
stateTip = '订单已关闭'; |
|
|
|
stateTip = 'Order closed'; //订单已关闭 |
|
|
|
stateTipColor = '#909399'; |
|
|
|
break; |
|
|
|
|
|
|
|