pages.json 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705
  1. {
  2. "pages": [
  3. // ===== 入口页 + TabBar 页面(必须在主包,第一项为小程序首页)=====
  4. {
  5. "path": "pages/index/index",
  6. "style": {
  7. "navigationBarTitleText": "首页"
  8. }
  9. },
  10. {
  11. "path": "pages/index/child-index",
  12. "style": {
  13. "navigationBarTitleText": "首页"
  14. }
  15. },
  16. {
  17. "path": "pages/index/parent-index",
  18. "style": {
  19. "navigationBarTitleText": "首页",
  20. "enablePullDownRefresh": true
  21. }
  22. },
  23. // ===== 品牌开屏页 =====
  24. {
  25. "path": "pages/splash/splash",
  26. "style": {
  27. "navigationStyle": "custom"
  28. }
  29. },
  30. // ===== 主包:其他页面 =====
  31. {
  32. "path": "pages/discover/index",
  33. "style": {
  34. "navigationBarTitleText": "发现"
  35. }
  36. },
  37. {
  38. "path": "pages/login/login",
  39. "style": {
  40. "navigationBarTitleText": "登录",
  41. "navigationStyle": "custom"
  42. }
  43. },
  44. {
  45. "path": "pages/policy/agreement",
  46. "style": {
  47. "navigationBarTitleText": "用户协议"
  48. }
  49. },
  50. {
  51. "path": "pages/policy/privacy",
  52. "style": {
  53. "navigationBarTitleText": "隐私政策"
  54. }
  55. },
  56. {
  57. "path": "pages/user-edit/user-edit",
  58. "style": {
  59. "navigationBarTitleText": "完善信息"
  60. }
  61. },
  62. {
  63. "path": "pages/body/index",
  64. "style": {
  65. "navigationBarTitleText": "身"
  66. }
  67. },
  68. {
  69. "path": "pages/body/health-report",
  70. "style": {
  71. "navigationBarTitleText": "健康报告详情"
  72. }
  73. },
  74. {
  75. "path": "pages/body/health-dimensions",
  76. "style": {
  77. "navigationBarTitleText": "健康维度全景"
  78. }
  79. },
  80. {
  81. "path": "pages/body/checkin",
  82. "style": {
  83. "navigationBarTitleText": "健康打卡"
  84. }
  85. },
  86. {
  87. "path": "pages/body/member-body-detail",
  88. "style": {
  89. "navigationBarTitleText": "身体能量详情",
  90. "navigationStyle": "custom"
  91. }
  92. },
  93. {
  94. "path": "pages/health/report-upload",
  95. "style": {
  96. "navigationBarTitleText": "上传健康报告"
  97. }
  98. },
  99. {
  100. "path": "pages/health/report-list",
  101. "style": {
  102. "navigationBarTitleText": "健康报告"
  103. }
  104. },
  105. {
  106. "path": "pages/health/nutrition-profile",
  107. "style": {
  108. "navigationBarTitleText": "营养档案"
  109. }
  110. },
  111. {
  112. "path": "pages/mind/index",
  113. "style": {
  114. "navigationBarTitleText": "心"
  115. }
  116. },
  117. {
  118. "path": "pages/mind/articles",
  119. "style": {
  120. "navigationBarTitleText": "心智成长"
  121. }
  122. },
  123. {
  124. "path": "pages/mind/article-detail",
  125. "style": {
  126. "navigationBarTitleText": "文章详情"
  127. }
  128. },
  129. {
  130. "path": "pages/mind/training",
  131. "style": {
  132. "navigationBarTitleText": "能力训练"
  133. }
  134. },
  135. {
  136. "path": "pages/mind/emotion-report",
  137. "style": {
  138. "navigationBarTitleText": "心理报告"
  139. }
  140. },
  141. {
  142. "path": "pages/mind/member-mind-detail",
  143. "style": {
  144. "navigationBarTitleText": "心智能量详情",
  145. "navigationStyle": "custom"
  146. }
  147. },
  148. {
  149. "path": "pages/action/index",
  150. "style": {
  151. "navigationBarTitleText": "行动"
  152. }
  153. },
  154. // ===== 智慧维度(从分包提级为主包,TabBar 页面)=====
  155. {
  156. "path": "pages/wisdom/index",
  157. "style": {
  158. "navigationBarTitleText": "智慧"
  159. }
  160. },
  161. {
  162. "path": "pages/wisdom/cognitive-report",
  163. "style": {
  164. "navigationBarTitleText": "认知测评报告"
  165. }
  166. },
  167. {
  168. "path": "pages/action/member-action-detail",
  169. "style": {
  170. "navigationBarTitleText": "行动能量详情",
  171. "navigationStyle": "custom"
  172. }
  173. },
  174. {
  175. "path": "pages/action/contact-detail",
  176. "style": {
  177. "navigationBarTitleText": "联系人详情",
  178. "navigationStyle": "custom"
  179. }
  180. },
  181. {
  182. "path": "pages/index/member-home-detail",
  183. "style": {
  184. "navigationBarTitleText": "成员详情",
  185. "navigationStyle": "custom"
  186. }
  187. },
  188. {
  189. "path": "pages/profile/profile",
  190. "style": {
  191. "navigationBarTitleText": "我的"
  192. }
  193. },
  194. {
  195. "path": "pages/profile/create-child",
  196. "style": {
  197. "navigationBarTitleText": "添加孩子"
  198. }
  199. },
  200. {
  201. "path": "pages/profile/children",
  202. "style": {
  203. "navigationBarTitleText": "孩子管理"
  204. }
  205. },
  206. {
  207. "path": "pages/profile/edit-child",
  208. "style": {
  209. "navigationBarTitleText": "编辑孩子"
  210. }
  211. },
  212. {
  213. "path": "pages/profile/family-members",
  214. "style": {
  215. "navigationBarTitleText": "家庭成员"
  216. }
  217. },
  218. {
  219. "path": "pages/discover/product-detail/product-detail",
  220. "style": {
  221. "navigationBarTitleText": "商品详情"
  222. }
  223. },
  224. {
  225. "path": "pages/discover/activity-detail/activity-detail",
  226. "style": {
  227. "navigationBarTitleText": "活动详情"
  228. }
  229. },
  230. // ===== AI 聊天 =====
  231. {
  232. "path": "pages/ai/chat",
  233. "style": {
  234. "navigationBarTitleText": "AI 家庭助手",
  235. "navigationStyle": "custom"
  236. }
  237. },
  238. // ===== 邀请加入 =====
  239. {
  240. "path": "pages/invite/join",
  241. "style": {
  242. "navigationBarTitleText": "加入家庭",
  243. "navigationStyle": "custom"
  244. }
  245. }
  246. ],
  247. "subPackages": [
  248. // ===== 成长规划师 =====
  249. {
  250. "root": "pages/teacher",
  251. "pages": [
  252. {
  253. "path": "index",
  254. "style": { "navigationBarTitleText": "成长规划师中心" }
  255. },
  256. {
  257. "path": "families",
  258. "style": { "navigationBarTitleText": "我的家庭" }
  259. },
  260. {
  261. "path": "team",
  262. "style": { "navigationBarTitleText": "我的团队" }
  263. },
  264. {
  265. "path": "messages",
  266. "style": { "navigationBarTitleText": "消息中心" }
  267. },
  268. {
  269. "path": "orders",
  270. "style": { "navigationBarTitleText": "订单与佣金" }
  271. },
  272. {
  273. "path": "chat",
  274. "style": { "navigationBarTitleText": "聊天" }
  275. },
  276. {
  277. "path": "teacher-profile",
  278. "style": { "navigationBarTitleText": "我的" }
  279. }
  280. ]
  281. },
  282. // ===== 规划师入驻/套餐 =====
  283. {
  284. "root": "pages/guide",
  285. "pages": [
  286. {
  287. "path": "packages/index",
  288. "style": { "navigationBarTitleText": "我的套餐" }
  289. },
  290. {
  291. "path": "packages/create",
  292. "style": { "navigationBarTitleText": "创建套餐" }
  293. },
  294. {
  295. "path": "packages/detail",
  296. "style": { "navigationBarTitleText": "套餐详情" }
  297. },
  298. {
  299. "path": "packages/share",
  300. "style": { "navigationBarTitleText": "分享套餐" }
  301. },
  302. {
  303. "path": "bind/invite",
  304. "style": { "navigationBarTitleText": "绑定成长规划师" }
  305. },
  306. {
  307. "path": "register/index",
  308. "style": { "navigationBarTitleText": "成为成长规划师" }
  309. },
  310. {
  311. "path": "invite/share",
  312. "style": { "navigationBarTitleText": "邀请分享" }
  313. },
  314. {
  315. "path": "hierarchy/index",
  316. "style": { "navigationBarTitleText": "下级成长规划师" }
  317. }
  318. ]
  319. },
  320. // ===== 家长专属 =====
  321. {
  322. "root": "pages/parent",
  323. "pages": [
  324. {
  325. "path": "market/index",
  326. "style": { "navigationBarTitleText": "套餐市场" }
  327. },
  328. {
  329. "path": "market/detail",
  330. "style": { "navigationBarTitleText": "套餐详情" }
  331. },
  332. {
  333. "path": "plans/index",
  334. "style": { "navigationBarTitleText": "我的计划" }
  335. },
  336. {
  337. "path": "plans/detail",
  338. "style": { "navigationBarTitleText": "计划详情" }
  339. },
  340. {
  341. "path": "wishes/index",
  342. "style": { "navigationBarTitleText": "心愿管理" }
  343. },
  344. {
  345. "path": "child-detail",
  346. "style": { "navigationBarTitleText": "孩子详情" }
  347. },
  348. {
  349. "path": "invite/index",
  350. "style": { "navigationBarTitleText": "邀请加入" }
  351. }
  352. ]
  353. },
  354. // ===== 孩子端 =====
  355. {
  356. "root": "pages/child",
  357. "pages": [
  358. {
  359. "path": "tasks",
  360. "style": { "navigationBarTitleText": "孩子任务" }
  361. },
  362. {
  363. "path": "rewards",
  364. "style": { "navigationBarTitleText": "孩子心愿单" }
  365. }
  366. ]
  367. },
  368. // ===== 任务管理 =====
  369. {
  370. "root": "pages/tasks",
  371. "pages": [
  372. {
  373. "path": "tasks",
  374. "style": { "navigationBarTitleText": "任务列表" }
  375. },
  376. {
  377. "path": "create-task",
  378. "style": { "navigationBarTitleText": "添加任务" }
  379. },
  380. {
  381. "path": "review",
  382. "style": { "navigationBarTitleText": "审核任务" }
  383. }
  384. ]
  385. },
  386. // ===== 心愿单 =====
  387. {
  388. "root": "pages/wishes",
  389. "pages": [
  390. {
  391. "path": "index",
  392. "style": { "navigationBarTitleText": "我的心愿" }
  393. },
  394. {
  395. "path": "create",
  396. "style": { "navigationBarTitleText": "添加心愿" }
  397. },
  398. {
  399. "path": "detail",
  400. "style": { "navigationBarTitleText": "心愿详情" }
  401. }
  402. ]
  403. },
  404. // ===== 奖励/勋章 =====
  405. {
  406. "root": "pages/rewards",
  407. "pages": [
  408. {
  409. "path": "rewards",
  410. "style": { "navigationBarTitleText": "心愿单" }
  411. },
  412. {
  413. "path": "badge",
  414. "style": { "navigationBarTitleText": "勋章墙" }
  415. }
  416. ]
  417. },
  418. // ===== 小游戏 =====
  419. {
  420. "root": "pages/games",
  421. "pages": [
  422. {
  423. "path": "list",
  424. "style": { "navigationBarTitleText": "小游戏" }
  425. },
  426. {
  427. "path": "schulte",
  428. "style": { "navigationBarTitleText": "舒尔特方格" }
  429. },
  430. {
  431. "path": "1a2b",
  432. "style": { "navigationBarTitleText": "猜数字" }
  433. },
  434. {
  435. "path": "sudoku",
  436. "style": { "navigationBarTitleText": "数独" }
  437. },
  438. {
  439. "path": "records",
  440. "style": { "navigationBarTitleText": "训练记录" }
  441. },
  442. {
  443. "path": "stats",
  444. "style": { "navigationBarTitleText": "训练统计" }
  445. }
  446. ]
  447. },
  448. // ===== 测评 =====
  449. {
  450. "root": "pages/assessment",
  451. "pages": [
  452. {
  453. "path": "apply",
  454. "style": { "navigationBarTitleText": "申请测评" }
  455. },
  456. {
  457. "path": "results",
  458. "style": { "navigationBarTitleText": "测评报告" }
  459. },
  460. {
  461. "path": "purchase",
  462. "style": { "navigationBarTitleText": "购买测评" }
  463. }
  464. ]
  465. },
  466. // ===== 成长档案 =====
  467. {
  468. "root": "pages/growth",
  469. "pages": [
  470. {
  471. "path": "index",
  472. "style": { "navigationBarTitleText": "成长档案" }
  473. },
  474. {
  475. "path": "create",
  476. "style": { "navigationBarTitleText": "创建成长档案" }
  477. },
  478. {
  479. "path": "detail",
  480. "style": { "navigationBarTitleText": "档案详情" }
  481. },
  482. {
  483. "path": "assessment-result",
  484. "style": { "navigationBarTitleText": "测评报告" }
  485. }
  486. ]
  487. },
  488. // ===== 商城 =====
  489. {
  490. "root": "pages/shop",
  491. "pages": [
  492. {
  493. "path": "order-list/order-list",
  494. "style": { "navigationBarTitleText": "我的订单" }
  495. },
  496. {
  497. "path": "order-detail/order-detail",
  498. "style": { "navigationBarTitleText": "订单详情" }
  499. },
  500. {
  501. "path": "cart/cart",
  502. "style": { "navigationBarTitleText": "购物车" }
  503. },
  504. {
  505. "path": "checkout/checkout",
  506. "style": { "navigationBarTitleText": "确认订单" }
  507. },
  508. {
  509. "path": "payment/payment",
  510. "style": { "navigationBarTitleText": "支付订单" }
  511. },
  512. {
  513. "path": "logistics/logistics",
  514. "style": { "navigationBarTitleText": "物流跟踪" }
  515. },
  516. {
  517. "path": "address/address",
  518. "style": { "navigationBarTitleText": "收货地址" }
  519. },
  520. {
  521. "path": "address-edit/address-edit",
  522. "style": { "navigationBarTitleText": "编辑地址" }
  523. },
  524. {
  525. "path": "detail/detail",
  526. "style": { "navigationBarTitleText": "商品详情" }
  527. }
  528. ]
  529. },
  530. // ===== 服务商入驻 =====
  531. {
  532. "root": "pages/vendor",
  533. "pages": [
  534. {
  535. "path": "apply",
  536. "style": { "navigationBarTitleText": "服务商入驻" }
  537. },
  538. {
  539. "path": "center",
  540. "style": { "navigationBarTitleText": "服务商中心" }
  541. },
  542. {
  543. "path": "products/products",
  544. "style": { "navigationBarTitleText": "商品管理" }
  545. },
  546. {
  547. "path": "orders/orders",
  548. "style": { "navigationBarTitleText": "订单管理" }
  549. },
  550. {
  551. "path": "product-edit/product-edit",
  552. "style": { "navigationBarTitleText": "发布商品" }
  553. }
  554. ]
  555. },
  556. // ===== 数据统计 =====
  557. {
  558. "root": "pages/stats",
  559. "pages": [
  560. {
  561. "path": "completion-rate",
  562. "style": { "navigationBarTitleText": "任务完成率", "navigationStyle": "custom" }
  563. },
  564. {
  565. "path": "index",
  566. "style": { "navigationBarTitleText": "数据统计" }
  567. }
  568. ]
  569. },
  570. // ===== 推广中心 =====
  571. {
  572. "root": "pages/promotion",
  573. "pages": [
  574. {
  575. "path": "index",
  576. "style": { "navigationBarTitleText": "财富中心" }
  577. },
  578. {
  579. "path": "commission",
  580. "style": { "navigationBarTitleText": "佣金明细" }
  581. },
  582. {
  583. "path": "withdraw",
  584. "style": { "navigationBarTitleText": "提现" }
  585. },
  586. {
  587. "path": "invite",
  588. "style": { "navigationBarTitleText": "邀请好友" }
  589. }
  590. ]
  591. },
  592. // ===== 五维能量 =====
  593. {
  594. "root": "pages/energy",
  595. "pages": [
  596. {
  597. "path": "detail",
  598. "style": { "navigationBarTitleText": "维度能量详情" }
  599. }
  600. ]
  601. },
  602. // ===== 会员服务 =====
  603. {
  604. "root": "pages/membership",
  605. "pages": [
  606. {
  607. "path": "index",
  608. "style": { "navigationBarTitleText": "会员服务" }
  609. },
  610. {
  611. "path": "upgrade",
  612. "style": { "navigationBarTitleText": "开通会员" }
  613. }
  614. ]
  615. },
  616. // ===== 财富维度 =====
  617. {
  618. "root": "pages/wealth",
  619. "pages": [
  620. {
  621. "path": "index",
  622. "style": { "navigationBarTitleText": "财富" }
  623. },
  624. {
  625. "path": "checkin",
  626. "style": { "navigationBarTitleText": "财商打卡" }
  627. },
  628. {
  629. "path": "insurance-list",
  630. "style": { "navigationBarTitleText": "保单管理" }
  631. },
  632. {
  633. "path": "insurance-add",
  634. "style": { "navigationBarTitleText": "新增保单" }
  635. }
  636. ]
  637. },
  638. // ===== 食谱推荐 =====
  639. {
  640. "root": "pages/meal",
  641. "pages": [
  642. {
  643. "path": "recommend",
  644. "style": { "navigationBarTitleText": "智能食谱推荐" }
  645. },
  646. {
  647. "path": "log",
  648. "style": { "navigationBarTitleText": "饮食记录" }
  649. },
  650. {
  651. "path": "recipe-detail",
  652. "style": { "navigationBarTitleText": "食谱详情" }
  653. },
  654. {
  655. "path": "preference",
  656. "style": { "navigationBarTitleText": "饮食偏好设置" }
  657. }
  658. ]
  659. }
  660. ],
  661. "globalStyle": {
  662. "navigationBarTextStyle": "black",
  663. "navigationBarTitleText": "浠艾福",
  664. "navigationBarBackgroundColor": "#FFFFFF",
  665. "backgroundColor": "#F8F8F8"
  666. },
  667. "tabBar": {
  668. "color": "#7A7E83",
  669. "selectedColor": "#F97316",
  670. "borderStyle": "black",
  671. "backgroundColor": "#FFFFFF",
  672. "list": [
  673. {
  674. "pagePath": "pages/index/index",
  675. "text": "首页",
  676. "iconPath": "static/tab-home.png",
  677. "selectedIconPath": "static/tab-home-active.png"
  678. },
  679. {
  680. "pagePath": "pages/body/index",
  681. "text": "身",
  682. "iconPath": "static/tab-body.png",
  683. "selectedIconPath": "static/tab-body-active.png"
  684. },
  685. {
  686. "pagePath": "pages/wisdom/index",
  687. "text": "智",
  688. "iconPath": "static/tab-wealth.png",
  689. "selectedIconPath": "static/tab-wealth-active.png"
  690. },
  691. {
  692. "pagePath": "pages/mind/index",
  693. "text": "心",
  694. "iconPath": "static/tab-mind.png",
  695. "selectedIconPath": "static/tab-mind-active.png"
  696. },
  697. {
  698. "pagePath": "pages/profile/profile",
  699. "text": "我的",
  700. "iconPath": "static/tab-profile.png",
  701. "selectedIconPath": "static/tab-profile-active.png"
  702. }
  703. ]
  704. }
  705. }