pages.json 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  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/mimi",
  15. "style": {}
  16. }, {
  17. "path": "pages/login/xieyi",
  18. "style": {}
  19. }, {
  20. "path": "pages/login/register",
  21. "style": {}
  22. },
  23. {
  24. "path": "pages/login/resetpassword",
  25. "style": {}
  26. },{
  27. "path": "pages/login/settled",
  28. "style": {}
  29. }, {
  30. "path": "pages/login/loginOauth2",
  31. "style": {}
  32. },
  33. {
  34. "path": "pages/index/index",
  35. "style": {}
  36. },
  37. {
  38. "path": "pages/order/index",
  39. "style": {}
  40. },
  41. {
  42. "path": "pages/order/details",
  43. "style": {}
  44. },
  45. {
  46. "path": "pages/index/full",
  47. "style": {}
  48. },
  49. {
  50. "path": "pages/index/shop",
  51. "style": {}
  52. },
  53. {
  54. "path": "pages/product/index",
  55. "style": {}
  56. },
  57. {
  58. "path": "pages/product/search",
  59. "style": {}
  60. },
  61. {
  62. "path": "pages/product/details",
  63. "style": {}
  64. },
  65. {
  66. "path": "pages/product/creatProduct",
  67. "style": {}
  68. },
  69. {
  70. "path": "pages/product/group",
  71. "style": {}
  72. },
  73. {
  74. "path": "pages/product/usable",
  75. "style": {}
  76. },
  77. {
  78. "path": "pages/product/rule",
  79. "style": {}
  80. },
  81. {
  82. "path": "pages/evaluate/evaluate",
  83. "style": {
  84. "app-plus" : {
  85. "bounce" : "none" // 取消APP端iOS回弹,避免与下拉刷新冲突 (可统一配在 'globalStyle')
  86. }
  87. }
  88. },
  89. {
  90. "path": "pages/scan/scan",
  91. "style": {
  92. "app-plus":{
  93. "titleNView":false
  94. }
  95. }
  96. },
  97. {
  98. "path": "pages/scan/manual",
  99. "style": {}
  100. },
  101. {
  102. "path": "pages/scan/details",
  103. "style": {}
  104. },
  105. {
  106. "path": "pages/scan/record",
  107. "style": {}
  108. },
  109. {
  110. "path": "pages/scan/check",
  111. "style": {}
  112. },
  113. {
  114. "path": "pages/basics/layout",
  115. "style": {}
  116. },
  117. {
  118. "path": "pages/basics/background",
  119. "style": {}
  120. },
  121. {
  122. "path": "pages/basics/text",
  123. "style": {}
  124. },
  125. {
  126. "path": "pages/basics/icon",
  127. "style": {}
  128. },
  129. {
  130. "path": "pages/basics/button",
  131. "style": {}
  132. },
  133. {
  134. "path": "pages/basics/design",
  135. "style": {}
  136. },
  137. {
  138. "path": "pages/basics/tag",
  139. "style": {}
  140. },
  141. {
  142. "path": "pages/basics/avatar",
  143. "style": {}
  144. },
  145. {
  146. "path": "pages/basics/progress",
  147. "style": {}
  148. },
  149. {
  150. "path": "pages/basics/shadow",
  151. "style": {}
  152. },
  153. {
  154. "path": "pages/basics/loading",
  155. "style": {}
  156. },
  157. {
  158. "path": "pages/component/bar",
  159. "style": {}
  160. },
  161. {
  162. "path": "pages/component/nav",
  163. "style": {}
  164. },
  165. {
  166. "path": "pages/component/list",
  167. "style": {}
  168. },
  169. {
  170. "path": "pages/component/card",
  171. "style": {}
  172. },
  173. {
  174. "path": "pages/component/form",
  175. "style": {}
  176. },
  177. {
  178. "path": "pages/component/timeline",
  179. "style": {}
  180. },
  181. {
  182. "path": "pages/component/chat",
  183. "style": {}
  184. },
  185. {
  186. "path": "pages/component/swiper",
  187. "style": {}
  188. },
  189. {
  190. "path": "pages/component/modal",
  191. "style": {}
  192. },
  193. {
  194. "path": "pages/component/steps",
  195. "style": {}
  196. }, {
  197. "path": "pages/plugin/indexes",
  198. "style": {}
  199. }, {
  200. "path": "pages/plugin/animation",
  201. "style": {}
  202. }, {
  203. "path": "pages/plugin/drawer",
  204. "style": {}
  205. }, {
  206. "path": "pages/plugin/verticalnav",
  207. "style": {}
  208. }, {
  209. "path": "pages/home/home",
  210. "style": {}
  211. }, {
  212. "path": "pages/user/userexit",
  213. "style": {}
  214. }, {
  215. "path": "pages/user/userdetail",
  216. "style": {}
  217. }, {
  218. "path": "pages/user/useredit",
  219. "style": {}
  220. }, {
  221. "path": "pages/user/people",
  222. "style": {}
  223. }, {
  224. "path": "pages/common/exit",
  225. "style": {}
  226. }, {
  227. "path": "pages/common/success",
  228. "style": {}
  229. }, {
  230. "path": "pages/user/location",
  231. "style": {},
  232. "permission": {
  233. "scope.userLocation": {
  234. "desc": "你的位置信息将用于小程序位置接口的效果展示" // 高速公路行驶持续后台定位
  235. }
  236. }
  237. }, {
  238. "path": "pages/addressbook/address-book",
  239. "style": {}
  240. }, {
  241. "path": "pages/addressbook/level-address-book",
  242. "style": {}
  243. },
  244. {
  245. "path": "pages/addressbook/member",
  246. "style": {}
  247. }, {
  248. "path": "pages/addressbook/address-detail",
  249. "style": {}
  250. }, {
  251. "path": "pages/annotation/annotationList",
  252. "style": {
  253. "app-plus": {
  254. "bounce": "none" //删除此项: mescroll-body支持iOS回弹
  255. }
  256. }
  257. }, {
  258. "path": "pages/annotation/annotationDetail",
  259. "style": {}
  260. }, {
  261. "path": "pages/common/helloWorld",
  262. "style": {}
  263. },{
  264. "path": "pages/store/settings",
  265. "style": {}
  266. },{
  267. "path": "pages/login/map",
  268. "style": {}
  269. },{
  270. "path": "pages/login/aMap",
  271. "style": {}
  272. },{
  273. "path": "pages/store/brandMessage",
  274. "style": {}
  275. },{
  276. "path": "pages/store/businessInfor",
  277. "style": {}
  278. },{
  279. "path": "pages/store/businessQua",
  280. "style": {}
  281. },{
  282. "path": "pages/store/addHours",
  283. "style": {}
  284. },
  285. {
  286. "path": "pages/store/editStore",
  287. "style": {}
  288. },{
  289. "path": "pages/store/examine",
  290. "style": {}
  291. }
  292. ],
  293. "globalStyle": {
  294. "mp-alipay": {
  295. /* 支付宝小程序特有相关 */
  296. "transparentTitle": "always",
  297. "allowsBounceVertical": "NO"
  298. },
  299. "navigationBarBackgroundColor": "#0081ff",
  300. "navigationBarTitleText": "JEECG BOOT",
  301. "navigationStyle": "custom",
  302. "navigationBarTextStyle": "white"
  303. },
  304. "tabBar": {
  305. "color": "#ADB4B8",
  306. "selectedColor": "#333333",
  307. "backgroundColor": "#FFFFFF",
  308. "list": [{
  309. "text": "首页",
  310. "pagePath": "pages/index/index",
  311. "iconPath": "static/tabbar/index_tab.png",
  312. "selectedIconPath": "static/tabbar/index_select_tab.png"
  313. },
  314. {
  315. "text": "订单",
  316. "pagePath": "pages/order/index",
  317. "iconPath": "static/tabbar/order_tab.png",
  318. "selectedIconPath": "static/tabbar/order_select_tab.png"
  319. }
  320. // {
  321. // "text": "消息",
  322. // "pagePath": "pages/message/message",
  323. // "iconPath": "static/tabbar/msg_tab.png",
  324. // "selectedIconPath": "static/tabbar/msg_select_tab.png"
  325. // },
  326. // {
  327. // "text": "设置",
  328. // "pagePath": "pages/my/my",
  329. // "iconPath": "static/tabbar/set_tab.png",
  330. // "selectedIconPath": "static/tabbar/set_select_tab.png"
  331. // }
  332. ]
  333. },
  334. "usingComponts": true,
  335. "condition": { //模式配置,仅开发期间生效
  336. "current": 0, //当前激活的模式(list 的索引项)
  337. "list": [{
  338. "name": "表单", //模式名称
  339. "path": "pages/index/index", //启动页面
  340. "query": "" //启动参数
  341. }]
  342. }
  343. }