pages.json 14 KB

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