shish преди 1 година
родител
ревизия
dbe1500363
променени са 1 файла, в които са добавени 4 реда и са изтрити 11 реда
  1. 4 11
      ghsApp/src/admin/home/me.vue

+ 4 - 11
ghsApp/src/admin/home/me.vue

@@ -45,8 +45,8 @@
               <view>
                 账户余额(元)
                 <text style="float:right;font-size:28upx;" @click.stop="suggest()">联系客服</text>
-                <text style="float:right;margin-right:20upx;font-size:28upx;" @click.stop="callFast(2)">紧急电话2</text>
-                <text style="float:right;margin-right:20upx;font-size:28upx;font-weight:bold;" @click.stop="callFast(1)">紧急电话</text>
+                <text style="float:right;margin-right:25upx;font-size:28upx;" @click.stop="callFast(2)">紧急电话2</text>
+                <text style="float:right;margin-right:25upx;font-size:28upx;font-weight:bold;" @click.stop="callFast(1)">紧急电话</text>
               </view>
               <view> <text>¥ </text> {{ myInfo.balance||0 }} </view>
               <view>
@@ -304,15 +304,8 @@ export default {
 			uni.makePhoneCall({ phoneNumber: phone })
     },
     suggest(){
-      let that = this
-      that.$util.confirmModal({content:'请添加客服微信',okText:'复制微信'},() => {
-        uni.setClipboardData({
-          data: '15280215347',
-          success: function() {
-            that.$msg("复制成功")
-          }
-        })
-			})
+      let phone = this.myInfo.fast2 ? this.myInfo.fast2 : ''
+      uni.makePhoneCall({ phoneNumber: phone })
     },
     inAmountFn(){
       this.inAmountShow = true