pages.json 20 KB

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