pages.json 3.6 KB

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