提交 12fe0c29 编写于 作者: study夏羽's avatar study夏羽

pages分包调整/兼容vue2/3一键登录隐私协议框是否打勾

上级 31b1cb91
...@@ -116,73 +116,73 @@ ...@@ -116,73 +116,73 @@
}] }]
}, },
{ {
"root": "uni_modules/uni-id-pages", "root": "uni_modules/uni-id-pages/pages",
"pages": [{ "pages": [{
"path": "pages/userinfo/userinfo", "path": "userinfo/userinfo",
"style": { "style": {
"navigationBarTitleText": "个人资料" "navigationBarTitleText": "个人资料"
} }
}, },
{ {
"path": "pages/login/login-withoutpwd" "path": "login/login-withoutpwd"
}, },
{ {
"path": "pages/login/login-withpwd" "path": "login/login-withpwd"
}, },
{ {
"path": "pages/userinfo/deactivate/deactivate", "path": "userinfo/deactivate/deactivate",
"style": { "style": {
"navigationBarTitleText": "注销账号" "navigationBarTitleText": "注销账号"
} }
}, },
{ {
"path": "pages/userinfo/bind-mobile/bind-mobile", "path": "userinfo/bind-mobile/bind-mobile",
"style": { "style": {
"navigationBarTitleText": "绑定手机号码" "navigationBarTitleText": "绑定手机号码"
} }
}, },
{ {
"path": "pages/login/login-smscode", "path": "login/login-smscode",
"style": { "style": {
"navigationBarTitleText": "手机验证码登录" "navigationBarTitleText": "手机验证码登录"
} }
}, },
{ {
"path": "pages/register/register", "path": "register/register",
"style": { "style": {
"navigationBarTitleText": "注册" "navigationBarTitleText": "注册"
} }
}, },
{ {
"path": "pages/retrieve/retrieve", "path": "retrieve/retrieve",
"style": { "style": {
"navigationBarTitleText": "重置密码" "navigationBarTitleText": "重置密码"
} }
}, { }, {
"path": "pages/common/webview/webview", "path": "common/webview/webview",
"style": { "style": {
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationBarTitleText": "" "navigationBarTitleText": ""
} }
}, { }, {
"path": "pages/userinfo/change_pwd/change_pwd", "path": "userinfo/change_pwd/change_pwd",
"style": { "style": {
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationBarTitleText": "修改密码" "navigationBarTitleText": "修改密码"
} }
}, { }, {
"path": "pages/register/register-by-email", "path": "register/register-by-email",
"style": { "style": {
"navigationBarTitleText": "邮箱验证码注册" "navigationBarTitleText": "邮箱验证码注册"
} }
}, { }, {
"path": "pages/retrieve/retrieve-by-email", "path": "retrieve/retrieve-by-email",
"style": { "style": {
"navigationBarTitleText": "通过邮箱重置密码" "navigationBarTitleText": "通过邮箱重置密码"
} }
}, },
{ {
"path": "pages/userinfo/set-pwd/set-pwd", "path": "userinfo/set-pwd/set-pwd",
"style": { "style": {
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationBarTitleText": "设置密码" "navigationBarTitleText": "设置密码"
...@@ -191,10 +191,10 @@ ...@@ -191,10 +191,10 @@
// #ifdef H5 // #ifdef H5
, ,
{ {
"path": "pages/userinfo/cropImage/cropImage" "path": "userinfo/cropImage/cropImage"
}, },
{ {
"path": "pages/register/register-admin", "path": "register/register-admin",
"style": { "style": {
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationBarTitleText": "注册管理员账号" "navigationBarTitleText": "注册管理员账号"
......
...@@ -330,8 +330,16 @@ ...@@ -330,8 +330,16 @@
let onButtonsClickFn = async res => { let onButtonsClickFn = async res => {
console.log('点击了第三方登录,provider:', res, res.provider, this.univerifyStyle.buttons.list); console.log('点击了第三方登录,provider:', res, res.provider, this.univerifyStyle.buttons.list);
clickAnotherButtons = true clickAnotherButtons = true
let checkBoxState = await uni.getCheckBoxState();
// 同步一键登录弹出层隐私协议框是否打勾 // 同步一键登录弹出层隐私协议框是否打勾
let agree = (await uni.getCheckBoxState())[1].state // #ifdef VUE2
let agree = checkBoxState[1].state
// #endif
// #ifdef VUE3
let agree = checkBoxState.state
// #endif
this.agree = agree this.agree = agree
let { let {
path path
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册