pages.json 17 KB

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