zidonghua.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772
  1. <template>
  2. <view>
  3. <!-- 头图 -->
  4. <view class="top_img">
  5. <!-- 通风管理 -->
  6. <view v-if="zdhxt == 'tfgl'">
  7. <image src="./img/tfgl.jpg" mode=""></image>
  8. </view>
  9. <!-- 压风制氮 -->
  10. <view v-if="zdhxt == 'yfzd'">
  11. <image src="./img/yfzd.jpg" mode=""></image>
  12. </view>
  13. <!-- 排水系统 -->
  14. <view v-if="zdhxt == 'psxt'">
  15. <image src="./img/psxt.jpg" mode=""></image>
  16. </view>
  17. <!-- 主运输 -->
  18. <view v-if="zdhxt == 'zys'">
  19. <image src="./img/zys.jpg" mode=""></image>
  20. </view>
  21. <!-- 巷道图 -->
  22. <view v-if="zdhxt == 'xdt'">
  23. <image src="./img/xdt.jpg" mode=""></image>
  24. </view>
  25. <!-- 矿压监测 -->
  26. <view v-if="zdhxt == 'kyjc'">
  27. <image src="./img/kyjc.jpg" mode=""></image>
  28. </view>
  29. <!-- 提升机 -->
  30. <view v-if="zdhxt == 'tsj'">
  31. <image src="./img/tsj.jpg" mode=""></image>
  32. </view>
  33. <!-- 架空人车 -->
  34. <view v-if="zdhxt == 'jkrc'">
  35. <image src="./img/jkrc.jpg" mode=""></image>
  36. </view>
  37. <!-- 锅炉烟气 -->
  38. <view v-if="zdhxt == 'glyq'">
  39. <image src="./img/glyq.jpg" mode=""></image>
  40. </view>
  41. </view>
  42. <!-- 列表 -->
  43. <view class="list">
  44. <!-- 通风管理 -->
  45. <view v-if="zdhxt == 'tfgl'">
  46. <view class="item" v-for="(item,index) in data_tfgl" :key="index">
  47. <view class="title" @click="item_active(index)">
  48. <view class="left">
  49. <view class="icon"></view>
  50. <view class="name">
  51. {{item.name}}
  52. </view>
  53. </view>
  54. <view class="right" v-if="index != active">
  55. <uni-icons type="arrowright"></uni-icons>
  56. </view>
  57. <view class="right" v-if="index == active">
  58. <uni-icons type="arrowdown"></uni-icons>
  59. </view>
  60. </view>
  61. <view class="inner_list" v-if="active == index">
  62. <view class="inner_item" v-for="(item_2,index_2) in item.list" :key="index_2"
  63. @click="inner_item_active(item_2)">
  64. <view class="inner_icon"></view>
  65. <view class="inner_name">{{item_2.name}}</view>
  66. </view>
  67. </view>
  68. </view>
  69. </view>
  70. <!-- 压风制氮 -->
  71. <view v-if="zdhxt == 'yfzd'">
  72. <view class="item" v-for="(item,index) in data_yfzd" :key="index">
  73. <view class="title" @click="item_active(index)">
  74. <view class="left">
  75. <view class="icon"></view>
  76. <view class="name">
  77. {{item.name}}
  78. </view>
  79. </view>
  80. <view class="right" v-if="index != active">
  81. <uni-icons type="arrowright"></uni-icons>
  82. </view>
  83. <view class="right" v-if="index == active">
  84. <uni-icons type="arrowdown"></uni-icons>
  85. </view>
  86. </view>
  87. <view class="inner_list" v-if="active == index">
  88. <view class="inner_item" v-for="(item_2,index_2) in item.list" :key="index_2"
  89. @click="inner_item_active(item_2)">
  90. <view class="inner_icon"></view>
  91. <view class="inner_name">{{item_2.name}}</view>
  92. </view>
  93. </view>
  94. </view>
  95. </view>
  96. <!-- 排水系统 -->
  97. <view v-if="zdhxt == 'psxt'">
  98. <view class="item" v-for="(item,index) in data_psxt" :key="index">
  99. <view class="title" @click="item_active(index)">
  100. <view class="left">
  101. <view class="icon"></view>
  102. <view class="name">
  103. {{item.name}}
  104. </view>
  105. </view>
  106. <view class="right" v-if="index != active">
  107. <uni-icons type="arrowright"></uni-icons>
  108. </view>
  109. <view class="right" v-if="index == active">
  110. <uni-icons type="arrowdown"></uni-icons>
  111. </view>
  112. </view>
  113. <view class="inner_list" v-if="active == index">
  114. <view class="inner_item" v-for="(item_2,index_2) in item.list" :key="index_2"
  115. @click="inner_item_active(item_2)">
  116. <view class="inner_icon"></view>
  117. <view class="inner_name">{{item_2.name}}</view>
  118. </view>
  119. </view>
  120. </view>
  121. </view>
  122. <!-- 主运输 -->
  123. <view v-if="zdhxt == 'zys'">
  124. <view class="item" v-for="(item,index) in data_zys" :key="index">
  125. <view class="title" @click="item_active(index)">
  126. <view class="left">
  127. <view class="icon"></view>
  128. <view class="name">
  129. {{item.name}}
  130. </view>
  131. </view>
  132. <view class="right" v-if="index != active">
  133. <uni-icons type="arrowright"></uni-icons>
  134. </view>
  135. <view class="right" v-if="index == active">
  136. <uni-icons type="arrowdown"></uni-icons>
  137. </view>
  138. </view>
  139. <view class="inner_list" v-if="active == index">
  140. <view class="inner_item" v-for="(item_2,index_2) in item.list" :key="index_2"
  141. @click="inner_item_active(item_2)">
  142. <view class="inner_icon"></view>
  143. <view class="inner_name">{{item_2.name}}</view>
  144. </view>
  145. </view>
  146. </view>
  147. </view>
  148. <!-- 巷道图 -->
  149. <view v-if="zdhxt == 'xdt'">
  150. <view class="item" v-for="(item,index) in data_xdt" :key="index">
  151. <view class="title" @click="item_active(index)">
  152. <view class="left">
  153. <view class="icon"></view>
  154. <view class="name">
  155. {{item.name}}
  156. </view>
  157. </view>
  158. <view class="right" v-if="index != active">
  159. <uni-icons type="arrowright"></uni-icons>
  160. </view>
  161. <view class="right" v-if="index == active">
  162. <uni-icons type="arrowdown"></uni-icons>
  163. </view>
  164. </view>
  165. <view class="inner_list" v-if="active == index">
  166. <view class="inner_item" v-for="(item_2,index_2) in item.list" :key="index_2"
  167. @click="inner_item_active(item_2)">
  168. <view class="inner_icon"></view>
  169. <view class="inner_name">{{item_2.name}}</view>
  170. </view>
  171. </view>
  172. </view>
  173. </view>
  174. <!-- 矿压监测 -->
  175. <view v-if="zdhxt == 'kyjc'">
  176. <view class="item" v-for="(item,index) in data_kyjc" :key="index">
  177. <view class="title" @click="item_active(index)">
  178. <view class="left">
  179. <view class="icon"></view>
  180. <view class="name">
  181. {{item.name}}
  182. </view>
  183. </view>
  184. <view class="right" v-if="index != active">
  185. <uni-icons type="arrowright"></uni-icons>
  186. </view>
  187. <view class="right" v-if="index == active">
  188. <uni-icons type="arrowdown"></uni-icons>
  189. </view>
  190. </view>
  191. <view class="inner_list" v-if="active == index">
  192. <view class="inner_item" v-for="(item_2,index_2) in item.list" :key="index_2"
  193. @click="inner_item_active(item_2)">
  194. <view class="inner_icon"></view>
  195. <view class="inner_name">{{item_2.name}}</view>
  196. </view>
  197. </view>
  198. </view>
  199. </view>
  200. <!-- 提升机 -->
  201. <view v-if="zdhxt == 'tsj'">
  202. <view class="item" v-for="(item,index) in data_tsj" :key="index">
  203. <view class="title" @click="item_active(index)">
  204. <view class="left">
  205. <view class="icon"></view>
  206. <view class="name">
  207. {{item.name}}
  208. </view>
  209. </view>
  210. <view class="right" v-if="index != active">
  211. <uni-icons type="arrowright"></uni-icons>
  212. </view>
  213. <view class="right" v-if="index == active">
  214. <uni-icons type="arrowdown"></uni-icons>
  215. </view>
  216. </view>
  217. <view class="inner_list" v-if="active == index">
  218. <view class="inner_item" v-for="(item_2,index_2) in item.list" :key="index_2"
  219. @click="inner_item_active(item_2)">
  220. <view class="inner_icon"></view>
  221. <view class="inner_name">{{item_2.name}}</view>
  222. </view>
  223. </view>
  224. </view>
  225. </view>
  226. <!-- 架空人车 -->
  227. <view v-if="zdhxt == 'jkrc'">
  228. <view class="item" v-for="(item,index) in data_jkrc" :key="index">
  229. <view class="title" @click="item_active(index)">
  230. <view class="left">
  231. <view class="icon"></view>
  232. <view class="name">
  233. {{item.name}}
  234. </view>
  235. </view>
  236. <view class="right" v-if="index != active">
  237. <uni-icons type="arrowright"></uni-icons>
  238. </view>
  239. <view class="right" v-if="index == active">
  240. <uni-icons type="arrowdown"></uni-icons>
  241. </view>
  242. </view>
  243. <view class="inner_list" v-if="active == index">
  244. <view class="inner_item" v-for="(item_2,index_2) in item.list" :key="index_2"
  245. @click="inner_item_active(item_2)">
  246. <view class="inner_icon"></view>
  247. <view class="inner_name">{{item_2.name}}</view>
  248. </view>
  249. </view>
  250. </view>
  251. </view>
  252. <!-- 锅炉烟气 -->
  253. <view v-if="zdhxt == 'glyq'">
  254. <view class="item" v-for="(item,index) in data_glyq" :key="index">
  255. <view class="title" @click="item_active(index)">
  256. <view class="left">
  257. <view class="icon"></view>
  258. <view class="name">
  259. {{item.name}}
  260. </view>
  261. </view>
  262. <view class="right" v-if="index != active">
  263. <uni-icons type="arrowright"></uni-icons>
  264. </view>
  265. <view class="right" v-if="index == active">
  266. <uni-icons type="arrowdown"></uni-icons>
  267. </view>
  268. </view>
  269. <view class="inner_list" v-if="active == index">
  270. <view class="inner_item" v-for="(item_2,index_2) in item.list" :key="index_2"
  271. @click="inner_item_active(item_2)">
  272. <view class="inner_icon"></view>
  273. <view class="inner_name">{{item_2.name}}</view>
  274. </view>
  275. </view>
  276. </view>
  277. </view>
  278. </view>
  279. </view>
  280. </template>
  281. <script>
  282. import data from "./data.json"
  283. export default {
  284. data() {
  285. return {
  286. zdhxt: "",
  287. active: 9999,
  288. // 通风管理
  289. data_tfgl: [{
  290. name: "枣泉煤矿",
  291. list: [{
  292. name: "东井通风",
  293. url: "http://webdevelop.nxjiewei.com/assets/html/zaoquan/djtf/#/"
  294. },
  295. {
  296. name: "西井通风",
  297. url: "http://webdevelop.nxjiewei.com/assets/html/zaoquan/xjtf/#/"
  298. }
  299. ]
  300. },
  301. {
  302. name: "梅花井煤矿",
  303. list: [{
  304. name: "斜井通风",
  305. url: "http://webdevelop.nxjiewei.com/assets/html/meihuajing/xjtf/#/"
  306. },
  307. {
  308. name: "立井通风",
  309. url: "http://webdevelop.nxjiewei.com/assets/html/meihuajing/ljtf/#/"
  310. }
  311. ]
  312. },
  313. {
  314. name: "清水营煤矿",
  315. list: [{
  316. name: "通风系统",
  317. // url: "http://webdevelop.nxjiewei.com/assets/html/qingshuiying/zidonghua_app/#/pages/index/ztfxt/ztfxt"
  318. url:"../unified_automation_system/ventilation/ventilation?system_type=fan_1&mine_code=qingshuiying"
  319. }]
  320. },
  321. {
  322. name: "任家庄煤矿",
  323. list: [{
  324. name: "通风系统",
  325. url:"../unified_automation_system/ventilation/ventilation?system_type=fan_1&mine_code=renjiazhuang"
  326. }]
  327. },
  328. {
  329. name: "金家渠煤矿",
  330. list: [{
  331. name: "中部主通风机监测系统",
  332. url: "../unified_automation_system/ventilation/ventilation?system_type=ventilation_zb&mine_code=jinjiaqu"
  333. },
  334. {
  335. name: "北部主通风机监测系统",
  336. url: "../unified_automation_system/ventilation/ventilation?system_type=ventilation_bb&mine_code=jinjiaqu"
  337. }
  338. ]
  339. },
  340. {
  341. name: "石槽村煤矿",
  342. list: [{
  343. name: "1号回风斜井通风",
  344. url: "../unified_automation_system/ventilation/ventilation?system_type=fan_1&mine_code=shicaocun"
  345. },
  346. {
  347. name: "2号回风斜井通风",
  348. url: "../unified_automation_system/ventilation/ventilation?system_type=fan_2&mine_code=shicaocun"
  349. }
  350. ]
  351. }
  352. ],
  353. // 压风制氮
  354. data_yfzd: [{
  355. name: "梅花井煤矿",
  356. list: [{
  357. name: "压风系统",
  358. url: "http://webdevelop.nxjiewei.com/assets/html/meihuajing/yf/#/"
  359. },
  360. {
  361. name: "制氮系统",
  362. url: "http://webdevelop.nxjiewei.com/assets/html/meihuajing/zd/#/"
  363. }
  364. ]
  365. },
  366. {
  367. name: "金家渠煤矿",
  368. list: [{
  369. name: "空气压缩机集控系统",
  370. url: "../unified_automation_system/compressed_air/compressed_air?system_type=compressed_air&mine_code=jinjiaqu"
  371. }]
  372. },
  373. {
  374. name: "石槽村煤矿",
  375. list: [{
  376. name: "空气压缩机集控系统",
  377. url: "../unified_automation_system/compressed_air/compressed_air?system_type=compressed_air&mine_code=shicaocun"
  378. }, {
  379. name: "制氮系统",
  380. url: "../unified_automation_system/nitrogen_production_system/nitrogen_production_system?system_type=nitrogen&mine_code=shicaocun"
  381. }]
  382. },
  383. {
  384. name: "清水营煤矿",
  385. list: [{
  386. name: "压风系统",
  387. url: "../unified_automation_system/compressed_air/compressed_air?system_type=compressed_air&mine_code=qingshuiying"
  388. },
  389. {
  390. name: "制氮系统",
  391. url: "../unified_automation_system/nitrogen_production_system/nitrogen_production_system?system_type=nitrogen&mine_code=qingshuiying"
  392. }
  393. ]
  394. },
  395. {
  396. name: "任家庄煤矿",
  397. list: [{
  398. name: "压风系统",
  399. url: "../unified_automation_system/compressed_air/compressed_air?system_type=compressed_air&mine_code=renjiazhuang"
  400. }
  401. ]
  402. }
  403. ],
  404. // 排水系统
  405. data_psxt: [{
  406. name: "枣泉煤矿",
  407. list: [{
  408. name: "720泵房",
  409. url: "http://webdevelop.nxjiewei.com/assets/html/zaoquan/720bf/#/"
  410. },
  411. {
  412. name: "880泵房",
  413. url: "http://webdevelop.nxjiewei.com/assets/html/zaoquan/880bf/#/"
  414. },
  415. {
  416. name: "929泵房",
  417. url: "http://webdevelop.nxjiewei.com/assets/html/zaoquan/929bf/#/"
  418. },
  419. {
  420. name: "950泵房",
  421. url: "http://webdevelop.nxjiewei.com/assets/html/zaoquan/950bf/#/"
  422. },
  423. {
  424. name: "980泵房",
  425. url: "http://webdevelop.nxjiewei.com/assets/html/zaoquan/980bf/#/"
  426. },
  427. ]
  428. },
  429. {
  430. name: "梅花井煤矿",
  431. list: [{
  432. name: "850泵房",
  433. url: "http://webdevelop.nxjiewei.com/assets/html/meihuajing/850bf/#/"
  434. },
  435. {
  436. name: "697泵房",
  437. url: "http://webdevelop.nxjiewei.com/assets/html/meihuajing/697bf/#/"
  438. },
  439. ]
  440. },
  441. {
  442. name: "清水营煤矿",
  443. list: [{
  444. name: "主排水泵房786",
  445. url: "../unified_automation_system/drainage/drainage?system_type=pump_1&mine_code=qingshuiying"
  446. },
  447. {
  448. name: "主排水泵房11",
  449. url: "http://webdevelop.nxjiewei.com/assets/html/qingshuiying/zidonghua_app/#/pages/index/11bf/11bf"
  450. }
  451. ]
  452. },
  453. {
  454. name: "金家渠煤矿",
  455. list: [{
  456. name: "中央水泵排水系统",
  457. url: "../unified_automation_system/drainage/drainage?system_type=pump_zy&mine_code=jinjiaqu"
  458. },
  459. {
  460. name: "690水泵排水系统",
  461. url: "../unified_automation_system/drainage/drainage?system_type=pump_690&mine_code=jinjiaqu"
  462. }
  463. ]
  464. },
  465. {
  466. name: "石槽村煤矿",
  467. list: [{
  468. name: "中央水泵排水系统",
  469. url: "../unified_automation_system/drainage/drainage?system_type=pump_1&mine_code=shicaocun"
  470. },
  471. {
  472. name: "715水泵排水系统",
  473. url: "../unified_automation_system/drainage/drainage?system_type=pump_2&mine_code=shicaocun"
  474. },
  475. {
  476. name: "630水泵排水系统",
  477. url: "../unified_automation_system/drainage/drainage?system_type=pump_3&mine_code=shicaocun"
  478. }
  479. ]
  480. }
  481. ],
  482. // 主运输
  483. data_zys: [{
  484. name: "梅花井煤矿",
  485. list: [{
  486. name: "地面煤流",
  487. url: "http://webdevelop.nxjiewei.com/assets/html/meihuajing/dmml/#/"
  488. }]
  489. },
  490. {
  491. name: "金家渠煤矿",
  492. list: [{
  493. name: "胶带运输机系统",
  494. url: "../unified_automation_system/belt_conveyor/belt_conveyor?system_type=belt_13&mine_code=jinjiaqu"
  495. },
  496. {
  497. name: "主斜井胶带运输机系统",
  498. url: "../unified_automation_system/belt_conveyor/belt_conveyor?system_type=belt_2&mine_code=jinjiaqu"
  499. }]
  500. },
  501. {
  502. name: "石槽村煤矿",
  503. list: [{
  504. name: "22采区皮带",
  505. url: "../unified_automation_system/belt_conveyor/belt_conveyor?system_type=belt_1&mine_code=shicaocun"
  506. },{
  507. name: "西翼巷皮带",
  508. url: "../unified_automation_system/belt_conveyor/belt_conveyor?system_type=belt_2&mine_code=shicaocun"
  509. },{
  510. name: "集中巷皮带",
  511. url: "../unified_automation_system/belt_conveyor/belt_conveyor?system_type=belt_3&mine_code=shicaocun"
  512. }]
  513. },
  514. {
  515. name: "清水营煤矿",
  516. list: [{
  517. name: "主运输1号皮带",
  518. url: "../unified_automation_system/belt_conveyor/belt_conveyor?system_type=belt_1&mine_code=qingshuiying"
  519. }]
  520. },
  521. {
  522. name: "任家庄煤矿",
  523. list: [{
  524. name: "主井皮带",
  525. url: "../unified_automation_system/belt_conveyor/belt_conveyor?system_type=belt_1&mine_code=renjiazhuang"
  526. }]
  527. }
  528. ],
  529. // 巷道图
  530. data_xdt: [{
  531. name: "梅花井煤矿",
  532. list: [{
  533. name: "巷道图",
  534. url: "http://webdevelop.nxjiewei.com/assets/html/meihuajing/zongtu/#/"
  535. }]
  536. }],
  537. // 矿压监测
  538. data_kyjc: [{
  539. name: "金家渠煤矿",
  540. list: [{
  541. name: "矿压监测",
  542. // url: "http://webdevelop.nxjiewei.com/assets/html/zhks-quankuang/zidonghua/#/pages/jinjiaqu/kuang_ya_jian_ce/kuang_ya_jian_ce"
  543. url: "../jinjiaqu/kuang_ya_jian_ce/kuang_ya_jian_ce"
  544. }]
  545. }],
  546. // 提升机
  547. data_tsj: [{
  548. name: "金家渠煤矿",
  549. list: [{
  550. name: "中部副立井提升机系统",
  551. url: "../unified_automation_system/hoist/hoist?system_type=hoist&mine_code=jinjiaqu"
  552. },
  553. {
  554. name: "北部副立井提升机系统",
  555. url: "../unified_automation_system/north_hoist/north_hoist?system_type=hoist_2&mine_code=jinjiaqu"
  556. },
  557. {
  558. name: "13采区提升机监测系统",
  559. url: "../unified_automation_system/hoist_13/hoist_13?system_type=hoist_1&mine_code=jinjiaqu"
  560. }]
  561. }],
  562. // 架空人车
  563. data_jkrc: [{
  564. name: "金家渠煤矿",
  565. list: [{
  566. name: "13采区架空人车系统",
  567. url: "../unified_automation_system/man_car/man_car?system_type=mancar&mine_code=jinjiaqu"
  568. }]
  569. }],
  570. // 锅炉烟气
  571. data_glyq: [{
  572. name: "金家渠煤矿",
  573. list: [{
  574. name: "锅炉烟气系统",
  575. url: "../unified_automation_system/boiler_room/boiler_room?system_type=boiler&mine_code=jinjiaqu"
  576. }]
  577. }]
  578. }
  579. },
  580. onLoad(option) {
  581. console.log(data)
  582. this.zdhxt = option.zdhxt
  583. if (this.zdhxt == 'tfgl') {
  584. uni.setNavigationBarTitle({
  585. title: "通风管理"
  586. })
  587. }
  588. if (this.zdhxt == 'psxt') {
  589. uni.setNavigationBarTitle({
  590. title: "排水系统"
  591. })
  592. }
  593. if (this.zdhxt == 'yfzd') {
  594. uni.setNavigationBarTitle({
  595. title: "压风制氮"
  596. })
  597. }
  598. if (this.zdhxt == 'zys') {
  599. uni.setNavigationBarTitle({
  600. title: "主运输"
  601. })
  602. }
  603. if (this.zdhxt == 'xdt') {
  604. uni.setNavigationBarTitle({
  605. title: "巷道图"
  606. })
  607. }
  608. if (this.zdhxt == 'kyjc') {
  609. uni.setNavigationBarTitle({
  610. title: "矿压监测"
  611. })
  612. }
  613. if (this.zdhxt == 'tsj') {
  614. uni.setNavigationBarTitle({
  615. title: "提升机系统"
  616. })
  617. }
  618. if (this.zdhxt == 'jkrc') {
  619. uni.setNavigationBarTitle({
  620. title: "架空人车系统"
  621. })
  622. }
  623. if (this.zdhxt == 'glyq') {
  624. uni.setNavigationBarTitle({
  625. title: "锅炉烟气系统"
  626. })
  627. }
  628. },
  629. methods: {
  630. item_active(index) {
  631. console.log(index)
  632. if (index != this.active) {
  633. this.active = index
  634. } else {
  635. this.active = 9999
  636. }
  637. },
  638. inner_item_active(item_2) {
  639. if (item_2.url.indexOf('unified_automation_system') != -1) {
  640. uni.navigateTo({
  641. url: item_2.url + "&name=" + item_2.name
  642. })
  643. }else if(item_2.url.indexOf('jinjiaqu/kuang_ya_jian_ce/kuang_ya_jian_ce') != -1){
  644. uni.navigateTo({
  645. url: '../jinjiaqu/kuang_ya_jian_ce/list'
  646. })
  647. } else {
  648. uni.navigateTo({
  649. url: "./detail/detail?url=" + item_2.url + "&name=" + item_2.name
  650. })
  651. }
  652. }
  653. }
  654. }
  655. </script>
  656. <style lang="scss">
  657. page {
  658. background-color: #F7F7F7;
  659. }
  660. .top_img {
  661. image {
  662. width: 750rpx;
  663. height: 360rpx;
  664. }
  665. }
  666. .list {
  667. padding-top: 20rpx;
  668. .item {
  669. background-color: #FFFFFF;
  670. margin-bottom: 20rpx;
  671. box-sizing: border-box;
  672. padding: 0 35rpx;
  673. .title {
  674. display: flex;
  675. justify-content: space-between;
  676. align-items: center;
  677. height: 90rpx;
  678. border-bottom: 1rpx solid #f7f7f7;
  679. .left {
  680. display: flex;
  681. align-items: center;
  682. .icon {
  683. width: 31rpx;
  684. height: 27rpx;
  685. background-image: url(img/icon.png);
  686. background-size: cover;
  687. background-repeat: no-repeat;
  688. }
  689. .name {
  690. margin-left: 26rpx;
  691. font-size: 32rpx;
  692. }
  693. }
  694. .right {}
  695. }
  696. .inner_list {
  697. .inner_item {
  698. display: flex;
  699. align-items: center;
  700. height: 80rpx;
  701. border-bottom: 1rpx solid #f7f7f7;
  702. padding-left: 96rpx;
  703. .inner_icon {
  704. width: 10rpx;
  705. height: 10rpx;
  706. background-color: #0992E5;
  707. border-radius: 50%;
  708. }
  709. .inner_name {
  710. margin-left: 29rpx;
  711. font-size: 28rpx;
  712. color: #8a8a8a;
  713. }
  714. }
  715. }
  716. }
  717. }
  718. </style>