Files
jackyu66gitandCursor b09d82df8d feat: 小程序统一走 Go 后台,咨询与登录切到 /api/v1
去掉协会 WebView 和魔方账密页,微信登录与咨询接口共用同一 token 和拦截器。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 00:26:28 +08:00

347 lines
8.4 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/yxg",
"pages": [
{ "path": "explore", "style": { "navigationBarTitleText": "探索", "navigationBarBackgroundColor": "#ffd1c7", "backgroundColor": "#ffd1c7" } },
{ "path": "explore-bank", "style": { "navigationBarTitleText": "题库", "navigationBarBackgroundColor": "#ffd1c7", "backgroundColor": "#ffd1c7" } },
{ "path": "explore-category", "style": { "navigationBarTitleText": "探索", "navigationBarBackgroundColor": "#ffd1c7", "backgroundColor": "#ffd1c7" } },
{ "path": "growth-plan", "style": { "navigationBarTitleText": "成长计划", "navigationBarBackgroundColor": "#ffd1c7", "backgroundColor": "#ffd1c7" } },
{ "path": "ask", "style": { "navigationBarTitleText": "AI问答", "navigationBarBackgroundColor": "#ffd1c7", "backgroundColor": "#ffd1c7" } },
{ "path": "companion", "style": { "navigationBarTitleText": "节气陪伴", "navigationBarBackgroundColor": "#ffd1c7", "backgroundColor": "#ffd1c7" } },
{ "path": "mine", "style": { "navigationBarTitleText": "我的魔方", "navigationBarBackgroundColor": "#ffd1c7", "backgroundColor": "#ffd1c7" } },
{ "path": "profile", "style": { "navigationBarTitleText": "个人档案", "navigationBarBackgroundColor": "#ffd1c7", "backgroundColor": "#ffd1c7" } },
{ "path": "portrait", "style": { "navigationBarTitleText": "愈心解码", "navigationBarBackgroundColor": "#ffd1c7", "backgroundColor": "#ffd1c7" } },
{ "path": "star", "style": { "navigationBarTitleText": "星座", "navigationBarBackgroundColor": "#ffd1c7", "backgroundColor": "#ffd1c7" } },
{ "path": "synastry", "style": { "navigationBarTitleText": "合盘", "navigationBarBackgroundColor": "#ffd1c7", "backgroundColor": "#ffd1c7" } },
{ "path": "synastry-invite", "style": { "navigationBarTitleText": "合盘邀请", "navigationBarBackgroundColor": "#ffd1c7", "backgroundColor": "#ffd1c7" } },
{ "path": "rhythm", "style": { "navigationBarTitleText": "身心节律", "navigationBarBackgroundColor": "#ffd1c7", "backgroundColor": "#ffd1c7" } },
{ "path": "cards", "style": { "navigationBarTitleText": "意象卡片", "navigationBarBackgroundColor": "#ffd1c7", "backgroundColor": "#ffd1c7" } },
{ "path": "relation", "style": { "navigationBarTitleText": "人格匹配", "navigationBarBackgroundColor": "#ffd1c7", "backgroundColor": "#ffd1c7" } },
{ "path": "membership", "style": { "navigationBarTitleText": "成长会员", "navigationBarBackgroundColor": "#ffd1c7", "backgroundColor": "#ffd1c7" } },
{ "path": "scale", "style": { "navigationBarTitleText": "测评", "navigationBarBackgroundColor": "#ffd1c7", "backgroundColor": "#ffd1c7" } },
{ "path": "share", "style": { "navigationBarTitleText": "分享", "navigationBarBackgroundColor": "#ffd1c7", "backgroundColor": "#ffd1c7" } },
{ "path": "reports", "style": { "navigationBarTitleText": "成长报告", "navigationBarBackgroundColor": "#ffd1c7", "backgroundColor": "#ffd1c7" } },
{ "path": "report", "style": { "navigationBarTitleText": "报告详情", "navigationBarBackgroundColor": "#ffd1c7", "backgroundColor": "#ffd1c7" } }
]
}
],
"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": "我的"
}
]
}
}