pages.json 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  1. {
  2. "easycom": {
  3. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  6. // {
  7. // "path": "pages/response/video",
  8. // "style": {
  9. // "navigationBarTitleText": "视频通话",
  10. // "navigationBarBackgroundColor": "#ffffff",
  11. // "enablePullDownRefresh": false,
  12. // "navigationStyle": "custom"
  13. // }
  14. // },
  15. {
  16. "path": "pages/start/start",
  17. "style": {
  18. "navigationBarTitleText": "",
  19. "enablePullDownRefresh": false,
  20. "navigationStyle": "custom"
  21. }
  22. },
  23. {
  24. "path": "pages/my/index",
  25. "style": {
  26. "navigationBarTitleText": "",
  27. "navigationStyle": "custom"
  28. }
  29. },
  30. {
  31. "path": "pages/index/index",
  32. "style": {
  33. "navigationBarTitleText": "任务",
  34. "navigationBarBackgroundColor": "#ffffff",
  35. "enablePullDownRefresh": true,
  36. "app-plus": {
  37. "titleNView": {
  38. "splitLine": { //原生导航栏加下边框
  39. "color": "#e3e3e3",
  40. "height": "1px"
  41. }
  42. }
  43. },
  44. "titleNView": {
  45. "buttons": [{
  46. "text": "",
  47. "fontSize": "14px",
  48. "color": "#409eff"
  49. }]
  50. }
  51. }
  52. },
  53. {
  54. "path": "pages/login/login",
  55. "style": {
  56. "navigationBarTitleText": "",
  57. "navigationStyle": "custom"
  58. }
  59. },
  60. {
  61. "path": "pages/response/index",
  62. "style": {
  63. "navigationBarTitleText": "消息",
  64. "navigationStyle": "custom",
  65. "enablePullDownRefresh": true
  66. }
  67. },
  68. {
  69. "path": "pages/response/video",
  70. "style": {
  71. "navigationBarTitleText": "视频通话",
  72. "navigationBarBackgroundColor": "#ffffff",
  73. "enablePullDownRefresh": false,
  74. "navigationStyle": "custom"
  75. }
  76. },
  77. {
  78. "path": "pages/response/details",
  79. "style": {
  80. "navigationBarTitleText": "应答中心详情",
  81. "navigationStyle": "custom",
  82. "navigationBarBackgroundColor": "#FFFFFF",
  83. "enablePullDownRefresh": false,
  84. "disableSwipeBack": true,
  85. "app-plus": {
  86. "softinputmode": "adjustResize"
  87. }
  88. }
  89. },
  90. // {
  91. // "navigationBarBackgroundColor": "#f7f7f7",
  92. // "enablePullDownRefresh": false
  93. // }
  94. // },
  95. {
  96. "path": "pages/supervise/index",
  97. "style": {
  98. "navigationBarTitleText": "监督",
  99. "navigationBarBackgroundColor": "#FFFFFF",
  100. "enablePullDownRefresh": true,
  101. "app-plus": {
  102. "titleNView": {
  103. "splitLine": { //原生导航栏加下边框
  104. "color": "#e3e3e3",
  105. "height": "1px"
  106. }
  107. }
  108. }
  109. }
  110. },
  111. {
  112. "path": "pages/my/myinfo",
  113. "style": {
  114. "navigationBarTitleText": "个人中心",
  115. "enablePullDownRefresh": false,
  116. "disableSwipeBack": true,
  117. "navigationBarBackgroundColor": "#FFFFFF"
  118. }
  119. },
  120. {
  121. "path": "pages/my/password",
  122. "style": {
  123. "navigationBarTitleText": "修改密码",
  124. "enablePullDownRefresh": false,
  125. "navigationBarBackgroundColor": "#ffffff"
  126. }
  127. },
  128. {
  129. "path": "pages/my/monitorlog",
  130. "style": {
  131. "navigationBarTitleText": "监测日志",
  132. "enablePullDownRefresh": true,
  133. "navigationBarBackgroundColor": "#ffffff",
  134. "titleNView": {
  135. "buttons": [{
  136. "text": "",
  137. "fontSize": "14px",
  138. "color": "#409eff"
  139. }]
  140. }
  141. }
  142. },
  143. {
  144. "path": "pages/my/addcont",
  145. "style": {
  146. "navigationBarTitleText": "新增内容",
  147. "enablePullDownRefresh": false,
  148. "navigationBarBackgroundColor": "#ffffff"
  149. }
  150. },
  151. {
  152. "path": "pages/my/version",
  153. "style": {
  154. "navigationBarTitleText": "更新记录",
  155. "enablePullDownRefresh": false,
  156. "navigationBarBackgroundColor": "#ffffff",
  157. "titleNView": {
  158. "buttons": [{
  159. "text": "更新",
  160. "fontSize": "14px",
  161. "color": "#409eff"
  162. }]
  163. }
  164. }
  165. },
  166. {
  167. "path": "pages/my/mymonit",
  168. "style": {
  169. "navigationBarTitleText": "监督记录",
  170. "enablePullDownRefresh": true,
  171. "navigationBarBackgroundColor": "#ffffff"
  172. }
  173. },
  174. {
  175. "path": "pages/my/mtmonitdetails",
  176. "style": {
  177. "navigationBarTitleText": "",
  178. "enablePullDownRefresh": false,
  179. "navigationBarBackgroundColor": "#ffffff"
  180. }
  181. },
  182. {
  183. "path": "pages/my/monitorlogdata",
  184. "style": {
  185. "navigationBarTitleText": "记录详情",
  186. "enablePullDownRefresh": false,
  187. "navigationBarBackgroundColor": "#ffffff"
  188. }
  189. },
  190. {
  191. "path": "pages/index/harmfultask",
  192. "style": {
  193. "navigationBarTitleText": "",
  194. "enablePullDownRefresh": false,
  195. "navigationBarBackgroundColor": "#ffffff",
  196. "titleNView": {
  197. "buttons": [{
  198. "text": " ",
  199. "fontSize": "14px",
  200. "color": "#409eff"
  201. }]
  202. }
  203. }
  204. },
  205. {
  206. "path": "pages/index/clockDetail",
  207. "style": {
  208. "navigationBarTitleText": "签到",
  209. "enablePullDownRefresh": false,
  210. "navigationBarBackgroundColor": "#ffffff"
  211. }
  212. },
  213. {
  214. "path": "pages/index/details",
  215. "style": {
  216. "navigationBarTitleText": "任务详情",
  217. "enablePullDownRefresh": false,
  218. "navigationBarBackgroundColor": "#ffffff",
  219. "navigationBarShadow": {
  220. "colorType": "grey"
  221. },
  222. "titleNView": {
  223. "buttons": [{
  224. "text": "",
  225. "fontSize": "14px",
  226. "color": "#409eff"
  227. }]
  228. }
  229. }
  230. },
  231. {
  232. "path": "pages/index/taskEdit",
  233. "style": {
  234. "navigationBarTitleText": "任务填报",
  235. "enablePullDownRefresh": false,
  236. "navigationBarBackgroundColor": "#ffffff",
  237. "navigationBarShadow": {
  238. "colorType": "grey"
  239. }
  240. }
  241. },
  242. {
  243. "path": "pages/supervise/supetask",
  244. "style": {
  245. "navigationBarTitleText": "",
  246. "enablePullDownRefresh": false,
  247. "navigationBarBackgroundColor": "#ffffff",
  248. "titleNView": {
  249. "buttons": [{
  250. "text": " ",
  251. "fontSize": "14px",
  252. "color": "#409eff"
  253. }]
  254. }
  255. }
  256. },
  257. {
  258. "path": "pages/supervise/submitsupe",
  259. "style": {
  260. "navigationBarTitleText": "监督",
  261. "enablePullDownRefresh": false,
  262. "navigationBarBackgroundColor": "#ffffff"
  263. }
  264. },
  265. {
  266. "path": "pages/insectpest/insectpest",
  267. "style": {
  268. "navigationBarTitleText": "登记信息",
  269. "enablePullDownRefresh": false,
  270. "navigationBarBackgroundColor": "#ffffff"
  271. }
  272. },
  273. {
  274. "path": "pages/insectpest/baselist",
  275. "style": {
  276. "navigationBarTitleText": "设备列表",
  277. "enablePullDownRefresh": false,
  278. "navigationBarBackgroundColor": "#ffffff"
  279. }
  280. },
  281. {
  282. "path": "pages/addressList/index",
  283. "style": {
  284. "navigationBarTitleText": "通讯录",
  285. "enablePullDownRefresh": true,
  286. "navigationBarBackgroundColor": "#ffffff"
  287. }
  288. },
  289. {
  290. "path": "pages/my/map",
  291. "style": {
  292. "navigationBarTitleText": "我的轨迹",
  293. "navigationBarBackgroundColor": "#ffffff"
  294. }
  295. },
  296. {
  297. "path": "pages/my/warnList",
  298. "style": {
  299. "navigationBarTitleText": "预警记录",
  300. "enablePullDownRefresh": true,
  301. "navigationBarBackgroundColor": "#ffffff"
  302. }
  303. },
  304. {
  305. "path": "pages/my/formRecord/fieldSurveys",
  306. "style": {
  307. "navigationBarTitleText": "踏查记录表",
  308. "navigationBarBackgroundColor": "#ffffff"
  309. }
  310. },
  311. {
  312. "path": "pages/my/formRecord/samplePlot",
  313. "style": {
  314. "navigationBarTitleText": "样地调查表",
  315. "navigationBarBackgroundColor": "#ffffff"
  316. }
  317. },
  318. {
  319. "path": "pages/my/formRecord/trapRecord",
  320. "style": {
  321. "navigationBarTitleText": "诱捕器调查记录表",
  322. "navigationBarBackgroundColor": "#ffffff"
  323. }
  324. }
  325. ],
  326. "globalStyle": {
  327. "navigationBarTextStyle": "black",
  328. "navigationBarTitleText": "",
  329. "navigationBarBackgroundColor": "#ffffff",
  330. "backgroundColor": "#ffffff"
  331. },
  332. "tabBar": {
  333. "color": "#cdcdcd",
  334. "selectedColor": "#409eff",
  335. "borderStyle": "#e3e3e3",
  336. "backgroundColor": "#fff",
  337. "list": [{
  338. "pagePath": "pages/index/index",
  339. "iconPath": "static/tab/home.png",
  340. "selectedIconPath": "static/tab/home-active.png",
  341. "text": "任务"
  342. },
  343. {
  344. "pagePath": "pages/supervise/index",
  345. "iconPath": "static/tab/supervise.png",
  346. "selectedIconPath": "static/tab/supervise-active.png",
  347. "text": "监督"
  348. },
  349. {
  350. "pagePath": "pages/response/index",
  351. "iconPath": "static/tab/info.png",
  352. "selectedIconPath": "static/tab/info-active.png",
  353. "text": "应答"
  354. },
  355. {
  356. "pagePath": "pages/my/index",
  357. "iconPath": "static/tab/profile.png",
  358. "selectedIconPath": "static/tab/profile-active.png",
  359. "text": "我的"
  360. }
  361. ]
  362. }
  363. }