pages.json 19 KB

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