pages.json 17 KB

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