pages.json 20 KB

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