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