pages.json 19 KB

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