pages.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  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": "login/index",
  50. "style": {
  51. "navigationBarTitleText": "登录"
  52. }
  53. },
  54. {
  55. "path": "register/index",
  56. "style": {
  57. "navigationBarTitleText": "注册"
  58. }
  59. }
  60. ]
  61. },
  62. {
  63. "root": "pagesMy",
  64. "pages": [ //分包
  65. {
  66. "path": "match/index",
  67. "style": {
  68. "navigationBarTitleText": "我的赛事"
  69. }
  70. },
  71. {
  72. "path": "match/score",
  73. "style": {
  74. "navigationBarTitleText": "赛事打分"
  75. }
  76. },
  77. {
  78. "path": "match/sign",
  79. "style": {
  80. "navigationBarTitleText": "赛事报名"
  81. }
  82. },
  83. {
  84. "path": "match/active",
  85. "style": {
  86. "navigationBarTitleText": "赛事报名"
  87. }
  88. },
  89. {
  90. "path": "match/add",
  91. "style": {
  92. "navigationBarTitleText": "赛事打分"
  93. }
  94. },
  95. {
  96. "path": "activity/index",
  97. "style": {
  98. "navigationBarTitleText": "我的报名"
  99. }
  100. },
  101. {
  102. "path": "activity/add",
  103. "style": {
  104. "navigationBarTitleText": "修改报名信息"
  105. }
  106. },
  107. {
  108. "path": "activity/active",
  109. "style": {
  110. "navigationBarTitleText": "修改报名信息"
  111. }
  112. },
  113. {
  114. "path": "activity/detail",
  115. "style": {
  116. "navigationBarTitleText": "报名详情"
  117. }
  118. },
  119. {
  120. "path": "contact/index",
  121. "style": {
  122. "navigationBarTitleText": "联系我们"
  123. }
  124. },
  125. {
  126. "path": "agree/index",
  127. "style": {
  128. "navigationBarTitleText": "协议和政策"
  129. }
  130. },
  131. {
  132. "path": "about/index",
  133. "style": {
  134. "navigationBarTitleText": "关于我们"
  135. }
  136. },
  137. {
  138. "path": "account/index",
  139. "style": {
  140. "navigationBarTitleText": "账号设置"
  141. }
  142. },
  143. {
  144. "path": "account/basic",
  145. "style": {
  146. "navigationBarTitleText": "账号信息"
  147. }
  148. },
  149. {
  150. "path": "account/bind",
  151. "style": {
  152. "navigationBarTitleText": "账号绑定"
  153. }
  154. },
  155. {
  156. "path": "account/password",
  157. "style": {
  158. "navigationBarTitleText": "修改密码"
  159. }
  160. },
  161. {
  162. "path": "notice/index",
  163. "style": {
  164. "navigationBarTitleText": "我的通知"
  165. }
  166. }
  167. ]
  168. }
  169. ],
  170. "globalStyle": {
  171. "navigationBarTextStyle": "black",
  172. "navigationBarTitleText": "产学研用双创活动",
  173. "navigationBarBackgroundColor": "#ffffff"
  174. },
  175. "tabBar": {
  176. "color": "8a8a8a",
  177. "selectedColor": "#262D3D",
  178. "borderStyle": "black",
  179. "backgroundColor": "#ffffff",
  180. "list": [{
  181. "pagePath": "pages/home/index",
  182. "iconPath": "static/homeHL.png",
  183. "selectedIconPath": "static/home.png",
  184. "text": "双创活动"
  185. },
  186. {
  187. "pagePath": "pages/my/index",
  188. "iconPath": "static/myHL.png",
  189. "selectedIconPath": "static/my.png",
  190. "text": "我的"
  191. }
  192. ]
  193. },
  194. "condition": { //模式配置,仅开发期间生效
  195. "current": 0, //当前激活的模式(list 的索引项)
  196. "list": [{
  197. "name": "系统首页", //模式名称
  198. "path": "pages/index/index", //启动页面,必选
  199. "query": "" //启动参数,在页面的onLoad函数里面得到
  200. }]
  201. }
  202. }