四零语境前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

239 lines
4.8 KiB

1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
  1. {
  2. "pages": [
  3. {
  4. "path": "pages/index/home",
  5. "style": {
  6. "navigationStyle": "custom",
  7. "navigationBarTitleText": "主页"
  8. }
  9. },
  10. {
  11. "path": "pages/index/desk",
  12. "style": {
  13. // #ifdef H5
  14. "navigationStyle": "custom",
  15. // #endif
  16. "navigationBarTitleText": "书桌",
  17. "enablePullDownRefresh": true
  18. }
  19. },
  20. {
  21. "path": "pages/index/member",
  22. "style": {
  23. "navigationStyle": "custom",
  24. "enablePullDownRefresh": true,
  25. "navigationBarTitleText": "会员中心"
  26. }
  27. },
  28. {
  29. "path": "pages/index/user",
  30. "style": {
  31. "navigationStyle": "custom",
  32. "enablePullDownRefresh": true,
  33. "navigationBarTitleText": "用户中心"
  34. }
  35. }
  36. ],
  37. "subPackages":[
  38. {
  39. "root": "subPages",
  40. "pages":[
  41. {
  42. "path": "login/login",
  43. "style": {
  44. "navigationStyle": "custom",
  45. "navigationBarTitleText": "登录"
  46. }
  47. },
  48. {
  49. "path": "login/userInfo",
  50. "style": {
  51. "navigationStyle": "custom",
  52. "navigationBarTitleText": "用户信息"
  53. }
  54. },
  55. {
  56. "path": "home/plan",
  57. "style": {
  58. // #ifdef H5
  59. "navigationStyle": "custom",
  60. // #endif
  61. "navigationBarTitleText": "个人语境方案定制",
  62. "navigationBarTextStyle": "white",
  63. "navigationBarBackgroundColor": "#06DADC"
  64. }
  65. },
  66. {
  67. "path": "home/search",
  68. "style": {
  69. // #ifdef H5
  70. "navigationStyle": "custom",
  71. // #endif
  72. "navigationBarTitleText": "搜索"
  73. }
  74. },
  75. {
  76. "path": "home/submit",
  77. "style": {
  78. // #ifdef H5
  79. "navigationStyle": "custom",
  80. // #endif
  81. "navigationBarTitleText": "报名个人语境定制"
  82. }
  83. },
  84. {
  85. "path": "home/directory",
  86. "style": {
  87. // #ifndef H5
  88. "navigationBarTitleText": "目录",
  89. "navigationBarBackgroundColor": "#264C8F",
  90. "navigationBarTextStyle": "white",
  91. // #endif
  92. // #ifdef H5
  93. "navigationStyle": "custom",
  94. "navigationBarTitleText": "目录"
  95. // #endif
  96. }
  97. },
  98. {
  99. "path": "user/introduce",
  100. "style": {
  101. // #ifdef H5
  102. "navigationStyle": "custom",
  103. // #endif
  104. "navigationBarTitleText": "产品介绍"
  105. }
  106. },
  107. {
  108. "path": "user/policy",
  109. "style": {
  110. // #ifdef H5
  111. "navigationStyle": "custom",
  112. // #endif
  113. "navigationBarTitleText": "服务协议与隐私政策"
  114. }
  115. },
  116. {
  117. "path": "user/profile",
  118. "style": {
  119. // #ifdef H5
  120. "navigationStyle": "custom",
  121. // #endif
  122. "navigationBarTitleText": "资料修改"
  123. }
  124. },
  125. {
  126. "path": "user/discount",
  127. "style": {
  128. // #ifdef H5
  129. "navigationStyle": "custom",
  130. // #endif
  131. "navigationBarTitleText": "我的优惠券"
  132. }
  133. },
  134. {
  135. "path": "user/promote",
  136. "style": {
  137. "navigationStyle": "custom"
  138. }
  139. },
  140. {
  141. "path": "user/team",
  142. "style": {
  143. // #ifdef H5
  144. "navigationStyle": "custom",
  145. // #endif
  146. "navigationBarTitleText": "我的团队"
  147. }
  148. },
  149. {
  150. "path": "user/cash",
  151. "style": {
  152. // #ifdef H5
  153. "navigationStyle": "custom",
  154. // #endif
  155. "navigationBarTitleText": "提现"
  156. }
  157. },
  158. {
  159. "path": "member/recharge",
  160. "style": {
  161. "navigationStyle": "custom",
  162. "navigationBarTitleText": "充值"
  163. }
  164. },
  165. {
  166. "path": "home/book",
  167. "style": {
  168. "navigationStyle": "custom",
  169. "navigationBarTitleText": "书籍"
  170. }
  171. },
  172. {
  173. "path": "home/music",
  174. "style": {
  175. // #ifdef H5
  176. "navigationStyle": "custom",
  177. // #endif
  178. "navigationBarTitleText": "音乐切换"
  179. }
  180. },
  181. {
  182. "path": "user/share",
  183. "style": {
  184. // #ifdef H5
  185. "navigationStyle": "custom",
  186. // #endif
  187. "navigationBarTitleText": "分享"
  188. }
  189. }
  190. ]
  191. }
  192. ],
  193. "preloadRule": {
  194. "pages/index/home": {
  195. "network": "all",
  196. "packages": ["subPages"]
  197. }
  198. },
  199. "globalStyle": {
  200. "navigationBarTitleText": "四零语境",
  201. "navigationBarBackgroundColor": "#fff",
  202. "navigationBarTextStyle": "black"
  203. },
  204. "tabBar": {
  205. "color": "#999",
  206. "selectedColor": "#06DADC",
  207. "borderStyle": "white",
  208. "backgroundColor": "#ffffff",
  209. "list": [
  210. {
  211. "pagePath": "pages/index/home",
  212. "text": "主页",
  213. "iconPath": "/static/主页图标.png",
  214. "selectedIconPath": "/static/主页图标-点击.png"
  215. },
  216. {
  217. "pagePath": "pages/index/desk",
  218. "text": "书桌",
  219. "iconPath": "/static/书桌图标.png",
  220. "selectedIconPath": "/static/书桌图标-点击.png"
  221. },
  222. {
  223. "pagePath": "pages/index/member",
  224. "text": "会员",
  225. "iconPath": "/static/会员图标.png",
  226. "selectedIconPath": "/static/会员图标-点击.png"
  227. },
  228. {
  229. "pagePath": "pages/index/user",
  230. "text": "我的",
  231. "iconPath": "/static/我的图标.png",
  232. "selectedIconPath": "/static/我的图标-点击.png"
  233. }
  234. ]
  235. }
  236. }