pages.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520
  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/login/login",
  8. "style": {
  9. "navigationBarTitleText": "",
  10. "enablePullDownRefresh": false,
  11. "navigationStyle": "custom"
  12. }
  13. },
  14. {
  15. "path": "pages/index/index",
  16. "style": {
  17. "navigationBarTitleText": "首页"
  18. }
  19. }, {
  20. "path": "pages/my/about/about",
  21. "style": {
  22. "navigationBarTitleText": "关于",
  23. "enablePullDownRefresh": false
  24. }
  25. }, {
  26. "path": "pages/cb/index/index",
  27. "style": {
  28. "navigationBarTitleText": "测报系统",
  29. "enablePullDownRefresh": true,
  30. "navigationStyle": "custom"
  31. }
  32. }, {
  33. "path": "pages/my/user-info/user-info",
  34. "style": {
  35. "navigationBarTitleText": "个人信息",
  36. "enablePullDownRefresh": false
  37. }
  38. }, {
  39. "path": "pages/my/feedback/feedback",
  40. "style": {
  41. "navigationBarTitleText": "反馈",
  42. "enablePullDownRefresh": false
  43. }
  44. }, {
  45. "path": "pages/search/search",
  46. "style": {
  47. "navigationBarTitleText": "",
  48. "enablePullDownRefresh": false,
  49. "app-plus": {
  50. "bounce": "none",
  51. "titleNView": {
  52. "searchInput": {
  53. "autoFocus": true,
  54. "align": "center",
  55. "placeholder": "输入设备号搜索",
  56. "borderRadius": "50px",
  57. "backgroundColor": "#E4E4E4",
  58. "placeholderColor": "#333"
  59. }
  60. }
  61. }
  62. }
  63. }, {
  64. "path": "pages/cb/equip-detail/equip-detail",
  65. "style": {
  66. "navigationBarTitleText": "设备详情",
  67. "enablePullDownRefresh": false
  68. }
  69. }, {
  70. "path": "pages/cb/cbd/equip-set/equip-set",
  71. "style": {
  72. "navigationBarTitleText": "设备控制",
  73. "enablePullDownRefresh": false
  74. }
  75. }, {
  76. "path": "pages/equipMange/index/index",
  77. "style": {
  78. "navigationBarTitleText": "设备分配主页",
  79. "enablePullDownRefresh": false,
  80. "navigationStyle": "custom"
  81. }
  82. },
  83. {
  84. "path": "pages/equipMange/index/addusers",
  85. "style": {
  86. "navigationBarTitleText": "增加用户",
  87. "enablePullDownRefresh": false,
  88. "navigationStyle": "custom"
  89. }
  90. }, {
  91. "path": "pages/equipMange/index/useroperation",
  92. "style": {
  93. "navigationBarTitleText": "用户详情",
  94. "enablePullDownRefresh": false,
  95. "navigationStyle": "custom"
  96. }
  97. }, {
  98. "path": "pages/equipMange/index/changepasswold",
  99. "style": {
  100. "navigationBarTitleText": "更改密码",
  101. "enablePullDownRefresh": false,
  102. "navigationStyle": "custom"
  103. }
  104. }, {
  105. "path": "pages/equipMange/index/assignment",
  106. "style": {
  107. "navigationBarTitleText": "分配设备",
  108. "enablePullDownRefresh": false,
  109. "navigationStyle": "custom"
  110. }
  111. }, {
  112. "path": "pages/cb/bzy/equip-set/equip-set",
  113. "style": {
  114. "navigationBarTitleText": "设备控制",
  115. "enablePullDownRefresh": false
  116. }
  117. }, {
  118. "path": "pages/cb/xy/equip-set/equip-set",
  119. "style": {
  120. "navigationBarTitleText": "设备控制",
  121. "enablePullDownRefresh": false
  122. }
  123. }, {
  124. "path": "pages/cb/sim/sim",
  125. "style": {
  126. "navigationBarTitleText": "sim卡详情",
  127. "enablePullDownRefresh": false
  128. }
  129. }, {
  130. "path": "pages/expertDiagnosis/index",
  131. "style": {
  132. "navigationBarTitleText": "专家诊断",
  133. "enablePullDownRefresh": false,
  134. "navigationStyle": "custom"
  135. }
  136. }, {
  137. "path": "pages/expertDiagnosis/wormcase",
  138. "style": {
  139. "navigationBarTitleText": "虫情百科",
  140. "enablePullDownRefresh": false,
  141. "navigationStyle": "custom"
  142. }
  143. }, {
  144. "path": "pages/expertDiagnosis/exchangeShare",
  145. "style": {
  146. "navigationBarTitleText": "交流圈",
  147. "enablePullDownRefresh": false,
  148. "navigationStyle": "custom"
  149. }
  150. }, {
  151. "path": "pages/expertDiagnosis/particulars",
  152. "style": {
  153. "navigationBarTitleText": "交流圈详情",
  154. "enablePullDownRefresh": false,
  155. "navigationStyle": "custom"
  156. }
  157. }, {
  158. "path": "pages/expertDiagnosis/postmessage",
  159. "style": {
  160. "navigationBarTitleText": "发帖",
  161. "enablePullDownRefresh": false,
  162. "navigationStyle": "custom"
  163. }
  164. }, {
  165. "path": "pages/afterSale/index",
  166. "style": {
  167. "navigationBarTitleText": "售后服务",
  168. "enablePullDownRefresh": false,
  169. "navigationStyle": "custom"
  170. }
  171. }, {
  172. "path": "pages/afterSale/search",
  173. "style": {
  174. "navigationBarTitleText": "售后服务搜索",
  175. "enablePullDownRefresh": false,
  176. "navigationStyle": "custom"
  177. }
  178. }, {
  179. "path": "pages/expertDiagnosis/introduce",
  180. "style": {
  181. "navigationBarTitleText": "病虫害介绍",
  182. "enablePullDownRefresh": false,
  183. "navigationStyle": "custom"
  184. }
  185. }, {
  186. "path": "pages/afterSale/addafter",
  187. "style": {
  188. "navigationBarTitleText": "设备报修",
  189. "enablePullDownRefresh": false,
  190. "navigationStyle": "custom"
  191. }
  192. }, {
  193. "path": "pages/my/index/index",
  194. "style": {
  195. "navigationBarTitleText": "个人中心",
  196. "enablePullDownRefresh": false,
  197. "navigationStyle": "custom"
  198. }
  199. }, {
  200. "path": "pages/equipList/index",
  201. "style": {
  202. "navigationBarTitleText": "",
  203. "enablePullDownRefresh": false,
  204. "navigationStyle": "custom"
  205. }
  206. }, {
  207. "path": "pages/equipList/search",
  208. "style": {
  209. "navigationBarTitleText": "",
  210. "enablePullDownRefresh": false,
  211. "navigationStyle": "custom"
  212. }
  213. }, {
  214. "path": "pages/equipList/modification",
  215. "style": {
  216. "navigationBarTitleText": "",
  217. "enablePullDownRefresh": false,
  218. "navigationStyle": "custom"
  219. }
  220. }, {
  221. "path": "pages/distribution/index",
  222. "style": {
  223. "navigationBarTitleText": "设备分布",
  224. "enablePullDownRefresh": false
  225. }
  226. }, {
  227. "path": "pages/fourBase/index",
  228. "style": {
  229. "navigationBarTitleText": "四情基地首页",
  230. "enablePullDownRefresh": false,
  231. "navigationStyle": "custom"
  232. }
  233. }, {
  234. "path": "pages/fourBase/addbase",
  235. "style": {
  236. "navigationBarTitleText": "新增基地",
  237. "enablePullDownRefresh": false,
  238. "navigationStyle": "custom"
  239. }
  240. }, {
  241. "path": "pages/fourBase/allocation",
  242. "style": {
  243. "navigationBarTitleText": "设备分配",
  244. "enablePullDownRefresh": false,
  245. "navigationStyle": "custom"
  246. }
  247. }, {
  248. "path": "pages/fourBase/fourbasemap",
  249. "style": {
  250. "navigationBarTitleText": "",
  251. "enablePullDownRefresh": false,
  252. "navigationStyle": "custom"
  253. }
  254. }, {
  255. "path": "pages/prevention/index",
  256. "style": {
  257. "navigationBarTitleText": "防治系统",
  258. "enablePullDownRefresh": false,
  259. "navigationStyle": "custom"
  260. }
  261. }, {
  262. "path": "pages/prevention/search",
  263. "style": {
  264. "navigationBarTitleText": "防治系统搜索",
  265. "enablePullDownRefresh": false,
  266. "navigationStyle": "custom"
  267. }
  268. }, {
  269. "path": "pages/prevention/equipmentdetails",
  270. "style": {
  271. "navigationBarTitleText": "防治系统设备详细",
  272. "enablePullDownRefresh": false,
  273. "navigationStyle": "custom"
  274. }
  275. }, {
  276. "path": "pages/prevention/sim",
  277. "style": {
  278. "navigationBarTitleText": "sim卡详情",
  279. "enablePullDownRefresh": false,
  280. "navigationStyle": "custom"
  281. }
  282. }, {
  283. "path": "pages/prevention/control",
  284. "style": {
  285. "navigationBarTitleText": "设备控制",
  286. "enablePullDownRefresh": false,
  287. "navigationStyle": "custom"
  288. }
  289. }, {
  290. "path": "pages/prevention/ucharts",
  291. "style": {
  292. "navigationBarTitleText": "历史数据",
  293. "enablePullDownRefresh": false,
  294. "navigationStyle": "custom"
  295. }
  296. }, {
  297. "path": "components/highcharts/highcharts",
  298. "style": {
  299. "navigationBarTitleText": "",
  300. "enablePullDownRefresh": false
  301. }
  302. }, {
  303. "path": "pages/environment/index",
  304. "style": {
  305. "navigationBarTitleText": "环境监测",
  306. "enablePullDownRefresh": false,
  307. "navigationStyle": "custom"
  308. }
  309. }, {
  310. "path": "pages/environment/search",
  311. "style": {
  312. "navigationBarTitleText": "环境监测搜索",
  313. "enablePullDownRefresh": false,
  314. "navigationStyle": "custom"
  315. }
  316. }, {
  317. "path": "pages/environment/equipment",
  318. "style": {
  319. "navigationBarTitleText": "环境监测设备详情",
  320. "enablePullDownRefresh": false,
  321. "navigationStyle": "custom"
  322. }
  323. }, {
  324. "path": "pages/environment/contros",
  325. "style": {
  326. "navigationBarTitleText": "环境监测控制页面",
  327. "enablePullDownRefresh": false,
  328. "navigationStyle": "custom"
  329. }
  330. }, {
  331. "path": "pages/environment/onedaythedata",
  332. "style": {
  333. "navigationBarTitleText": "环境检测24小时数据",
  334. "enablePullDownRefresh": false,
  335. "navigationStyle": "custom"
  336. }
  337. }, {
  338. "path": "pages/environment/history",
  339. "style": {
  340. "navigationBarTitleText": "环境检测历史数据",
  341. "enablePullDownRefresh": false,
  342. "navigationStyle": "custom"
  343. }
  344. }, {
  345. "path": "pages/cb/cbd/equip-set/imgpage",
  346. "style": {
  347. "navigationBarTitleText": "图片列表",
  348. "enablePullDownRefresh": false,
  349. "navigationStyle": "custom"
  350. }
  351. }, {
  352. "path": "pages/cb/cbd/equip-set/addimg",
  353. "style": {
  354. "navigationBarTitleText": "手动添加",
  355. "enablePullDownRefresh": false,
  356. "navigationStyle": "custom"
  357. }
  358. }, {
  359. "path": "pages/cb/cbd/equip-set/historyfile",
  360. "style": {
  361. "navigationBarTitleText": "测报灯历史记录",
  362. "enablePullDownRefresh": false,
  363. "navigationStyle": "custom"
  364. }
  365. }, {
  366. "path": "pages/cb/cbd/equip-set/note",
  367. "style": {
  368. "navigationBarTitleText": "短信预警",
  369. "enablePullDownRefresh": false,
  370. "navigationStyle": "custom"
  371. }
  372. }, {
  373. "path": "pages/cb/cbd/equip-set/statistics",
  374. "style": {
  375. "navigationBarTitleText": "害虫统计",
  376. "enablePullDownRefresh": false,
  377. "navigationStyle": "custom"
  378. }
  379. }, {
  380. "path": "pages/cb/bzy/equip-set/bzyhistoryile",
  381. "style": {
  382. "navigationBarTitleText": "孢子仪历史记录",
  383. "enablePullDownRefresh": false,
  384. "navigationStyle": "custom"
  385. }
  386. }, {
  387. "path": "pages/cb/xy/equip-set/xyhistoryile",
  388. "style": {
  389. "navigationBarTitleText": "性诱设备历史记录",
  390. "enablePullDownRefresh": false,
  391. "navigationStyle": "custom"
  392. }
  393. }, {
  394. "path": "pages/disandpests/index",
  395. "style": {
  396. "navigationBarTitleText": "病虫害识别",
  397. "enablePullDownRefresh": false,
  398. "navigationStyle": "custom"
  399. }
  400. }, {
  401. "path": "pages/monitor/index",
  402. "style": {
  403. "navigationBarTitleText": "监控列表",
  404. "enablePullDownRefresh": true,
  405. "navigationStyle": "custom"
  406. }
  407. }, {
  408. "path": "pages/webview",
  409. "style": {
  410. "navigationBarTitleText": "监控列表"
  411. }
  412. }
  413. ],
  414. "condition": { //模式配置,仅开发期间生效
  415. "current": 3, //当前激活的模式(list 的索引项)
  416. "list": [{
  417. "name": "about",
  418. "path": "pages/my/about/about"
  419. }, {
  420. "name": "feedback",
  421. "path": "pages/my/feedback/feedback"
  422. }, {
  423. "name": "cdIndex",
  424. "path": "pages/cb/index/index"
  425. }, {
  426. "name": "login",
  427. "path": "pages/login/login"
  428. }]
  429. },
  430. "globalStyle": {
  431. "navigationBarTextStyle": "black",
  432. "navigationBarTitleText": "大数据平台",
  433. "navigationBarBackgroundColor": "#fff",
  434. "backgroundColor": "#ff0000"
  435. },
  436. "tabBar": {
  437. "color": "#cdcdcd",
  438. "selectedColor": "#56C979",
  439. "borderStyle": "white",
  440. "list": [{
  441. "pagePath": "pages/index/index",
  442. "iconPath": "static/image/index/13.png",
  443. "selectedIconPath": "static/image/index/12.png",
  444. "text": "首页"
  445. },
  446. {
  447. "pagePath": "pages/equipList/index",
  448. "iconPath": "static/image/index/14.png",
  449. "selectedIconPath": "static/image/index/15.png",
  450. "text": "设备列表"
  451. },
  452. {
  453. "pagePath": "pages/distribution/index",
  454. "iconPath": "static/image/index/16.png",
  455. "selectedIconPath": "static/image/index/17.png",
  456. "text": "设备分布"
  457. },
  458. {
  459. "pagePath": "pages/my/index/index",
  460. "iconPath": "static/image/index/18.png",
  461. "selectedIconPath": "static/image/index/19.png",
  462. "text": "个人中心"
  463. }
  464. ]
  465. }
  466. }