授权时,暂不授权可点击

master
chen 2022-03-22 11:11:43 +08:00
parent 826c9bf12e
commit 65b8aaa372
1 changed files with 16 additions and 1 deletions

View File

@ -22,7 +22,7 @@
<view class="bacf radius20 width100 tank-box">
<view class="tc tank-box-itemone">请授权绑定手机号</view>
<view class="fon28 colf pad-sx30 pad-zy30 tc disjb">
<view class="pad-sx10 radius10 tank-btn" style="background-color: rgba(230, 230, 230,1);color: #000000;">暂不绑定</view>
<view @tap="nobind" class="pad-sx10 radius10 tank-btn" style="background-color: rgba(230, 230, 230,1);color: #000000;">暂不绑定</view>
<view :style="{background:publicColor}" class="pad-sx10 radius10 tank-btn posir">
立即绑定
<button open-type="getPhoneNumber" @getphonenumber="getphonenumber" class="posia syxzo">立即绑定</button>
@ -64,6 +64,21 @@
}
},
methods: {
//
nobind(){
this.isShowP = false;
let newUrl = uni.getStorageSync('transientUrl');
//
if(newUrl){
uni.reLaunch({
url:newUrl
})
} else {
uni.navigateTo({
url:'/pages/tabbar/pagehome/pagehome'
})
}
},
refuse(){//
this.isShowP=false;
this.$toolAll.tools.showToast('登录成功','success')