Commit b47cfd3514af3358daa57226d596123fc1bd478c

Authored by WXD-SEASON\season
1 parent 1e2dc16a

119891OA单开发

... ... @@ -989,7 +989,14 @@ App({
989 989 };
990 990 },
991 991 });
992   - };
  992 + }
  993 + else{
  994 + wx.showModal({
  995 + content: '商家未设置客服热线',
  996 + showCancel: 0,
  997 +
  998 + });
  999 + }
993 1000 });
994 1001 },
995 1002  
... ...
components/com_servicer/com_servicer.wxml
... ... @@ -5,7 +5,7 @@
5 5 <text class="iconfont icon-guan" bindtap="closeCS"></text>
6 6 </view>
7 7 <!-- 客服热线 -->
8   - <view class="pd20 bdt fs30 btn2" bindtap="contactService">
  8 + <view class="pd20 bdt fs30 btn2" bindtap="contactService" wx:if="{{store_tel}}">
9 9 <text class="iconfont icon-dianhua"></text>客服热线:
10 10 <text class="c-red">{{store_tel}}</text>
11 11 </view>
... ...
packageA/pages/goodsInfo/goodsInfo.wxml
... ... @@ -958,7 +958,7 @@
958 958 <text class="iconfont icon-guan" bindtap="closeCS"></text>
959 959 </view>
960 960 <!-- 客服热线 -->
961   - <view class="pd20 bdt fs30 btn2" bindtap="contactService">
  961 + <view class="pd20 bdt fs30 btn2" bindtap="contactService" wx:if="{{store_tel}}">
962 962 <text class="iconfont icon-dianhua"></text>客服热线:
963 963 <text class="c-red">{{store_tel}}</text>
964 964 </view>
... ...
packageA/pages/serviceCard_pd/goodsInfo/goodsInfo.wxml
... ... @@ -926,7 +926,7 @@
926 926 <text class="iconfont icon-guan" bindtap="closeCS"></text>
927 927 </view>
928 928 <!-- 客服热线 -->
929   - <view class="pd20 bdt fs30 btn2" bindtap="contactService">
  929 + <view class="pd20 bdt fs30 btn2" bindtap="contactService" wx:if="{{store_tel}}">
930 930 <text class="iconfont icon-dianhua"></text>客服热线:
931 931 <text class="c-red">{{store_tel}}</text>
932 932 </view>
... ...