pages.json 15 KB

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