pages.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. {
  2. "pages": [
  3. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  4. {
  5. "path": "pages/login/login",
  6. "style": {}
  7. }, {
  8. "path": "pages/login/loginOauth2",
  9. "style": {}
  10. },
  11. {
  12. "path": "pages/index/index",
  13. "style": {}
  14. },
  15. {
  16. "path": "pages/basics/layout",
  17. "style": {}
  18. },
  19. {
  20. "path": "pages/basics/background",
  21. "style": {}
  22. },
  23. {
  24. "path": "pages/basics/text",
  25. "style": {}
  26. },
  27. {
  28. "path": "pages/basics/icon",
  29. "style": {}
  30. },
  31. {
  32. "path": "pages/basics/button",
  33. "style": {}
  34. },
  35. {
  36. "path": "pages/basics/design",
  37. "style": {}
  38. },
  39. {
  40. "path": "pages/basics/tag",
  41. "style": {}
  42. },
  43. {
  44. "path": "pages/basics/avatar",
  45. "style": {}
  46. },
  47. {
  48. "path": "pages/basics/progress",
  49. "style": {}
  50. },
  51. {
  52. "path": "pages/basics/shadow",
  53. "style": {}
  54. },
  55. {
  56. "path": "pages/basics/loading",
  57. "style": {}
  58. },
  59. {
  60. "path": "pages/component/bar",
  61. "style": {}
  62. },
  63. {
  64. "path": "pages/component/nav",
  65. "style": {}
  66. },
  67. {
  68. "path": "pages/component/list",
  69. "style": {}
  70. },
  71. {
  72. "path": "pages/component/card",
  73. "style": {}
  74. },
  75. {
  76. "path": "pages/component/form",
  77. "style": {}
  78. },
  79. {
  80. "path": "pages/component/timeline",
  81. "style": {}
  82. },
  83. {
  84. "path": "pages/component/chat",
  85. "style": {}
  86. },
  87. {
  88. "path": "pages/component/swiper",
  89. "style": {}
  90. },
  91. {
  92. "path": "pages/component/modal",
  93. "style": {}
  94. },
  95. {
  96. "path": "pages/component/steps",
  97. "style": {}
  98. }, {
  99. "path": "pages/plugin/indexes",
  100. "style": {}
  101. }, {
  102. "path": "pages/plugin/animation",
  103. "style": {}
  104. }, {
  105. "path": "pages/plugin/drawer",
  106. "style": {}
  107. }, {
  108. "path": "pages/plugin/verticalnav",
  109. "style": {}
  110. }, {
  111. "path": "pages/home/home",
  112. "style": {}
  113. }, {
  114. "path": "pages/user/userexit",
  115. "style": {}
  116. }, {
  117. "path": "pages/user/userdetail",
  118. "style": {}
  119. },{
  120. "path": "pages/user/useredit",
  121. "style": {}
  122. }, {
  123. "path": "pages/user/people",
  124. "style": {}
  125. }, {
  126. "path": "pages/common/exit",
  127. "style": {}
  128. }, {
  129. "path": "pages/common/success",
  130. "style": {}
  131. },{
  132. "path": "pages/user/location",
  133. "style": {},
  134. "permission": {
  135. "scope.userLocation": {
  136. "desc": "你的位置信息将用于小程序位置接口的效果展示" // 高速公路行驶持续后台定位
  137. }
  138. }
  139. },{
  140. "path": "pages/addressbook/address-book",
  141. "style": {}
  142. },{
  143. "path": "pages/addressbook/level-address-book",
  144. "style": {}
  145. },
  146. {
  147. "path": "pages/addressbook/member",
  148. "style": {}
  149. },{
  150. "path": "pages/addressbook/address-detail",
  151. "style": {}
  152. },{
  153. "path": "pages/annotation/annotationList",
  154. "style": {
  155. "app-plus" : {
  156. "bounce" : "none" //删除此项: mescroll-body支持iOS回弹
  157. }
  158. }
  159. },{
  160. "path": "pages/annotation/annotationDetail",
  161. "style": {}
  162. },{
  163. "path": "pages/common/helloWorld",
  164. "style": {}
  165. }
  166. ],
  167. "globalStyle": {
  168. "mp-alipay": {
  169. /* 支付宝小程序特有相关 */
  170. "transparentTitle": "always",
  171. "allowsBounceVertical": "NO"
  172. },
  173. "navigationBarBackgroundColor": "#0081ff",
  174. "navigationBarTitleText": "JEECG BOOT",
  175. "navigationStyle": "custom",
  176. "navigationBarTextStyle": "white"
  177. },
  178. "usingComponts": true,
  179. "condition": { //模式配置,仅开发期间生效
  180. "current": 0, //当前激活的模式(list 的索引项)
  181. "list": [{
  182. "name": "表单", //模式名称
  183. "path": "pages/index/index", //启动页面
  184. "query": "" //启动参数
  185. }]
  186. }
  187. }