pages.json 16 KB

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