Commit 9fd07d315426bd26efc3a9903db5b3d812d07226

Authored by yvan.ni
1 parent c6b81e2d

商品详情页面 如果是距离的时候,距离的线上优化

packageA/pages/serviceCard_pd/goodsInfo/goodsInfo.wxml
@@ -667,7 +667,7 @@ @@ -667,7 +667,7 @@
667 </block> 667 </block>
668 <view class="address-frame xc-ash"> 668 <view class="address-frame xc-ash">
669 <view class="flex-vertical-between butttem5"> 669 <view class="flex-vertical-between butttem5">
670 - <view class="flex xc-ash" style="flex-shrink:0;max-width: 69%;" > 670 + <view class="flex xc-ash" style="flex-shrink:0;max-width: 62%;" >
671 <view class="fs30 xc-black3 address_name">{{item.pickup_name}} 671 <view class="fs30 xc-black3 address_name">{{item.pickup_name}}
672 <block wx:if="{{tool.is_no_dis(sele_g.storageId,item.keyid)}}"> 672 <block wx:if="{{tool.is_no_dis(sele_g.storageId,item.keyid)}}">
673 <text class="no_store">(配送不匹配)</text> 673 <text class="no_store">(配送不匹配)</text>
packageC/pages/luckyGo/luckyGo_goodsInfo/buy_pt.wxml
@@ -48,8 +48,8 @@ @@ -48,8 +48,8 @@
48 <view style="margin-top: 20rpx"> 48 <view style="margin-top: 20rpx">
49 <view class="flex-space-between address ai_end xc-width "> 49 <view class="flex-space-between address ai_end xc-width ">
50 50
51 - <view class="flex ai_end" wx:if="{{def_pick_store && def_pick_store.pickup_name}}">  
52 - <text class="fs30 xc-black3 shop_name">{{def_pick_store.pickup_name}}</text> 51 + <view class="flex" wx:if="{{def_pick_store && def_pick_store.pickup_name}}">
  52 + <text class="fs30 xc-black3 shop_name {{def_pick_store.distance!=null?'max':''}} ">{{def_pick_store.pickup_name}}</text>
53 53
54 54
55 <view class="distance fs24 xc-ash"wx:if="{{def_pick_store.distance!=null}}"> 55 <view class="distance fs24 xc-ash"wx:if="{{def_pick_store.distance!=null}}">
packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.wxml
@@ -1354,7 +1354,7 @@ @@ -1354,7 +1354,7 @@
1354 </block> 1354 </block>
1355 <view class="address-frame xc-ash"> 1355 <view class="address-frame xc-ash">
1356 <view class="flex-vertical-between butttem5"> 1356 <view class="flex-vertical-between butttem5">
1357 - <view class="flex xc-ash"> 1357 + <view class="flex xc-ash" style="flex-shrink:0;max-width: 62%;">
1358 <view class="fs30 xc-black3 address_name">{{item.pickup_name}}</view> 1358 <view class="fs30 xc-black3 address_name">{{item.pickup_name}}</view>
1359 </view> 1359 </view>
1360 <view> 1360 <view>
packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.wxss
@@ -3116,3 +3116,7 @@ button.custom-service::after{ @@ -3116,3 +3116,7 @@ button.custom-service::after{
3116 overflow-y: auto; 3116 overflow-y: auto;
3117 } 3117 }
3118 3118
  3119 +.shop_name.max{
  3120 + max-width:370rpx; flex-shrink: 0;
  3121 +}
  3122 +