Compare commits
No commits in common. "191e61109f5461b2cc64efcb5474a5f5a3f10bc7" and "f7a6e8b75826a2c63300adcfb2e51936a6e46b98" have entirely different histories.
191e61109f
...
f7a6e8b758
|
@ -239,11 +239,6 @@
|
||||||
<image src="../../static/index/function4.png"></image>
|
<image src="../../static/index/function4.png"></image>
|
||||||
<view class="box_text">视频圈</view>
|
<view class="box_text">视频圈</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="box" v-if="renzheng == 2" @click="bindPhone()">
|
|
||||||
<!-- //AxN必须实名 -->
|
|
||||||
<image src="../../static/index/function4.png"></image>
|
|
||||||
<view class="box_text">虚拟电话</view>
|
|
||||||
</view>
|
|
||||||
<!-- <view class="box" v-if="renzheng == 0 && XCXIsSelect != '否'" @click="goNav('/my/renzheng/rzType')">
|
<!-- <view class="box" v-if="renzheng == 0 && XCXIsSelect != '否'" @click="goNav('/my/renzheng/rzType')">
|
||||||
<image src="../../static/images/my/renzheng.png"></image>
|
<image src="../../static/images/my/renzheng.png"></image>
|
||||||
<view class="box_text">实名认证</view>
|
<view class="box_text">实名认证</view>
|
||||||
|
@ -506,39 +501,6 @@
|
||||||
this.currentEndDate = "";
|
this.currentEndDate = "";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//绑定虚拟号
|
|
||||||
bindPhone(){
|
|
||||||
console.log('手机号是:',this.phone);
|
|
||||||
//调试时先写个假的
|
|
||||||
//this.phone = '13080011344'
|
|
||||||
this.$Request.get('/app/user/insertVirtualPhoneAxN?phone=' + this.phone).then(res => {
|
|
||||||
console.log('返回的全部数据:',res);
|
|
||||||
if (res.code == 0) {
|
|
||||||
console.log('返回数据是:',res.data);
|
|
||||||
let middleNumber = res.data.middleNumber;
|
|
||||||
console.log('虚拟号是:',middleNumber);
|
|
||||||
if(res.data.result === '000000'){
|
|
||||||
//弹出提示框,告知号码
|
|
||||||
uni.showModal({
|
|
||||||
title: '提示',
|
|
||||||
content: '绑定号码为:' + middleNumber + ",是否拨打该电话?",
|
|
||||||
success: function(res) {
|
|
||||||
if (res.confirm) {
|
|
||||||
//直接拨打号码(拨打到打电话页(未点击拨号))
|
|
||||||
uni.makePhoneCall({
|
|
||||||
phoneNumber: middleNumber,
|
|
||||||
})
|
|
||||||
} else if (res.cancel) {
|
|
||||||
console.log('用户点击取消');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.$queue.showToast('绑定虚拟号错误!');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
getJqqd() {
|
getJqqd() {
|
||||||
this.$queue.showToast('敬请期待!')
|
this.$queue.showToast('敬请期待!')
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue