pages.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471
  1. {
  2. "pages": [
  3. // ===== 主包:入口页 + TabBar 页 + 必须在主包的页面 =====
  4. {
  5. "path": "pages/discover/index",
  6. "style": {
  7. "navigationBarTitleText": "发现"
  8. }
  9. },
  10. {
  11. "path": "pages/login/login",
  12. "style": {
  13. "navigationBarTitleText": "登录",
  14. "navigationStyle": "custom"
  15. }
  16. },
  17. {
  18. "path": "pages/user-edit/user-edit",
  19. "style": {
  20. "navigationBarTitleText": "完善信息"
  21. }
  22. },
  23. // ===== TabBar 页面(必须在主包)=====
  24. {
  25. "path": "pages/index/index",
  26. "style": {
  27. "navigationBarTitleText": "首页"
  28. }
  29. },
  30. {
  31. "path": "pages/index/child-index",
  32. "style": {
  33. "navigationBarTitleText": "首页"
  34. }
  35. },
  36. {
  37. "path": "pages/index/parent-index",
  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/profile/profile",
  68. "style": {
  69. "navigationBarTitleText": "我的"
  70. }
  71. },
  72. {
  73. "path": "pages/profile/create-child",
  74. "style": {
  75. "navigationBarTitleText": "添加孩子"
  76. }
  77. },
  78. {
  79. "path": "pages/profile/children",
  80. "style": {
  81. "navigationBarTitleText": "孩子管理"
  82. }
  83. },
  84. {
  85. "path": "pages/profile/edit-child",
  86. "style": {
  87. "navigationBarTitleText": "编辑孩子"
  88. }
  89. },
  90. {
  91. "path": "pages/profile/family-members",
  92. "style": {
  93. "navigationBarTitleText": "家庭成员"
  94. }
  95. },
  96. {
  97. "path": "pages/discover/product-detail/product-detail",
  98. "style": {
  99. "navigationBarTitleText": "商品详情"
  100. }
  101. }
  102. ],
  103. "subPackages": [
  104. // ===== 成长规划师 =====
  105. {
  106. "root": "pages/teacher",
  107. "pages": [
  108. {
  109. "path": "index",
  110. "style": { "navigationBarTitleText": "成长规划师中心" }
  111. },
  112. {
  113. "path": "families",
  114. "style": { "navigationBarTitleText": "我的家庭" }
  115. },
  116. {
  117. "path": "team",
  118. "style": { "navigationBarTitleText": "我的团队" }
  119. },
  120. {
  121. "path": "messages",
  122. "style": { "navigationBarTitleText": "消息中心" }
  123. },
  124. {
  125. "path": "orders",
  126. "style": { "navigationBarTitleText": "订单与佣金" }
  127. },
  128. {
  129. "path": "chat",
  130. "style": { "navigationBarTitleText": "聊天" }
  131. },
  132. {
  133. "path": "teacher-profile",
  134. "style": { "navigationBarTitleText": "我的" }
  135. }
  136. ]
  137. },
  138. // ===== 规划师入驻/套餐 =====
  139. {
  140. "root": "pages/guide",
  141. "pages": [
  142. {
  143. "path": "packages/index",
  144. "style": { "navigationBarTitleText": "我的套餐" }
  145. },
  146. {
  147. "path": "packages/create",
  148. "style": { "navigationBarTitleText": "创建套餐" }
  149. },
  150. {
  151. "path": "packages/detail",
  152. "style": { "navigationBarTitleText": "套餐详情" }
  153. },
  154. {
  155. "path": "packages/share",
  156. "style": { "navigationBarTitleText": "分享套餐" }
  157. },
  158. {
  159. "path": "bind/invite",
  160. "style": { "navigationBarTitleText": "绑定成长规划师" }
  161. },
  162. {
  163. "path": "register/index",
  164. "style": { "navigationBarTitleText": "成为成长规划师" }
  165. },
  166. {
  167. "path": "invite/share",
  168. "style": { "navigationBarTitleText": "邀请分享" }
  169. },
  170. {
  171. "path": "hierarchy/index",
  172. "style": { "navigationBarTitleText": "下级成长规划师" }
  173. }
  174. ]
  175. },
  176. // ===== 家长专属 =====
  177. {
  178. "root": "pages/parent",
  179. "pages": [
  180. {
  181. "path": "market/index",
  182. "style": { "navigationBarTitleText": "套餐市场" }
  183. },
  184. {
  185. "path": "market/detail",
  186. "style": { "navigationBarTitleText": "套餐详情" }
  187. },
  188. {
  189. "path": "plans/index",
  190. "style": { "navigationBarTitleText": "我的计划" }
  191. },
  192. {
  193. "path": "plans/detail",
  194. "style": { "navigationBarTitleText": "计划详情" }
  195. },
  196. {
  197. "path": "wishes/index",
  198. "style": { "navigationBarTitleText": "心愿管理" }
  199. },
  200. {
  201. "path": "child-detail",
  202. "style": { "navigationBarTitleText": "孩子详情" }
  203. },
  204. {
  205. "path": "invite/index",
  206. "style": { "navigationBarTitleText": "邀请加入" }
  207. }
  208. ]
  209. },
  210. // ===== 孩子端 =====
  211. {
  212. "root": "pages/child",
  213. "pages": [
  214. {
  215. "path": "tasks",
  216. "style": { "navigationBarTitleText": "孩子任务" }
  217. },
  218. {
  219. "path": "rewards",
  220. "style": { "navigationBarTitleText": "孩子心愿单" }
  221. }
  222. ]
  223. },
  224. // ===== 任务管理 =====
  225. {
  226. "root": "pages/tasks",
  227. "pages": [
  228. {
  229. "path": "tasks",
  230. "style": { "navigationBarTitleText": "任务列表" }
  231. },
  232. {
  233. "path": "create-task",
  234. "style": { "navigationBarTitleText": "添加任务" }
  235. },
  236. {
  237. "path": "review",
  238. "style": { "navigationBarTitleText": "审核任务" }
  239. }
  240. ]
  241. },
  242. // ===== 心愿单 =====
  243. {
  244. "root": "pages/wishes",
  245. "pages": [
  246. {
  247. "path": "index",
  248. "style": { "navigationBarTitleText": "我的心愿" }
  249. },
  250. {
  251. "path": "create",
  252. "style": { "navigationBarTitleText": "添加心愿" }
  253. },
  254. {
  255. "path": "detail",
  256. "style": { "navigationBarTitleText": "心愿详情" }
  257. }
  258. ]
  259. },
  260. // ===== 奖励/勋章 =====
  261. {
  262. "root": "pages/rewards",
  263. "pages": [
  264. {
  265. "path": "rewards",
  266. "style": { "navigationBarTitleText": "心愿单" }
  267. },
  268. {
  269. "path": "badge",
  270. "style": { "navigationBarTitleText": "勋章墙" }
  271. }
  272. ]
  273. },
  274. // ===== 小游戏 =====
  275. {
  276. "root": "pages/games",
  277. "pages": [
  278. {
  279. "path": "list",
  280. "style": { "navigationBarTitleText": "小游戏" }
  281. },
  282. {
  283. "path": "schulte",
  284. "style": { "navigationBarTitleText": "舒尔特方格" }
  285. },
  286. {
  287. "path": "1a2b",
  288. "style": { "navigationBarTitleText": "猜数字" }
  289. },
  290. {
  291. "path": "sudoku",
  292. "style": { "navigationBarTitleText": "数独" }
  293. },
  294. {
  295. "path": "records",
  296. "style": { "navigationBarTitleText": "训练记录" }
  297. },
  298. {
  299. "path": "stats",
  300. "style": { "navigationBarTitleText": "训练统计" }
  301. }
  302. ]
  303. },
  304. // ===== 测评 =====
  305. {
  306. "root": "pages/assessment",
  307. "pages": [
  308. {
  309. "path": "apply",
  310. "style": { "navigationBarTitleText": "申请测评" }
  311. },
  312. {
  313. "path": "results",
  314. "style": { "navigationBarTitleText": "测评报告" }
  315. },
  316. {
  317. "path": "purchase",
  318. "style": { "navigationBarTitleText": "购买测评" }
  319. }
  320. ]
  321. },
  322. // ===== 成长档案 =====
  323. {
  324. "root": "pages/growth",
  325. "pages": [
  326. {
  327. "path": "index",
  328. "style": { "navigationBarTitleText": "成长档案" }
  329. },
  330. {
  331. "path": "create",
  332. "style": { "navigationBarTitleText": "创建成长档案" }
  333. },
  334. {
  335. "path": "detail",
  336. "style": { "navigationBarTitleText": "档案详情" }
  337. },
  338. {
  339. "path": "assessment-result",
  340. "style": { "navigationBarTitleText": "测评报告" }
  341. }
  342. ]
  343. },
  344. // ===== 商城 =====
  345. {
  346. "root": "pages/shop",
  347. "pages": [
  348. {
  349. "path": "index",
  350. "style": { "navigationBarTitleText": "行动" }
  351. },
  352. {
  353. "path": "order-list/order-list",
  354. "style": { "navigationBarTitleText": "我的订单" }
  355. },
  356. {
  357. "path": "order-detail/order-detail",
  358. "style": { "navigationBarTitleText": "订单详情" }
  359. }
  360. ]
  361. },
  362. // ===== 服务商入驻 =====
  363. {
  364. "root": "pages/vendor",
  365. "pages": [
  366. {
  367. "path": "apply",
  368. "style": { "navigationBarTitleText": "服务商入驻" }
  369. },
  370. {
  371. "path": "center",
  372. "style": { "navigationBarTitleText": "服务商中心" }
  373. },
  374. {
  375. "path": "products/products",
  376. "style": { "navigationBarTitleText": "商品管理" }
  377. },
  378. {
  379. "path": "orders/orders",
  380. "style": { "navigationBarTitleText": "订单管理" }
  381. }
  382. ]
  383. },
  384. // ===== 数据统计 =====
  385. {
  386. "root": "pages/stats",
  387. "pages": [
  388. {
  389. "path": "completion-rate",
  390. "style": { "navigationBarTitleText": "任务完成率", "navigationStyle": "custom" }
  391. },
  392. {
  393. "path": "index",
  394. "style": { "navigationBarTitleText": "数据统计" }
  395. }
  396. ]
  397. },
  398. // ===== 推广中心 =====
  399. {
  400. "root": "pages/promotion",
  401. "pages": [
  402. {
  403. "path": "index",
  404. "style": { "navigationBarTitleText": "推广中心" }
  405. },
  406. {
  407. "path": "commission",
  408. "style": { "navigationBarTitleText": "佣金明细" }
  409. },
  410. {
  411. "path": "withdraw",
  412. "style": { "navigationBarTitleText": "提现" }
  413. },
  414. {
  415. "path": "invite",
  416. "style": { "navigationBarTitleText": "邀请好友" }
  417. }
  418. ]
  419. },
  420. // ===== 五维能量 =====
  421. {
  422. "root": "pages/energy",
  423. "pages": [
  424. {
  425. "path": "detail",
  426. "style": { "navigationBarTitleText": "维度能量详情" }
  427. }
  428. ]
  429. },
  430. // ===== 会员服务 =====
  431. {
  432. "root": "pages/membership",
  433. "pages": [
  434. {
  435. "path": "index",
  436. "style": { "navigationBarTitleText": "会员服务" }
  437. }
  438. ]
  439. }
  440. ],
  441. "globalStyle": {
  442. "navigationBarTextStyle": "black",
  443. "navigationBarTitleText": "知行益家",
  444. "navigationBarBackgroundColor": "#FFFFFF",
  445. "backgroundColor": "#F8F8F8"
  446. },
  447. "tabBar": {
  448. "color": "#7A7E83",
  449. "selectedColor": "#F97316",
  450. "borderStyle": "black",
  451. "backgroundColor": "#FFFFFF",
  452. "list": [
  453. {
  454. "pagePath": "pages/index/index",
  455. "text": "首页"
  456. },
  457. {
  458. "pagePath": "pages/body/index",
  459. "text": "身体"
  460. },
  461. {
  462. "pagePath": "pages/mind/index",
  463. "text": "心智"
  464. },
  465. {
  466. "pagePath": "pages/profile/profile",
  467. "text": "我的"
  468. }
  469. ]
  470. }
  471. }