pages.json 16 KB

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