pages.json 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. {
  2. "easycom": {
  3. "autoscan": true,
  4. "custom": {
  5. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  6. }
  7. },
  8. "pages": [
  9. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  10. {
  11. "path": "pages/login/login",
  12. "style": {}
  13. }, {
  14. "path": "pages/login/loginOauth2",
  15. "style": {}
  16. },
  17. {
  18. "path": "pages/index/index",
  19. "style": {}
  20. },
  21. {
  22. "path": "pages/order/index",
  23. "style": {}
  24. },
  25. {
  26. "path": "pages/order/details",
  27. "style": {}
  28. },
  29. {
  30. "path": "pages/index/full",
  31. "style": {}
  32. },
  33. {
  34. "path": "pages/product/index",
  35. "style": {}
  36. },
  37. {
  38. "path": "pages/product/search",
  39. "style": {}
  40. },
  41. {
  42. "path": "pages/product/details",
  43. "style": {}
  44. },
  45. {
  46. "path": "pages/product/creatProduct",
  47. "style": {}
  48. },
  49. {
  50. "path": "pages/product/group",
  51. "style": {}
  52. },
  53. {
  54. "path": "pages/product/usable",
  55. "style": {}
  56. },
  57. {
  58. "path": "pages/product/rule",
  59. "style": {}
  60. },
  61. {
  62. "path": "pages/evaluate/evaluate",
  63. "style": {}
  64. },
  65. {
  66. "path": "pages/scan/scan",
  67. "style": {
  68. "app-plus":{
  69. "titleNView":false
  70. }
  71. }
  72. },
  73. {
  74. "path": "pages/scan/manual",
  75. "style": {}
  76. },
  77. {
  78. "path": "pages/scan/details",
  79. "style": {}
  80. },
  81. {
  82. "path": "pages/scan/record",
  83. "style": {}
  84. },
  85. {
  86. "path": "pages/basics/layout",
  87. "style": {}
  88. },
  89. {
  90. "path": "pages/basics/background",
  91. "style": {}
  92. },
  93. {
  94. "path": "pages/basics/text",
  95. "style": {}
  96. },
  97. {
  98. "path": "pages/basics/icon",
  99. "style": {}
  100. },
  101. {
  102. "path": "pages/basics/button",
  103. "style": {}
  104. },
  105. {
  106. "path": "pages/basics/design",
  107. "style": {}
  108. },
  109. {
  110. "path": "pages/basics/tag",
  111. "style": {}
  112. },
  113. {
  114. "path": "pages/basics/avatar",
  115. "style": {}
  116. },
  117. {
  118. "path": "pages/basics/progress",
  119. "style": {}
  120. },
  121. {
  122. "path": "pages/basics/shadow",
  123. "style": {}
  124. },
  125. {
  126. "path": "pages/basics/loading",
  127. "style": {}
  128. },
  129. {
  130. "path": "pages/component/bar",
  131. "style": {}
  132. },
  133. {
  134. "path": "pages/component/nav",
  135. "style": {}
  136. },
  137. {
  138. "path": "pages/component/list",
  139. "style": {}
  140. },
  141. {
  142. "path": "pages/component/card",
  143. "style": {}
  144. },
  145. {
  146. "path": "pages/component/form",
  147. "style": {}
  148. },
  149. {
  150. "path": "pages/component/timeline",
  151. "style": {}
  152. },
  153. {
  154. "path": "pages/component/chat",
  155. "style": {}
  156. },
  157. {
  158. "path": "pages/component/swiper",
  159. "style": {}
  160. },
  161. {
  162. "path": "pages/component/modal",
  163. "style": {}
  164. },
  165. {
  166. "path": "pages/component/steps",
  167. "style": {}
  168. }, {
  169. "path": "pages/plugin/indexes",
  170. "style": {}
  171. }, {
  172. "path": "pages/plugin/animation",
  173. "style": {}
  174. }, {
  175. "path": "pages/plugin/drawer",
  176. "style": {}
  177. }, {
  178. "path": "pages/plugin/verticalnav",
  179. "style": {}
  180. }, {
  181. "path": "pages/home/home",
  182. "style": {}
  183. }, {
  184. "path": "pages/user/userexit",
  185. "style": {}
  186. }, {
  187. "path": "pages/user/userdetail",
  188. "style": {}
  189. }, {
  190. "path": "pages/user/useredit",
  191. "style": {}
  192. }, {
  193. "path": "pages/user/people",
  194. "style": {}
  195. }, {
  196. "path": "pages/common/exit",
  197. "style": {}
  198. }, {
  199. "path": "pages/common/success",
  200. "style": {}
  201. }, {
  202. "path": "pages/user/location",
  203. "style": {},
  204. "permission": {
  205. "scope.userLocation": {
  206. "desc": "你的位置信息将用于小程序位置接口的效果展示" // 高速公路行驶持续后台定位
  207. }
  208. }
  209. }, {
  210. "path": "pages/addressbook/address-book",
  211. "style": {}
  212. }, {
  213. "path": "pages/addressbook/level-address-book",
  214. "style": {}
  215. },
  216. {
  217. "path": "pages/addressbook/member",
  218. "style": {}
  219. }, {
  220. "path": "pages/addressbook/address-detail",
  221. "style": {}
  222. }, {
  223. "path": "pages/annotation/annotationList",
  224. "style": {
  225. "app-plus": {
  226. "bounce": "none" //删除此项: mescroll-body支持iOS回弹
  227. }
  228. }
  229. }, {
  230. "path": "pages/annotation/annotationDetail",
  231. "style": {}
  232. }, {
  233. "path": "pages/common/helloWorld",
  234. "style": {}
  235. }
  236. ],
  237. "globalStyle": {
  238. "mp-alipay": {
  239. /* 支付宝小程序特有相关 */
  240. "transparentTitle": "always",
  241. "allowsBounceVertical": "NO"
  242. },
  243. "navigationBarBackgroundColor": "#0081ff",
  244. "navigationBarTitleText": "JEECG BOOT",
  245. "navigationStyle": "custom",
  246. "navigationBarTextStyle": "white"
  247. },
  248. "tabBar": {
  249. "color": "#ADB4B8",
  250. "selectedColor": "#333333",
  251. "backgroundColor": "#FFFFFF",
  252. "list": [{
  253. "text": "首页",
  254. "pagePath": "pages/index/index",
  255. "iconPath": "",
  256. "selectedIconPath": ""
  257. },
  258. {
  259. "text": "订单",
  260. "pagePath": "pages/order/index",
  261. "iconPath": "",
  262. "selectedIconPath": ""
  263. },
  264. {
  265. "text": "消息",
  266. "pagePath": "pages/identify/identify",
  267. "iconPath": "",
  268. "selectedIconPath": ""
  269. },
  270. {
  271. "text": "设置",
  272. "pagePath": "pages/my/my",
  273. "iconPath": "",
  274. "selectedIconPath": ""
  275. }
  276. ]
  277. },
  278. "usingComponts": true,
  279. "condition": { //模式配置,仅开发期间生效
  280. "current": 0, //当前激活的模式(list 的索引项)
  281. "list": [{
  282. "name": "表单", //模式名称
  283. "path": "pages/index/index", //启动页面
  284. "query": "" //启动参数
  285. }]
  286. }
  287. }