Commit a57acbfe7cd4071fc20f489e16a4fd4c2a06cb69
1 parent
a84115ad
服务卡项的问题的修复
Showing
3 changed files
with
7 additions
and
6 deletions
components/nav_box/nav_box.wxss
packageA/pages/cart2_ser/cart2_ser.js
@@ -415,12 +415,12 @@ Page({ | @@ -415,12 +415,12 @@ Page({ | ||
415 | } | 415 | } |
416 | } | 416 | } |
417 | }else{ | 417 | }else{ |
418 | + var gg = getApp().globalData.service_now; | ||
418 | if(!gg.pick_id){ | 419 | if(!gg.pick_id){ |
419 | getApp().showWarning("未找到门店"); | 420 | getApp().showWarning("未找到门店"); |
420 | return false; | 421 | return false; |
421 | } | 422 | } |
422 | 423 | ||
423 | - var gg = getApp().globalData.service_now; | ||
424 | var goods={ | 424 | var goods={ |
425 | 'card_id': th.data.bn_goods.id, | 425 | 'card_id': th.data.bn_goods.id, |
426 | 'itemid': th.data.bn_goods.erpItemID, | 426 | 'itemid': th.data.bn_goods.erpItemID, |
packageA/pages/goodsInfo/goodsInfo.wxml
@@ -158,19 +158,19 @@ | @@ -158,19 +158,19 @@ | ||
158 | 158 | ||
159 | <!-- 底部按钮 --> | 159 | <!-- 底部按钮 --> |
160 | <view class="join-cart jc_sb"> | 160 | <view class="join-cart jc_sb"> |
161 | - <!-- bindtap="contactService" --> | 161 | + |
162 | <view class="flex"> | 162 | <view class="flex"> |
163 | - <button wx:if="{{sys_switch.weapp_customertype}}" class="custom-service cart-ico new_split" open-type="contact" session-from="wechat|{{userInfo.user_id}}|{{userInfo.nickname}}|{{userInfo.head_pic}}"> | 163 | + <button wx:if="{{sys_switch.weapp_customertype}}" class="custom-service cart-ico new_split f1" open-type="contact" session-from="wechat|{{userInfo.user_id}}|{{userInfo.nickname}}|{{userInfo.head_pic}}" style="text-align: center"> |
164 | <image class="cs-img" src="{{iurl}}/miniapp/images/custom-service.png"></image> | 164 | <image class="cs-img" src="{{iurl}}/miniapp/images/custom-service.png"></image> |
165 | <view>客服</view> | 165 | <view>客服</view> |
166 | </button> | 166 | </button> |
167 | - <view wx:else class="custom-service cart-ico new_split" bindtap="contactService"> | 167 | + <view wx:else class="custom-service cart-ico new_split f1" bindtap="contactService" style="text-align: center"> |
168 | <image class="cs-img" src="{{iurl}}/miniapp/images/custom-service.png"></image> | 168 | <image class="cs-img" src="{{iurl}}/miniapp/images/custom-service.png"></image> |
169 | <view>客服</view> | 169 | <view>客服</view> |
170 | </view> | 170 | </view> |
171 | 171 | ||
172 | - <view class="shopping-cart cart-ico new_split"> | ||
173 | - <navigator open-type="switchTab" url="/pages/cart/cart/cart"> | 172 | + <view class="shopping-cart cart-ico new_split f1"> |
173 | + <navigator open-type="switchTab" url="/pages/cart/cart/cart" style="text-align: center"> | ||
174 | <image class="sc-img" src="{{iurl}}/miniapp/images/shopping-cart.png"></image> | 174 | <image class="sc-img" src="{{iurl}}/miniapp/images/shopping-cart.png"></image> |
175 | <view class="cart-num ellipsis-1"> {{cartGoodsNum}} </view> | 175 | <view class="cart-num ellipsis-1"> {{cartGoodsNum}} </view> |
176 | <view>购物车</view> | 176 | <view>购物车</view> |