refactor: 重构项目分包结构与资源管理
1. 调整页面路由,将业务页面迁移到对应分包,主包仅保留首页 2. 拆分公共服务模块,将账户、融资相关逻辑移入对应分包 3. 统一资源路径,将专属静态资源放入各分包static目录,更新导航栏图标资源 4. 修复启动引导逻辑,实现仅首次冷启动显示引导页 5. 更新README文档,补充分包配置与开发规范说明
This commit is contained in:
+36
-19
@@ -1,24 +1,41 @@
|
||||
{
|
||||
"pages": [
|
||||
{ "path": "pages/index/index", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "pages/login/login", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "pages/home/home", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "pages/entry/entry", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "pages/assessment/assessment", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "pages/confirm/confirm", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "pages/analyzing/analyzing", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "pages/report/report", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "pages/matches/matches", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "pages/product/product", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "pages/assistant/assistant", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "pages/news/news", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "pages/classroom/classroom", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "pages/article/article", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "pages/lesson/lesson", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "pages/points/points", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "pages/messages/messages", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "pages/archive/archive", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "pages/profile/profile", "style": { "navigationStyle": "custom" } }
|
||||
{ "path": "pages/home/home", "style": { "navigationStyle": "custom" } }
|
||||
],
|
||||
"subPackages": [
|
||||
{
|
||||
"root": "packages/finance",
|
||||
"pages": [
|
||||
{ "path": "entry/entry", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "assessment/assessment", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "confirm/confirm", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "analyzing/analyzing", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "report/report", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "matches/matches", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "product/product", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "assistant/assistant", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "archive/archive", "style": { "navigationStyle": "custom" } }
|
||||
]
|
||||
},
|
||||
{
|
||||
"root": "packages/account",
|
||||
"pages": [
|
||||
{ "path": "index/index", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "login/login", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "profile/profile", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "points/points", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "messages/messages", "style": { "navigationStyle": "custom" } }
|
||||
]
|
||||
},
|
||||
{
|
||||
"root": "packages/content",
|
||||
"pages": [
|
||||
{ "path": "news/news", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "article/article", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "classroom/classroom", "style": { "navigationStyle": "custom" } },
|
||||
{ "path": "lesson/lesson", "style": { "navigationStyle": "custom" } }
|
||||
]
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "black",
|
||||
|
||||
Reference in New Issue
Block a user