Commit 8ed2b4389110486c074a8c3218ea1c4fc4a79d70
1 parent
6a5af45f
地址的显示
Showing
1 changed file
with
2 additions
and
2 deletions
pages/goods/goodsInfo/buy_pt.wxml
@@ -47,7 +47,7 @@ | @@ -47,7 +47,7 @@ | ||
47 | <view style="margin-top: 20rpx"> | 47 | <view style="margin-top: 20rpx"> |
48 | <view class="flex-space-between address ai_end xc-width "> | 48 | <view class="flex-space-between address ai_end xc-width "> |
49 | 49 | ||
50 | - <view class="flex ai_end" wx:if="{{def_pick_store}}"> | 50 | + <view class="flex ai_end" wx:if="{{def_pick_store && def_pick_store.pickup_name}}"> |
51 | <text class="fs30 xc-black3 shop_name">{{def_pick_store.pickup_name}}</text> | 51 | <text class="fs30 xc-black3 shop_name">{{def_pick_store.pickup_name}}</text> |
52 | 52 | ||
53 | 53 | ||
@@ -70,7 +70,7 @@ | @@ -70,7 +70,7 @@ | ||
70 | </view> | 70 | </view> |
71 | <view class="no_store" wx:if="{{def_pick_store.is_no_dis}}">(配送不匹配)</view> | 71 | <view class="no_store" wx:if="{{def_pick_store.is_no_dis}}">(配送不匹配)</view> |
72 | <view class="no_store" wx:elif="{{is_normal && def_pick_store && def_pick_store.CanOutQty<=0}}">(库存不足)</view> | 72 | <view class="no_store" wx:elif="{{is_normal && def_pick_store && def_pick_store.CanOutQty<=0}}">(库存不足)</view> |
73 | - <view class="fs24 xc-ash-9f xc-distance-top "wx:if="{{def_pick_store}}">地址:{{def_pick_store.fulladdress}}</view> | 73 | + <view class="fs24 xc-ash-9f xc-distance-top "wx:if="{{def_pick_store && def_pick_store.pickup_name}}">地址:{{def_pick_store.fulladdress}}</view> |
74 | </view> | 74 | </view> |
75 | <!----商品的属性项目----> | 75 | <!----商品的属性项目----> |
76 | <view> | 76 | <view> |