pages.json 3.4 KB

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