Commit b47cfd3514af3358daa57226d596123fc1bd478c

Authored by WXD-SEASON\season
1 parent 1e2dc16a

119891OA单开发

@@ -989,7 +989,14 @@ App({ @@ -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,7 +5,7 @@
5 <text class="iconfont icon-guan" bindtap="closeCS"></text> 5 <text class="iconfont icon-guan" bindtap="closeCS"></text>
6 </view> 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 <text class="iconfont icon-dianhua"></text>客服热线: 9 <text class="iconfont icon-dianhua"></text>客服热线:
10 <text class="c-red">{{store_tel}}</text> 10 <text class="c-red">{{store_tel}}</text>
11 </view> 11 </view>
packageA/pages/goodsInfo/goodsInfo.wxml
@@ -958,7 +958,7 @@ @@ -958,7 +958,7 @@
958 <text class="iconfont icon-guan" bindtap="closeCS"></text> 958 <text class="iconfont icon-guan" bindtap="closeCS"></text>
959 </view> 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 <text class="iconfont icon-dianhua"></text>客服热线: 962 <text class="iconfont icon-dianhua"></text>客服热线:
963 <text class="c-red">{{store_tel}}</text> 963 <text class="c-red">{{store_tel}}</text>
964 </view> 964 </view>
packageA/pages/serviceCard_pd/goodsInfo/goodsInfo.wxml
@@ -926,7 +926,7 @@ @@ -926,7 +926,7 @@
926 <text class="iconfont icon-guan" bindtap="closeCS"></text> 926 <text class="iconfont icon-guan" bindtap="closeCS"></text>
927 </view> 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 <text class="iconfont icon-dianhua"></text>客服热线: 930 <text class="iconfont icon-dianhua"></text>客服热线:
931 <text class="c-red">{{store_tel}}</text> 931 <text class="c-red">{{store_tel}}</text>
932 </view> 932 </view>