pages.json 13 KB

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