feat(home): 实现游客模式与登录流程优化

- 添加游客模式,展示公共内容无需强制登录
- 实现游客模块展示打卡、计划、关于我们等功能介绍
- 添加产品介绍页面显示学习成长工具详情
- 优化登录流程,添加用户协议和隐私政策同意选项
- 更新角色标签将老师改为管理员,学员改为成员
- 添加注销账号功能替代退出登录
- 实现webview页面域名白名单安全验证
- 添加隐私政策和用户协议页面
- 优化页面跳转逻辑和错误提示信息
- 统一项目名称从明缘进阶场改为明缘云道场
This commit is contained in:
王宏豪
2026-09-03 18:57:47 +08:00
parent d7fc8c8982
commit 1dd4fa3f41
20 changed files with 588 additions and 57 deletions

View File

@@ -5,12 +5,13 @@
"pages/plan/plan",
"pages/plan-submit/plan-submit",
"pages/profile/profile",
"pages/webview/webview"
"pages/webview/webview",
"pages/privacy/privacy"
],
"window": {
"navigationBarBackgroundColor": "#2C1810",
"navigationBarTextStyle": "white",
"navigationBarTitleText": "明缘进阶场",
"navigationBarTitleText": "明缘云道场",
"backgroundColor": "#FDFBF7",
"backgroundTextStyle": "dark"
},
@@ -20,11 +21,31 @@
"backgroundColor": "#ffffff",
"borderStyle": "black",
"list": [
{ "pagePath": "pages/home/home", "text": "首页", "iconPath": "assets/tabbar/home.png", "selectedIconPath": "assets/tabbar/home-active.png" },
{ "pagePath": "pages/checkin/checkin", "text": "打卡", "iconPath": "assets/tabbar/checkin.png", "selectedIconPath": "assets/tabbar/checkin-active.png" },
{ "pagePath": "pages/plan/plan", "text": "计划", "iconPath": "assets/tabbar/plan.png", "selectedIconPath": "assets/tabbar/plan-active.png" },
{ "pagePath": "pages/profile/profile", "text": "我的", "iconPath": "assets/tabbar/profile.png", "selectedIconPath": "assets/tabbar/profile-active.png" }
{
"pagePath": "pages/home/home",
"text": "首页",
"iconPath": "assets/tabbar/home.png",
"selectedIconPath": "assets/tabbar/home-active.png"
},
{
"pagePath": "pages/checkin/checkin",
"text": "打卡",
"iconPath": "assets/tabbar/checkin.png",
"selectedIconPath": "assets/tabbar/checkin-active.png"
},
{
"pagePath": "pages/plan/plan",
"text": "计划",
"iconPath": "assets/tabbar/plan.png",
"selectedIconPath": "assets/tabbar/plan-active.png"
},
{
"pagePath": "pages/profile/profile",
"text": "我的",
"iconPath": "assets/tabbar/profile.png",
"selectedIconPath": "assets/tabbar/profile-active.png"
}
]
},
"sitemapLocation": "sitemap.json"
}
}