shish 7 сар өмнө
parent
commit
d7731c5563

+ 15 - 12
hdApp/src/pagesPurchase/contact.vue

@@ -22,10 +22,13 @@
     <view style="font-size:38upx;margin-top:40upx;font-weight:bold;">
     后面有了我们会在系统里面公告。现在我们服务批发店就已经太多,公司客服人员不足,服务不过来,暂时没办法给你提供服务,请谅解。
     </view>
-    <view style="font-size:40upx;margin-top:40upx;font-weight:bold;color: red;margin-bottom:80upx;">
-    城市批发店,如需要使用商城和系统,请联系我们,微信:15280215347<text @click="suggest" style="color:#3385ff;margin-left:10upx;">点击复制</text>。斗南批发商请勿加微信,系统做不起来,不要浪费时间浪费钱,请勿扰!勿扰!
+    <view style="font-size:40upx;margin-top:40upx;font-weight:bold;color: red;">
+    零售想做批发的 和 斗南批发商,请不要联系我们,系统做不起来,不要浪费时间浪费钱,请勿扰!勿扰!打电话过来就挨骂。
     </view>
-
+    <view style="font-size:40upx;margin-top:30upx;font-weight:bold;color: red;margin-bottom:10upx;">
+    城市批发店,如需要申请使用商城和系统,请电话联系我们:15280215347
+    </view>
+    <view @click="suggest" style="color:#3385ff;text-align:center;font-size:40upx;margin-bottom:60upx;margin-top:20upx;">拨打电话</view>
   </view>
 </template>
 <script>
@@ -39,15 +42,15 @@ export default {
     init(){
     },
     suggest(){
-      let that = this
-      that.$util.confirmModal({content:'号码:15280215347',okText:'复制号码'},() => {
-        uni.setClipboardData({
-          data: '15280215347',
-          success: function() {
-            that.$msg("复制成功")
-          }
-        })
-			})
+      uni.makePhoneCall({
+        phoneNumber: '15280215347',
+        success: () => {
+          this.$msg("准备拨打电话")
+        },
+        fail: (err) => {
+          this.$msg("拨打失败,请稍后重试")
+        }
+      })
     },
   }
 };