pages.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. {
  2. "pages": [{
  3. "path": "pages/index/index",
  4. "style": {
  5. "navigationBarTitleText": "系统首页",
  6. "navigationStyle": "custom",
  7. "app-plus": {
  8. "titleNView": false //禁用原生导航栏
  9. }
  10. }
  11. },
  12. {
  13. "path": "pages/home/index",
  14. "style": {
  15. "navigationBarTitleText": "双创活动",
  16. "enablePullDownRefresh": true
  17. }
  18. },
  19. {
  20. "path": "pages/my/index",
  21. "style": {
  22. "navigationBarTitleText": "我的"
  23. }
  24. }
  25. ],
  26. "subPackages": [ //分包配置
  27. {
  28. "root": "pagesHome",
  29. "pages": [ //分包
  30. {
  31. "path": "match/index",
  32. "style": {
  33. "navigationBarTitleText": "活动详情"
  34. }
  35. },
  36. {
  37. "path": "match/sign",
  38. "style": {
  39. "navigationBarTitleText": "活动报名"
  40. }
  41. },
  42. {
  43. "path": "match/active",
  44. "style": {
  45. "navigationBarTitleText": "活动报名"
  46. }
  47. },
  48. {
  49. "path": "investigate/index",
  50. "style": {
  51. "navigationBarTitleText": "报名时间"
  52. }
  53. },
  54. {
  55. "path": "login/index",
  56. "style": {
  57. "navigationBarTitleText": "登录"
  58. }
  59. },
  60. {
  61. "path": "register/index",
  62. "style": {
  63. "navigationBarTitleText": "注册"
  64. }
  65. }
  66. ]
  67. },
  68. {
  69. "root": "pagesMy",
  70. "pages": [ //分包
  71. {
  72. "path": "match/index",
  73. "style": {
  74. "navigationBarTitleText": "我的赛事"
  75. }
  76. },
  77. {
  78. "path": "match/score",
  79. "style": {
  80. "navigationBarTitleText": "赛事打分"
  81. }
  82. },
  83. {
  84. "path": "match/sign",
  85. "style": {
  86. "navigationBarTitleText": "赛事报名"
  87. }
  88. },
  89. {
  90. "path": "match/preliminary",
  91. "style": {
  92. "navigationBarTitleText": "赛事报名"
  93. }
  94. },
  95. {
  96. "path": "match/active",
  97. "style": {
  98. "navigationBarTitleText": "赛事报名"
  99. }
  100. },
  101. {
  102. "path": "match/add",
  103. "style": {
  104. "navigationBarTitleText": "赛事打分"
  105. }
  106. },
  107. {
  108. "path": "activity/index",
  109. "style": {
  110. "navigationBarTitleText": "我的报名"
  111. }
  112. },
  113. {
  114. "path": "activity/add",
  115. "style": {
  116. "navigationBarTitleText": "修改报名信息"
  117. }
  118. },
  119. {
  120. "path": "activity/active",
  121. "style": {
  122. "navigationBarTitleText": "修改报名信息"
  123. }
  124. },
  125. {
  126. "path": "activity/detail",
  127. "style": {
  128. "navigationBarTitleText": "报名详情"
  129. }
  130. },
  131. {
  132. "path": "contact/index",
  133. "style": {
  134. "navigationBarTitleText": "联系我们"
  135. }
  136. },
  137. {
  138. "path": "agree/index",
  139. "style": {
  140. "navigationBarTitleText": "协议和政策"
  141. }
  142. },
  143. {
  144. "path": "about/index",
  145. "style": {
  146. "navigationBarTitleText": "关于我们"
  147. }
  148. },
  149. {
  150. "path": "account/index",
  151. "style": {
  152. "navigationBarTitleText": "账号设置"
  153. }
  154. },
  155. {
  156. "path": "account/basic",
  157. "style": {
  158. "navigationBarTitleText": "账号信息"
  159. }
  160. },
  161. {
  162. "path": "account/bind",
  163. "style": {
  164. "navigationBarTitleText": "账号绑定"
  165. }
  166. },
  167. {
  168. "path": "account/password",
  169. "style": {
  170. "navigationBarTitleText": "修改密码"
  171. }
  172. },
  173. {
  174. "path": "notice/index",
  175. "style": {
  176. "navigationBarTitleText": "我的通知"
  177. }
  178. },
  179. {
  180. "path": "preliminary/index",
  181. "style": {
  182. "navigationBarTitleText": "报名信息"
  183. }
  184. },
  185. {
  186. "path": "preliminary/edit",
  187. "style": {
  188. "navigationBarTitleText": "修改报名信息"
  189. }
  190. },
  191. {
  192. "path": "preliminary/view",
  193. "style": {
  194. "navigationBarTitleText": "查看报名信息"
  195. }
  196. },
  197. {
  198. "path": "preliminary/finals",
  199. "style": {
  200. "navigationBarTitleText": "决赛时间确认"
  201. }
  202. }
  203. ]
  204. }
  205. ],
  206. "globalStyle": {
  207. "navigationBarTextStyle": "black",
  208. "navigationBarTitleText": "产学研用双创活动",
  209. "navigationBarBackgroundColor": "#ffffff"
  210. },
  211. "tabBar": {
  212. "color": "8a8a8a",
  213. "selectedColor": "#262D3D",
  214. "borderStyle": "black",
  215. "backgroundColor": "#ffffff",
  216. "list": [{
  217. "pagePath": "pages/home/index",
  218. "iconPath": "static/homeHL.png",
  219. "selectedIconPath": "static/home.png",
  220. "text": "双创活动"
  221. },
  222. {
  223. "pagePath": "pages/my/index",
  224. "iconPath": "static/myHL.png",
  225. "selectedIconPath": "static/my.png",
  226. "text": "我的"
  227. }
  228. ]
  229. },
  230. "condition": { //模式配置,仅开发期间生效
  231. "current": 0, //当前激活的模式(list 的索引项)
  232. "list": [{
  233. "name": "系统首页", //模式名称
  234. "path": "pages/index/index", //启动页面,必选
  235. "query": "" //启动参数,在页面的onLoad函数里面得到
  236. }]
  237. }
  238. }