mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 20:03:26 +08:00
【优化】根据最新的隐私政策,调整弹窗获取手机号码授权界面样式,默认不勾选同意的情况下,获取授权按钮调整为灰色,并且增加用户取消授权的提醒。
This commit is contained in:
@@ -105,7 +105,7 @@
|
||||
data() {
|
||||
return {
|
||||
agreement: false,
|
||||
isDisabled: false,
|
||||
isDisabled: true,
|
||||
maxMobile: 11,
|
||||
mobile: '', // 用户手机号
|
||||
code: '', // 短信验证码
|
||||
@@ -461,10 +461,16 @@
|
||||
data.invitecode = invitecode
|
||||
}
|
||||
_this.toGetPhoneNumber(data);
|
||||
} else {
|
||||
} else if (e.mp.detail.errMsg == 'getPhoneNumber:fail user deny') {
|
||||
_this.$u.toast('您已经取消了授权,将无法进行关键业务功能。');
|
||||
}
|
||||
else {
|
||||
_this.$u.toast('如未授权,您可尝试使用手机号+短信验证码登录');
|
||||
}
|
||||
_this.agreement = false;
|
||||
_this.isDisabled = true;
|
||||
_this.showLogin = false;
|
||||
console.log(e.mp.detail.errMsg);
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user