pages.json 18 KB

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