Commit 5b987e7ed0698c6595edc2fa7fa0ed12b53274d9
1 parent
96f81131
服务卡购买的未选门店的bug就能提交的修复
Showing
2 changed files
with
6 additions
and
4 deletions
packageA/pages/goodsInfo/goodsInfo.wxml
@@ -208,7 +208,7 @@ | @@ -208,7 +208,7 @@ | ||
208 | </view> | 208 | </view> |
209 | 209 | ||
210 | <!-- 选择门店模块 --> | 210 | <!-- 选择门店模块 --> |
211 | - <view class="flex-space-between address ai_end xc-width" style="margin-top: 30rpx;"> | 211 | + <view class="flex-space-between address ai_end xc-width" style="padding-top: 30rpx;"> |
212 | <view class="flex ai_end" wx:if="{{def_pick_store && def_pick_store.pickup_name}}"> | 212 | <view class="flex ai_end" wx:if="{{def_pick_store && def_pick_store.pickup_name}}"> |
213 | <text class="fs30 xc-black3 shop_name">{{def_pick_store.pickup_name}}</text> | 213 | <text class="fs30 xc-black3 shop_name">{{def_pick_store.pickup_name}}</text> |
214 | <view class="distance fs24 xc-ash"wx:if="{{def_pick_store.distance!=null}}"> | 214 | <view class="distance fs24 xc-ash"wx:if="{{def_pick_store.distance!=null}}"> |
@@ -298,9 +298,9 @@ | @@ -298,9 +298,9 @@ | ||
298 | </block> | 298 | </block> |
299 | <block wx:else> | 299 | <block wx:else> |
300 | <view wx:if="{{openSpecModal_ind==1}}" bindtap="addCart"data-openSpecModal_ind="{{openSpecModal_ind}}" | 300 | <view wx:if="{{openSpecModal_ind==1}}" bindtap="addCart"data-openSpecModal_ind="{{openSpecModal_ind}}" |
301 | - class="spec-cart-btn yellow fs32" data-action="add">加入购物车</view> | 301 | + class="spec-cart-btn yellow fs32 {{!sto_sele_name?'gray':''}}" data-action="add">加入购物车</view> |
302 | <view wx:if="{{openSpecModal_ind==2}}" bindtap="addCart"data-openSpecModal_ind="{{openSpecModal_ind}}" | 302 | <view wx:if="{{openSpecModal_ind==2}}" bindtap="addCart"data-openSpecModal_ind="{{openSpecModal_ind}}" |
303 | - class="spec-cart-btn spec-buy" data-action="buy"> | 303 | + class="spec-cart-btn spec-buy {{!sto_sele_name?'gray':''}}" data-action="buy"> |
304 | {{sele_g.offline_price?"券后购买":"立即购买"}} | 304 | {{sele_g.offline_price?"券后购买":"立即购买"}} |
305 | </view> | 305 | </view> |
306 | </block> | 306 | </block> |
packageA/pages/goodsInfo/goodsInfo.wxss
@@ -2842,4 +2842,6 @@ button.custom-service::after{ | @@ -2842,4 +2842,6 @@ button.custom-service::after{ | ||
2842 | 2842 | ||
2843 | .stock { | 2843 | .stock { |
2844 | flex: 1; | 2844 | flex: 1; |
2845 | -} | ||
2846 | \ No newline at end of file | 2845 | \ No newline at end of file |
2846 | +} | ||
2847 | + | ||
2848 | +.gray{ background-color: #dcdcdc !important;} | ||
2847 | \ No newline at end of file | 2849 | \ No newline at end of file |