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 | 68 | <view wx:if="{{order.pt_status<4 && order.is_zsorder==4}}"> |
| 69 | 69 | -- |
| 70 | 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 | 75 | </view> |
| 73 | 76 | <view class="item"> |
| 74 | 77 | <view>买家留言</view> | ... | ... |
pages/user/order_detail/order_detail.wxml
| ... | ... | @@ -79,9 +79,11 @@ |
| 79 | 79 | <view>配送方式</view> |
| 80 | 80 | <view wx:if="{{order.pt_status<4 && order.is_zsorder==4}}"> |
| 81 | 81 | -- |
| 82 | - </view> | |
| 82 | + </view> | |
| 83 | + | |
| 83 | 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 | 87 | </view> |
| 86 | 88 | <view class="item"> |
| 87 | 89 | <view>买家留言</view> | ... | ... |