pages.json 17 KB

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