Commit 8c57f795 by 李嘉林

登录优化

parent 7e66e689
...@@ -638,7 +638,15 @@ export default { ...@@ -638,7 +638,15 @@ export default {
} }
} else { } else {
//不是会员需要绑定手机号 //不是会员需要绑定手机号
this.isShowPhone = true; wx.showModal({
title: '绑定提示',
content: '为保障账户安全,请绑定手机号',
confirmText: '去绑定',
cancelText: '稍后再说',
success: (res) => {
if (res.confirm) this.isShowPhone = true; // 用户主动选择
}
});
wx.hideLoading() wx.hideLoading()
} }
} }
...@@ -650,7 +658,15 @@ export default { ...@@ -650,7 +658,15 @@ export default {
} else { } else {
wx.hideLoading(); wx.hideLoading();
//不是会员需要绑定手机号 //不是会员需要绑定手机号
this.isShowPhone = true; wx.showModal({
title: '绑定提示',
content: '为保障账户安全,请绑定手机号',
confirmText: '去绑定',
cancelText: '稍后再说',
success: (res) => {
if (res.confirm) this.isShowPhone = true; // 用户主动选择
}
});
wx.hideLoading() wx.hideLoading()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment