Commit 80546943ba5e58ed55478a04c8bc5c1a1d18097a
1 parent
3a960fe7
自提。物流在订单详情页面的显示优化
Showing
2 changed files
with
8 additions
and
3 deletions
packageD/pages/shop/order_detail/order_detail.wxml
| @@ -68,7 +68,10 @@ | @@ -68,7 +68,10 @@ | ||
| 68 | <view wx:if="{{order.pt_status<4 && order.is_zsorder==4}}"> | 68 | <view wx:if="{{order.pt_status<4 && order.is_zsorder==4}}"> |
| 69 | -- | 69 | -- |
| 70 | </view> | 70 | </view> |
| 71 | - <view wx:else>{{(order.shipping_name!=''&& order.shipping_name!=null) ?order.shipping_name:'自提'}}</view> | 71 | + <view wx:if="{{order.exp_type==2}}">同城配送</view> |
| 72 | + <view wx:elif="{{order.exp_type==1}}">自提</view> | ||
| 73 | + <view wx:else >物流({{order.shipping_name}})</view> | ||
| 74 | + | ||
| 72 | </view> | 75 | </view> |
| 73 | <view class="item"> | 76 | <view class="item"> |
| 74 | <view>买家留言</view> | 77 | <view>买家留言</view> |
pages/user/order_detail/order_detail.wxml
| @@ -79,9 +79,11 @@ | @@ -79,9 +79,11 @@ | ||
| 79 | <view>配送方式</view> | 79 | <view>配送方式</view> |
| 80 | <view wx:if="{{order.pt_status<4 && order.is_zsorder==4}}"> | 80 | <view wx:if="{{order.pt_status<4 && order.is_zsorder==4}}"> |
| 81 | -- | 81 | -- |
| 82 | - </view> | 82 | + </view> |
| 83 | + | ||
| 83 | <view wx:if="{{order.exp_type==2}}">同城配送</view> | 84 | <view wx:if="{{order.exp_type==2}}">同城配送</view> |
| 84 | - <view wx:else>{{(order.shipping_name!=''&& order.shipping_name!=null) ?"物流("+order.shipping_name+')':'自提'}}</view> | 85 | + <view wx:elif="{{order.exp_type==1}}">自提</view> |
| 86 | + <view wx:else>物流({{order.shipping_name}})</view> | ||
| 85 | </view> | 87 | </view> |
| 86 | <view class="item"> | 88 | <view class="item"> |
| 87 | <view>买家留言</view> | 89 | <view>买家留言</view> |