Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
言程序plus
uni-starter
提交
12fe0c29
U
uni-starter
项目概览
言程序plus
/
uni-starter
与 Fork 源项目一致
Fork自
DCloud / uni-starter
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-starter
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
12fe0c29
编写于
2月 02, 2023
作者:
study夏羽
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
pages分包调整/兼容vue2/3一键登录隐私协议框是否打勾
上级
31b1cb91
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
25 addition
and
17 deletion
+25
-17
pages.json
pages.json
+16
-16
uni_modules/uni-id-pages/components/uni-id-pages-fab-login/uni-id-pages-fab-login.vue
...ponents/uni-id-pages-fab-login/uni-id-pages-fab-login.vue
+9
-1
未找到文件。
pages.json
浏览文件 @
12fe0c29
...
@@ -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
H
5
//
#ifdef
H
5
,
,
{
{
"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"
:
"注册管理员账号"
...
...
uni_modules/uni-id-pages/components/uni-id-pages-fab-login/uni-id-pages-fab-login.vue
浏览文件 @
12fe0c29
...
@@ -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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录