pages.json 16 KB

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