pages.json 15 KB

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