|
|
@@ -42,7 +42,12 @@
|
|
|
<template v-if="lookMoney == 1">
|
|
|
<view class="account-info_box content_box">
|
|
|
<view class="info-lf_box">
|
|
|
- <view> 账户余额(元) <text style="float:right;margin-right:15upx;font-size:28upx;" @click.stop="suggest()">联系客服</text></view>
|
|
|
+ <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>
|
|
|
+ </view>
|
|
|
<view> <text>¥ </text> {{ myInfo.balance||0 }} </view>
|
|
|
<view>
|
|
|
可提现 ¥ {{ myInfo.txBalance||0 }}
|
|
|
@@ -287,6 +292,17 @@ export default {
|
|
|
closeAccount(){
|
|
|
this.$util.pageTo({ url: '/admin/home/close' })
|
|
|
},
|
|
|
+ callFast(num){
|
|
|
+ let phone = this.myInfo.fast1 ? this.myInfo.fast1 : ''
|
|
|
+ if(num == 2){
|
|
|
+ phone = this.myInfo.fast2?this.myInfo.fast2:''
|
|
|
+ }
|
|
|
+ if(phone ==''){
|
|
|
+ this.$msg('没有手机号')
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ uni.makePhoneCall({ phoneNumber: phone })
|
|
|
+ },
|
|
|
suggest(){
|
|
|
let that = this
|
|
|
that.$util.confirmModal({content:'请添加客服微信',okText:'复制微信'},() => {
|