Commit b7ff23ec961cc84e1d89768791936b4a96cd85b5
1 parent
737356ca
小程序客服的管理控制
Showing
2 changed files
with
6 additions
and
4 deletions
pages/goods/goodsInfo/goodsInfo.js
pages/goods/goodsInfo/goodsInfo.wxml
... | ... | @@ -734,13 +734,14 @@ |
734 | 734 | <!-------------------底部按钮--------------------> |
735 | 735 | <view class="join-cart"> |
736 | 736 | <!-- bindtap="contactService" --> |
737 | - <button class="custom-service cart-ico new_split" open-type="contact" session-from="wechat|{{userInfo.user_id}}|{{userInfo.nickname}}|{{userInfo.head_pic}}"> | |
737 | + <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}}"> | |
738 | 738 | <image class="cs-img" src="{{iurl}}/miniapp/images/custom-service.png"></image> |
739 | 739 | <view>客服</view> |
740 | 740 | </button> |
741 | - | |
742 | - | |
743 | - | |
741 | + <view wx:else class="custom-service cart-ico new_split" bindtap="contactService"> | |
742 | + <image class="cs-img" src="{{iurl}}/miniapp/images/custom-service.png"></image> | |
743 | + <view>客服</view> | |
744 | + </view> | |
744 | 745 | |
745 | 746 | <view bindtap="collectGoods" class="custom-service cart-ico new_split"> |
746 | 747 | <image hidden="{{is_collect}}" class="cs-img" src="{{iurl}}/miniapp/images/heart.png"></image> | ... | ... |