Files
yuxingu-Miniprogram-dev/pages.json
T
jackyu66gitandCursor 6e97f01378 fix: 代码质量扫描 — 分包降主包体积,登录页背景去 base64
- 主包仅保留 5 个 Tab 页,其余页面迁入 subPackages
- login-pop 177KB base64 背景改为 static/n-login/login-bg.jpg(16KB)
- H5 缓存版本 202608283

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 04:51:53 +08:00

333 lines
5.5 KiB
JSON

{
"pages": [
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "愈心谷"
}
},
{
"path": "pages/yxg-magic/index",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom",
"navigationBarTextStyle": "black",
"navigationBarBackgroundColor": "#ffd1c7",
"backgroundColor": "#ffd1c7",
"backgroundColorTop": "#ffd1c7",
"mp-weixin": {
"navigationStyle": "custom",
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#ffd1c7",
"backgroundColorTop": "#ffd1c7"
}
}
},
{
"path": "pages/test-list/test-list",
"style": {
"navigationBarTitleText": ""
}
},
{
"path": "pages/consult/consult",
"style": {
"navigationBarTitleText": ""
}
},
{
"path": "pages/personal-center/personal-center",
"style": {
"navigationBarTitleText": ""
}
}
],
"subPackages": [
{
"root": "pages/healing",
"pages": [
{
"path": "healing-list",
"style": {
"navigationBarTitleText": ""
}
},
{
"path": "active-list",
"style": {
"navigationBarTitleText": ""
}
}
]
},
{
"root": "pages/healing-detail",
"pages": [
{
"path": "healing-detail",
"style": {
"navigationBarTitleText": ""
}
},
{
"path": "active-detail",
"style": {
"navigationBarTitleText": ""
}
}
]
},
{
"root": "pages/test-detail",
"pages": [
{
"path": "test-detail",
"style": {
"navigationBarTitleText": ""
}
}
]
},
{
"root": "pages/show-question",
"pages": [
{
"path": "show-question",
"style": {
"navigationBarTitleText": ""
}
}
]
},
{
"root": "pages/test-result",
"pages": [
{
"path": "test-result",
"style": {
"navigationBarTitleText": ""
}
}
]
},
{
"root": "pages/my-test",
"pages": [
{
"path": "my-test",
"style": {
"navigationBarTitleText": ""
}
}
]
},
{
"root": "pages/login-pop",
"pages": [
{
"path": "login-pop",
"style": {
"navigationBarTitleText": ""
}
}
]
},
{
"root": "pages/pay-demo",
"pages": [
{
"path": "pay-demo",
"style": {
"navigationBarTitleText": ""
}
}
]
},
{
"root": "pages/consult-detail",
"pages": [
{
"path": "consult-detail",
"style": {
"navigationBarTitleText": ""
}
}
]
},
{
"root": "pages/appoint",
"pages": [
{
"path": "appoint",
"style": {
"navigationBarTitleText": ""
}
}
]
},
{
"root": "pages/my-focus",
"pages": [
{
"path": "my-focus",
"style": {
"navigationBarTitleText": ""
}
}
]
},
{
"root": "pages/order",
"pages": [
{
"path": "order",
"style": {
"navigationBarTitleText": ""
}
}
]
},
{
"root": "pages/order-detail",
"pages": [
{
"path": "order-detail",
"style": {
"navigationBarTitleText": ""
}
}
]
},
{
"root": "pages/edit-userinfo",
"pages": [
{
"path": "edit-userinfo",
"style": {
"navigationBarTitleText": ""
}
}
]
},
{
"root": "pages/customer-service",
"pages": [
{
"path": "customer-service",
"style": {
"navigationBarTitleText": ""
}
}
]
},
{
"root": "pages/feedback",
"pages": [
{
"path": "feedback",
"style": {
"navigationBarTitleText": ""
}
}
]
},
{
"root": "pages/consult-appointment",
"pages": [
{
"path": "consult-appointment",
"style": {
"navigationBarTitleText": ""
}
}
]
},
{
"root": "pages/show-image",
"pages": [
{
"path": "show-image",
"style": {
"navigationBarTitleText": ""
}
}
]
},
{
"root": "pages/show-banner",
"pages": [
{
"path": "show-banner",
"style": {
"navigationBarTitleText": ""
}
}
]
},
{
"root": "pages/webview-page",
"pages": [
{
"path": "webview-page",
"style": {
"navigationBarTitleText": ""
}
}
]
}
],
"preloadRule": {
"pages/index/index": {
"network": "all",
"packages": ["pages/login-pop"]
}
},
"globalStyle": {
"navigationStyle": "custom",
"navigationBarTextStyle": "black",
"navigationBarBackgroundColor": "#ffd1c7",
"backgroundColor": "#ffd1c7",
"backgroundColorTop": "#ffd1c7"
},
"uniIdRouter": {},
"tabBar": {
"backgroundColor": "none",
"borderStyle": "white",
"selectedColor": "#EA4E2D",
"fontSize": "24px",
"iconWidth": "16px",
"list": [
{
"iconPath": "./static/n-menu/sy-n.png",
"selectedIconPath": "./static/n-menu/sy-c.png",
"pagePath": "pages/index/index",
"text": "首页"
},
{
"iconPath": "./static/n-menu/mf-n.png",
"selectedIconPath": "./static/n-menu/mf-c.png",
"pagePath": "pages/yxg-magic/index",
"text": "愈心魔方"
},
{
"iconPath": "./static/n-menu/zx-n.png",
"selectedIconPath": "./static/n-menu/zx-c.png",
"pagePath": "pages/consult/consult",
"text": "心理咨询"
},
{
"iconPath": "./static/n-menu/hdbm-n.png",
"selectedIconPath": "./static/n-menu/hdbm-c.png",
"pagePath": "pages/test-list/test-list",
"text": "心理测评"
},
{
"iconPath": "./static/n-menu/wd-n.png",
"selectedIconPath": "./static/n-menu/wd-c.png",
"pagePath": "pages/personal-center/personal-center",
"text": "我的"
}
]
}
}