Răsfoiți Sursa

联系客服

shish 3 ani în urmă
părinte
comite
5ed195439a
2 a modificat fișierele cu 24 adăugiri și 2 ștergeri
  1. 12 1
      ghsApp/src/admin/home/me.vue
  2. 12 1
      hdApp/src/admin/home/me.vue

+ 12 - 1
ghsApp/src/admin/home/me.vue

@@ -36,7 +36,7 @@
         <template v-if="(getLoginInfo.staff && getLoginInfo.staff.super && getLoginInfo.staff.super == 1) || (getLoginInfo.staff && getLoginInfo.staff.lookStat && getLoginInfo.staff.lookStat ==1)">
           <view class="account-info_box content_box">
             <view class="info-lf_box">
-              <view> 账户余额(元) </view>
+              <view> 账户余额(元) <text style="float:right;margin-right:15upx;font-size:28upx;" @click.stop="suggest()">联系客服</text></view>
               <view> <text>¥ </text> {{ shopInfo.balance||0 }} </view>
               <view>
                 可提现 ¥ {{ shopInfo.txBalance||0 }}
@@ -222,6 +222,17 @@ export default {
     // #endif
   },
   methods: {
+    suggest(){
+      let that = this
+      that.$util.confirmModal({content:'请添加客服微信:15280215347',okText:'复制'},() => {
+        uni.setClipboardData({
+          data: '15280215347',
+          success: function() {
+            that.$msg("复制成功")
+          }
+        })
+			})
+    },
     inAmountFn(){
       this.inAmountShow = true
 			setTimeout(x => {

+ 12 - 1
hdApp/src/admin/home/me.vue

@@ -35,7 +35,7 @@
         <template v-if="(getLoginInfo.staff && getLoginInfo.staff.super && getLoginInfo.staff.super == 1) || (getLoginInfo.staff && getLoginInfo.staff.lookStat && getLoginInfo.staff.lookStat ==1)">
         <view class="account-info_box content_box">
           <view class="info-lf_box">
-            <view> 账户余额(元) </view>
+            <view> 账户余额(元) <text style="float:right;margin-right:15upx;font-size:28upx;" @click.stop="suggest()">联系客服</text></view>
             <view> <text>¥ </text> {{ shopInfo.balance||0 }} </view>
             <view> 可提现 ¥ {{ shopInfo.txBalance||0 }}
             <text class="to-cash" @click="pageTo({ url: '/pagesStore/me/shopYeChange' })">变动明细</text>
@@ -170,6 +170,17 @@ export default {
     // #endif
   },
   methods: {
+  suggest(){
+      let that = this
+      that.$util.confirmModal({content:'请添加客服微信:15280215347',okText:'复制'},() => {
+        uni.setClipboardData({
+          data: '15280215347',
+          success: function() {
+            that.$msg("复制成功")
+          }
+        })
+			})
+    },
 		goToService(){
 			plus.runtime.openURL('http://www.wixhb.com/main/hzg-register')
 		},