pages.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419
  1. {
  2. // 如果您是通过uni_modules形式引入uView,可以忽略此配置
  3. "easycom": {
  4. "^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue"
  5. },
  6. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  7. {
  8. "path": "pages/login/index",
  9. "style": {
  10. // "navigationBarTitleText": "uni-app",
  11. // "navigationBarBackgroundColor": "transparent"
  12. "transparentTitle": "always"
  13. }
  14. },
  15. {
  16. "path": "pages/register/index",
  17. "style": {
  18. "navigationStyle": "custom" // 隐藏系统导航栏
  19. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  20. }
  21. },
  22. {
  23. "path": "pages/registerSucceed/index",
  24. "style": {
  25. "navigationStyle": "custom" // 隐藏系统导航栏
  26. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  27. }
  28. },
  29. {
  30. "path": "pages/addCarSucceed/index",
  31. "style": {
  32. "navigationStyle": "custom" // 隐藏系统导航栏
  33. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  34. }
  35. },
  36. {
  37. "path": "pages/addUserSucceed/index",
  38. "style": {
  39. "navigationStyle": "custom" // 隐藏系统导航栏
  40. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  41. }
  42. },
  43. {
  44. "path": "pages/addPathSucceed/index",
  45. "style": {
  46. "navigationStyle": "custom" // 隐藏系统导航栏
  47. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  48. }
  49. },
  50. {
  51. "path": "pages/addTransportSucceed/index",
  52. "style": {
  53. "navigationStyle": "custom" // 隐藏系统导航栏
  54. }
  55. },
  56. {
  57. "path": "pages/home/index",
  58. "style": {
  59. "navigationStyle": "custom" // 隐藏系统导航栏
  60. }
  61. },
  62. {
  63. "path": "pages/my/index",
  64. "style": {
  65. "navigationStyle": "custom" // 隐藏系统导航栏
  66. }
  67. },
  68. {
  69. "path": "pages/center/index",
  70. "style": {
  71. "navigationStyle": "custom" // 隐藏系统导航栏
  72. }
  73. },
  74. {
  75. "path": "pages/car/index",
  76. "style": {
  77. "navigationStyle": "custom" // 隐藏系统导航栏
  78. }
  79. },
  80. {
  81. "path": "pages/addCar/index",
  82. "style": {
  83. "navigationStyle": "custom" // 隐藏系统导航栏
  84. }
  85. },
  86. {
  87. "path": "pages/carInfo/index",
  88. "style": {
  89. "navigationStyle": "custom" // 隐藏系统导航栏
  90. }
  91. },
  92. {
  93. "path": "pages/carInfoHome/index",
  94. "style": {
  95. "navigationStyle": "custom" // 隐藏系统导航栏
  96. }
  97. },
  98. {
  99. "path": "pages/userInfoHome/index",
  100. "style": {
  101. "navigationStyle": "custom" // 隐藏系统导航栏
  102. }
  103. },
  104. {
  105. "path": "pages/user/index",
  106. "style": {
  107. "navigationStyle": "custom" // 隐藏系统导航栏
  108. }
  109. },
  110. {
  111. "path": "pages/addUser/index",
  112. "style": {
  113. "navigationStyle": "custom" // 隐藏系统导航栏
  114. }
  115. },
  116. {
  117. "path": "pages/userInfo/index",
  118. "style": {
  119. "navigationStyle": "custom" // 隐藏系统导航栏
  120. }
  121. },
  122. {
  123. "path": "pages/transport/index",
  124. "style": {
  125. "navigationStyle": "custom" // 隐藏系统导航栏
  126. }
  127. },
  128. {
  129. "path": "pages/addTransport/index",
  130. "style": {
  131. "navigationStyle": "custom" // 隐藏系统导航栏
  132. }
  133. },
  134. {
  135. "path": "pages/transportInfo/index",
  136. "style": {
  137. "navigationStyle": "custom" // 隐藏系统导航栏
  138. }
  139. },
  140. {
  141. "path": "pages/path/index",
  142. "style": {
  143. "navigationStyle": "custom" // 隐藏系统导航栏
  144. }
  145. },
  146. {
  147. "path": "pages/addPath/index",
  148. "style": {
  149. "navigationStyle": "custom" // 隐藏系统导航栏
  150. }
  151. },
  152. {
  153. "path": "pages/pathInfo/index",
  154. "style": {
  155. "navigationStyle": "custom" // 隐藏系统导航栏
  156. }
  157. },
  158. {
  159. "path": "pages/dotPath/index",
  160. "style": {
  161. "navigationStyle": "custom" // 隐藏系统导航栏
  162. // "navigationBarTitleText": "uni-app",
  163. // "app-plus": {
  164. // "titleNView": false,
  165. // "subNVues": [
  166. // {
  167. // "id":"drawer",
  168. // "path": "pages/dotPath/index",
  169. // "style": {
  170. // "position": "popup",
  171. // "width": "100%",
  172. // "height": "100%"
  173. // }
  174. // }
  175. // ]
  176. // }
  177. }
  178. },
  179. {
  180. "path": "pages/recordDetail/index",
  181. "style": {
  182. "navigationStyle": "custom" // 隐藏系统导航栏
  183. }
  184. },
  185. {
  186. "path": "pages/record/index",
  187. "style": {
  188. "navigationStyle": "custom" // 隐藏系统导航栏
  189. }
  190. },
  191. {
  192. "path": "pages/editInfo/index",
  193. "style": {
  194. "navigationStyle": "custom" // 隐藏系统导航栏
  195. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  196. }
  197. },
  198. {
  199. "path": "pages/editPassword/index",
  200. "style": {
  201. "navigationStyle": "custom" // 隐藏系统导航栏
  202. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  203. }
  204. },
  205. {
  206. "path": "pages/forgetUsername/index",
  207. "style": {
  208. "navigationStyle": "custom" // 隐藏系统导航栏
  209. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  210. }
  211. },
  212. {
  213. "path": "pages/violation/index",
  214. "style": {
  215. "navigationStyle": "custom" // 隐藏系统导航栏
  216. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  217. }
  218. },
  219. // 司机端
  220. {
  221. "path": "pages/driverHome/index",
  222. "style": {
  223. "navigationStyle": "custom" // 隐藏系统导航栏
  224. }
  225. },
  226. {
  227. "path": "pages/driverStartTransport/index",
  228. "style": {
  229. "navigationStyle": "custom" // 隐藏系统导航栏
  230. }
  231. },
  232. {
  233. "path": "pages/driverStartTransportInfo/index",
  234. "style": {
  235. "navigationStyle": "custom" // 隐藏系统导航栏
  236. }
  237. },
  238. {
  239. "path": "pages/driverStartTransportDoPath/index",
  240. "style": {
  241. "navigationStyle": "custom" // 隐藏系统导航栏
  242. }
  243. },
  244. {
  245. "path": "pages/driverFinishTransport/index",
  246. "style": {
  247. "navigationStyle": "custom" // 隐藏系统导航栏
  248. }
  249. }, {
  250. "path": "pages/driverLookTransport/index",
  251. "style": {
  252. "navigationStyle": "custom" // 隐藏系统导航栏
  253. }
  254. }, {
  255. "path": "pages/driverLookTransportDetail/index",
  256. "style": {
  257. "navigationStyle": "custom" // 隐藏系统导航栏
  258. }
  259. }, {
  260. "path": "pages/driverEditInfo/index",
  261. "style": {
  262. "navigationStyle": "custom" // 隐藏系统导航栏
  263. }
  264. },
  265. // 城管端
  266. {
  267. "path": "pages/cityHome/index",
  268. "style": {
  269. "navigationStyle": "custom" // 隐藏系统导航栏
  270. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  271. }
  272. },
  273. {
  274. "path": "pages/cityEditInfo/index",
  275. "style": {
  276. "navigationStyle": "custom" // 隐藏系统导航栏
  277. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  278. }
  279. },
  280. {
  281. "path": "pages/cityCompanyDetail/index",
  282. "style": {
  283. "navigationStyle": "custom" // 隐藏系统导航栏
  284. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  285. }
  286. },
  287. {
  288. "path": "pages/cityCar/index",
  289. "style": {
  290. "navigationStyle": "custom" // 隐藏系统导航栏
  291. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  292. }
  293. },
  294. {
  295. "path": "pages/cityCarDetail/index",
  296. "style": {
  297. "navigationStyle": "custom" // 隐藏系统导航栏
  298. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  299. }
  300. },
  301. {
  302. "path": "pages/cityPath/index",
  303. "style": {
  304. "navigationStyle": "custom" // 隐藏系统导航栏
  305. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  306. }
  307. },
  308. {
  309. "path": "pages/cityPathDetail/index",
  310. "style": {
  311. "navigationStyle": "custom" // 隐藏系统导航栏
  312. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  313. }
  314. },
  315. {
  316. "path": "pages/cityAddPath/index",
  317. "style": {
  318. "navigationStyle": "custom" // 隐藏系统导航栏
  319. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  320. }
  321. },
  322. {
  323. "path": "pages/cityTransport/index",
  324. "style": {
  325. "navigationStyle": "custom" // 隐藏系统导航栏
  326. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  327. }
  328. },
  329. {
  330. "path": "pages/cityTransportDetail/index",
  331. "style": {
  332. "navigationStyle": "custom" // 隐藏系统导航栏
  333. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  334. }
  335. },
  336. {
  337. "path": "pages/cityRecord/index",
  338. "style": {
  339. "navigationStyle": "custom" // 隐藏系统导航栏
  340. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  341. }
  342. },
  343. {
  344. "path": "pages/cityRecordDetail/index",
  345. "style": {
  346. "navigationStyle": "custom" // 隐藏系统导航栏
  347. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  348. }
  349. },
  350. {
  351. "path": "pages/cityDotPath/index",
  352. "style": {
  353. "navigationStyle": "custom" // 隐藏系统导航栏
  354. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  355. }
  356. },
  357. {
  358. "path": "pages/safeInfo/index",
  359. "style": {
  360. "navigationStyle": "custom" // 隐藏系统导航栏
  361. // "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  362. }
  363. },
  364. {
  365. "path": "pages/map4/index",
  366. "style": {
  367. "navigationBarTitleText": "",
  368. "app-plus": {
  369. "titleNView": false,
  370. "subNVues": [{
  371. "id": "drawer",
  372. "path": "pages/map4/index",
  373. "style": {
  374. "position": "popup",
  375. "width": "100%",
  376. "height": "100%"
  377. }
  378. }]
  379. }
  380. }
  381. }
  382. ],
  383. // "tabBar": {
  384. // // "color": "#000000",
  385. // // "selectedColor": "#000000",
  386. // // "borderStyle": "white",
  387. // "backgroundColor": "transparent",
  388. // "backgroundImage": "static/images/nav_bg.png",
  389. // "height": "70px",
  390. // "list": [{
  391. // "iconPath": "static/images/nav_01.png",
  392. // "selectedIconPath": "static/images/nav_02.png",
  393. // "pagePath": "pages/home/index",
  394. // "text": "首页"
  395. // },
  396. // {
  397. // "iconPath": "static/images/nav_03.png",
  398. // "selectedIconPath": "static/images/nav_04.png",
  399. // "pagePath": "pages/center/index",
  400. // "text": "组织机构"
  401. // },
  402. // {
  403. // "iconPath": "static/images/nav_05.png",
  404. // "selectedIconPath": "static/images/nav_06.png",
  405. // "pagePath": "pages/my/index",
  406. // "text": "我的"
  407. // }
  408. // ]
  409. // },
  410. "globalStyle": {
  411. "navigationBarTextStyle": "black",
  412. "navigationBarTitleText": "uni-app",
  413. "navigationBarBackgroundColor": "#F8F8F8",
  414. "backgroundColor": "#F8F8F8"
  415. },
  416. "uniIdRouter": {}
  417. }