pages.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  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. "condition": { //模式配置,仅开发期间生效
  286. "current": 3, //当前激活的模式(list 的索引项)
  287. "list": [{
  288. "name": "about",
  289. "path" : "pages/my/about/about"
  290. },{
  291. "name":"feedback",
  292. "path" : "pages/my/feedback/feedback"
  293. },{
  294. "name":"cdIndex",
  295. "path" : "pages/cb/index/index"
  296. },{
  297. "name":"login",
  298. "path" : "pages/login/login"
  299. }
  300. ]
  301. },
  302. "globalStyle": {
  303. "navigationBarTextStyle": "black",
  304. "navigationBarTitleText": "大数据平台",
  305. "navigationBarBackgroundColor": "#fff",
  306. "backgroundColor": "#ff0000"
  307. },
  308. "tabBar": {
  309. "color": "#cdcdcd",
  310. "selectedColor": "#56C979",
  311. "borderStyle": "white",
  312. "list": [
  313. {
  314. "pagePath": "pages/index/index",
  315. "iconPath":"static/image/index/13.png",
  316. "selectedIconPath":"static/image/index/12.png",
  317. "text": "首页"
  318. },
  319. {
  320. "pagePath": "pages/equipList/index",
  321. "iconPath":"static/image/index/14.png",
  322. "selectedIconPath":"static/image/index/15.png",
  323. "text": "设备列表"
  324. },
  325. {
  326. "pagePath": "pages/distribution/index",
  327. "iconPath":"static/image/index/16.png",
  328. "selectedIconPath":"static/image/index/17.png",
  329. "text": "设备分布"
  330. },
  331. {
  332. "pagePath": "pages/my/index/index",
  333. "iconPath":"static/image/index/18.png",
  334. "selectedIconPath":"static/image/index/19.png",
  335. "text": "个人中心"
  336. }
  337. ]
  338. }
  339. }