jcxt.vue 71 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160
  1. <!--可视化公共模板 林业-->
  2. <template>
  3. <div class="visual-con lifeline-con">
  4. <!--主体-->
  5. <div class="visual-body">
  6. <div class="life-header2">
  7. <div class="time-left">
  8. <h5 id="time">15:30:00</h5>
  9. <h6 id="day">2025.02.01</h6>
  10. </div>
  11. <weatherHeader></weatherHeader>
  12. <span>
  13. <img src="../../assets/index_img/life-LOGO.png" alt="">
  14. 四平市城市生命线监管平台-监测系统</span>
  15. <div class="header-right-user-home">
  16. <!-- <img src="../../assets/index_img/user-img.png" alt="" />-->
  17. <img src="../../assets/index_img/home-img.png" alt="" @click="goToHomePage"/>
  18. </div>
  19. </div>
  20. <!--左右黑色渐变独立背景-->
  21. <div class="line-left"></div>
  22. <div class="line-right"></div>
  23. <div class="con_left_2_bg">
  24. </div>
  25. <div class="con_right_2_bg">
  26. </div>
  27. <!--资源-->
  28. <el-popover placement="right" trigger="click" popper-class="zy-con">
  29. <el-select v-model="value" placeholder="请选择" class="sj-select" popper-class="sj-s-pop">
  30. <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
  31. </el-option>
  32. </el-select>
  33. <el-select v-model="value2" placeholder="请选择" class="sj-select" popper-class="sj-s-pop">
  34. <el-option v-for="item in options2" :key="item.value" :label="item.label" :value="item.value">
  35. </el-option>
  36. </el-select>
  37. <el-select v-model="value3" placeholder="请选择" class="sj-select" popper-class="sj-s-pop">
  38. <el-option v-for="item in options3" :key="item.value" :label="item.label" :value="item.value">
  39. </el-option>
  40. </el-select>
  41. <el-button class="sj-btn-icon-h">查询</el-button>
  42. <div slot="reference" class="zy-icon">
  43. <img src="../../assets/index_img/zy-icon.png" alt="" />
  44. 资源
  45. </div>
  46. </el-popover>
  47. <!--底部按钮区域背景-->
  48. <div class="button-list-bg">
  49. </div>
  50. <!--左侧资产盘点 ps:资产盘点单元格内是竖向的流式布局,数据要竖向循环-->
  51. <div class="left-content">
  52. <div class="title-bar">
  53. <span>设备汇总</span>
  54. </div>
  55. <div class="content-box sbhz">
  56. <div class="sbhz_div box-row">
  57. <div class="sbhz_div_txt rq" @click="selectedDiv = 1" :class="selectedDiv === 1 ? 'on' : ''" >
  58. <h5>燃气设备数量</h5>
  59. <b>{{ deviceTotalList ? deviceTotalList[0].deviceTotal || '--' : '' }}</b>
  60. <p><span class="zx">在线<i>{{ deviceTotalList[0].onlinePercent }}%</i></span><span class="lx">离线<i>{{ deviceTotalList[0].offlinePercent }}%</i></span></p>
  61. </div>
  62. <div class="sbhz_div_txt ps" @click="selectedDiv = 2" :class="selectedDiv === 2 ? 'on' : ''">
  63. <h5>排水设备数量</h5>
  64. <b>{{ deviceTotalList ? deviceTotalList[1].deviceTotal || '--' : '' }}</b>
  65. <p><span class="zx">在线<i>{{ deviceTotalList ? deviceTotalList[1].onlinePercent || '--' : '' }}%</i></span><span class="lx">离线<i>{{ deviceTotalList ? deviceTotalList[1].offlinePercent || '--' : '' }}%</i></span></p>
  66. </div>
  67. <div class="sbhz_div_txt gr" @click="selectedDiv = 3" :class="selectedDiv === 3 ? 'on' : ''">
  68. <h5>供热设备数量</h5>
  69. <b>{{ deviceTotalList ? deviceTotalList[2].deviceTotal || '--' : '' }}</b>
  70. <p><span class="zx">在线<i>{{ deviceTotalList ? deviceTotalList[2].onlinePercent || '--' : '' }}%</i></span><span class="lx">离线<i>{{ deviceTotalList ? deviceTotalList[2].offlinePercent || '--' : '' }}%</i></span></p>
  71. </div>
  72. </div>
  73. <div class="sbhz_div box-row">
  74. <div class="sbhz_div_txt ql" @click="selectedDiv = 4" :class="selectedDiv === 4 ? 'on' : ''">
  75. <h5>桥梁设备数量</h5>
  76. <b>{{ deviceTotalList ? deviceTotalList[3].deviceTotal || '--' : '' }}</b>
  77. <p><span class="zx">在线<i>{{ deviceTotalList ? deviceTotalList[3].onlinePercent || '--' : '' }}%</i></span><span class="lx">离线<i>{{ deviceTotalList ? deviceTotalList[3].offlinePercent || '--' : '' }}%</i></span></p>
  78. </div>
  79. <div class="sbhz_div_txt gl" @click="selectedDiv = 6" :class="selectedDiv === 6 ? 'on' : ''">
  80. <h5>管廊设备数量</h5>
  81. <b>{{ deviceTotalList ? deviceTotalList[5].deviceTotal || '--' : '' }}</b>
  82. <p><span class="zx">在线<i>{{ deviceTotalList ? deviceTotalList[5].onlinePercent || '--' : '' }}%</i></span><span class="lx">离线<i>{{ deviceTotalList ? deviceTotalList[5].offlinePercent || '--' : '' }}%</i></span></p>
  83. </div>
  84. <div class="sbhz_div_txt gs" @click="selectedDiv = 5" :class="selectedDiv === 5 ? 'on' : ''">
  85. <h5>供水设备数量</h5>
  86. <b>{{ deviceTotalList ? deviceTotalList[4].deviceTotal || '--' : '' }}</b>
  87. <p><span class="zx">在线<i>{{ deviceTotalList ? deviceTotalList[4].onlinePercent || '--' : '' }}%</i></span><span class="lx">离线<i>{{ deviceTotalList ? deviceTotalList[4].offlinePercent || '--' : '' }}%</i></span></p>
  88. </div>
  89. </div>
  90. </div>
  91. <div class="title-bar">
  92. <span>设备类型</span>
  93. </div>
  94. <div class="content-box sblx">
  95. <el-tabs v-model="activeNameSblx" class="sj-top-tab" @tab-click="sblx_chart" v-show="currentBtmHighIdx == 0">
  96. <el-tab-pane label="燃气" name="1">
  97. </el-tab-pane>
  98. <el-tab-pane label="排水" name="2" >
  99. </el-tab-pane>
  100. <el-tab-pane label="供热" name="3">
  101. </el-tab-pane>
  102. <el-tab-pane label="桥梁" name="4">
  103. </el-tab-pane>
  104. <el-tab-pane label="管廊" name="6">
  105. </el-tab-pane>
  106. <el-tab-pane label="供水" name="5">
  107. </el-tab-pane>
  108. </el-tabs>
  109. <!-- 设备类型图表 -->
  110. <div class="sblx_div box-row">
  111. <div id="sblx_chart"></div>
  112. <div class="sblx_list">
  113. <h5>
  114. <span>设备类型</span>
  115. <span>状态</span>
  116. <span>数量</span>
  117. </h5>
  118. <div class="scroll-container hei_scroll">
  119. <p
  120. v-for="(e,idx) in deviceTypeList"
  121. :key="idx"
  122. >
  123. <span>{{ e.deviceType }}</span>
  124. <span><i class="green">{{ e.deviceTypeOnline }}</i>/<i class="red">{{ e.deviceTypeOffline }}</i></span>
  125. <span>{{ e.deviceTypeCount }}</span>
  126. </p>
  127. </div>
  128. </div>
  129. </div>
  130. </div>
  131. <div class="title-bar">
  132. <span>设备报警</span>
  133. </div>
  134. <div class="content-box sbbj">
  135. <!-- <el-select v-model="value" placeholder="请选择">-->
  136. <!-- <el-option-->
  137. <!-- v-for="item in options"-->
  138. <!-- :key="item.value"-->
  139. <!-- :label="item.label"-->
  140. <!-- :value="item.value">-->
  141. <!-- </el-option>-->
  142. <!-- </el-select>-->
  143. <div id="sbbj_div" @click="toSbList"></div>
  144. </div>
  145. </div>
  146. <!--设备列表-->
  147. <div class="right-content">
  148. <div class="title-bar">
  149. <span>设备列表</span>
  150. </div>
  151. <div class="content-box2 content-box4">
  152. <el-tabs v-model="activeNameListSblx" class="sj-top-tab" @tab-click="getDeviceList" v-show="currentBtmHighIdx == 0">
  153. <el-tab-pane label="燃气" name="1">
  154. </el-tab-pane>
  155. <el-tab-pane label="排水" name="2" >
  156. </el-tab-pane>
  157. <el-tab-pane label="供热" name="3">
  158. </el-tab-pane>
  159. <el-tab-pane label="桥梁" name="4">
  160. </el-tab-pane>
  161. <el-tab-pane label="管廊" name="6">
  162. </el-tab-pane>
  163. <el-tab-pane label="供水" name="5">
  164. </el-tab-pane>
  165. </el-tabs>
  166. </div>
  167. <div class="content-box flex-c sblb">
  168. <el-input placeholder="请输入内容" suffix-icon="el-icon-search" v-model="input2"
  169. class="sj-input-style">
  170. </el-input>
  171. <div class="list-ul-100-tit">
  172. <span>行业</span>
  173. <span>设备名称</span>
  174. <span>状态</span>
  175. </div>
  176. <div class="scroll-container hei_scroll">
  177. <ul class="list-ul-100" >
  178. <li v-for="e in deviceList" @click="dropLocation(e.latitude,e.longitude)">
  179. <span :class="e.industryName">{{e.industryName}}</span>
  180. <span>{{e.deviceName}}</span>
  181. <span :class="e.onlineStatus == '在线' ? 'zx' : 'lx' ">{{e.onlineStatus}}</span>
  182. </li>
  183. </ul>
  184. </div>
  185. </div>
  186. <div class="title-bar">
  187. <span>运行状态</span>
  188. </div>
  189. <div class="content-box sbbj">
  190. <div id="yxzt_div"></div>
  191. </div>
  192. </div>
  193. <!-- 地图 -->
  194. <supermap ref="supermap" style="width: 100%;height: 100vh;" @preview="preview">
  195. </supermap>
  196. <!-- 底部按钮 -->
  197. <div class="life-btm-btn">
  198. <div class="btn-span btn-span7" :class="currentBtmHighIdx == 0 ? 'on' : '' " @click="industryHasChanged(0)">
  199. <span>全部</span>
  200. </div>
  201. <div class="btn-span btn-span7 " :class="currentBtmHighIdx == 1 ? 'on' : '' " @click="industryHasChanged(1)">
  202. <span>燃气</span>
  203. </div>
  204. <div class="btn-span btn-span7" :class="currentBtmHighIdx == 3 ? 'on' : '' " @click="industryHasChanged(3)">
  205. <span>热力</span>
  206. </div>
  207. <div class="btn-span btn-span7" :class="currentBtmHighIdx == 5 ? 'on' : '' " @click="industryHasChanged(5)">
  208. <span>供水</span>
  209. </div>
  210. <div class="btn-span btn-span7" :class="currentBtmHighIdx == 2 ? 'on' : '' " @click="industryHasChanged(2)">
  211. <span>排水</span>
  212. </div>
  213. <div class="btn-span btn-span7" :class="currentBtmHighIdx == 6 ? 'on' : '' " @click="industryHasChanged(6)">
  214. <span>管廊</span>
  215. </div>
  216. <div class="btn-span btn-span7" :class="currentBtmHighIdx == 4 ? 'on' : '' " @click="industryHasChanged(4)">
  217. <span>桥梁</span>
  218. </div>
  219. </div>
  220. </div>
  221. <el-dialog title="事件详情" :visible.sync="dialogVisibleSj" width="90%" class="sj-dialog-newstyle">
  222. <div class="sj-jcxx">
  223. <div class="tit">
  224. 事件基本信息
  225. </div>
  226. <div class="sj-jcxx-con">
  227. <div class="con-20">
  228. <img src="../../assets/index_img/d-icon-tit-img.png">
  229. 事件名称:超级大街燃气泄漏
  230. </div>
  231. <div class="con-20">
  232. <img src="../../assets/index_img/d-icon-tit-img.png">
  233. 所属行业:燃气
  234. </div>
  235. <div class="con-20">
  236. <img src="../../assets/index_img/d-icon-tit-img.png">
  237. 事件等级:一级
  238. </div>
  239. <div class="con-20">
  240. <img src="../../assets/index_img/d-icon-tit-img.png">
  241. 事件状态:已处理
  242. </div>
  243. <div class="con-20">
  244. <img src="../../assets/index_img/d-icon-tit-img.png">
  245. 事件类型:???
  246. </div>
  247. <div class="con-20">
  248. <img src="../../assets/index_img/d-icon-tit-img.png">
  249. 事件时间:2025/02/06 13:45:11
  250. </div>
  251. <div class="con-20">
  252. <img src="../../assets/index_img/d-icon-tit-img.png">
  253. 报警来源:压力传感器0025332
  254. </div>
  255. <div class="con-20 con-50">
  256. <img src="../../assets/index_img/d-icon-tit-img.png">
  257. 报警原因:燃气泄漏
  258. </div>
  259. </div>
  260. </div>
  261. <div class="sj-jcxx">
  262. <div class="tit">
  263. 事件处理流程
  264. </div>
  265. <div class="sj-jcxx-con" style="height: 85px; margin-top: 20px;">
  266. <div class="z-line"></div>
  267. <div class="triangle"></div>
  268. <div class="z-lc m60">
  269. <img src="../../assets/index_img/jslc-icon.png" />
  270. 事件发起
  271. <div class="z-lc-time">
  272. 2025/02/06 11:45:11
  273. </div>
  274. <el-tooltip class="item" v-if="true" placement="top" popper-class="sj-tooltip">
  275. <div slot="content" class="info-list">
  276. <span>处理意见:案例手动封口机案例谁都快放假</span>
  277. <span>处理意见:案例手动封口机案例谁都快案例手动封口放假</span>
  278. <span>处理意见:案例手动封口机案例手动封口机案例谁都快放假快放假</span>
  279. <span>处理意见:案例手动封口机案例谁都快放假案例手动封口机案例谁都快放假</span>
  280. </div>
  281. <div class="z-clyj">
  282. <img src="../../assets/index_img/clyj-icon.png" />
  283. </div>
  284. </el-tooltip>
  285. </div>
  286. <div class="z-lc">
  287. <img src="../../assets/index_img/jslc-icon.png" />
  288. 事件签收
  289. </div>
  290. <div class="z-lc">
  291. <img src="../../assets/index_img/jslc-icon.png" />
  292. 事件处理
  293. </div>
  294. <div class="z-lc">
  295. <img src="../../assets/index_img/jslc-icon.png" />
  296. 事件办结
  297. </div>
  298. </div>
  299. </div>
  300. <div class="sj-jcxx" style="width:40%">
  301. <div class="tit">
  302. 现场画面
  303. </div>
  304. <div class="sj-jcxx-con" style="width: 100%; height: 435px; margin-top: 20px;">
  305. <img src="../../assets/index_img/temp-sp.png" width="100%" height="435px" />
  306. </div>
  307. </div>
  308. <div class="sj-jcxx" style="width:59%">
  309. <div class="tit">
  310. 监测数值
  311. </div>
  312. <div class="sj-jcxx-con"
  313. style="margin-top: 20px; display: flex; flex-direction: column; align-items: flex-start;">
  314. <div class="con-20 con-100">
  315. <img src="../../assets/index_img/d-icon-tit-img.png">
  316. 报警设备:压力传感器0025332
  317. </div>
  318. <div class="con-20 con-100">
  319. <img src="../../assets/index_img/d-icon-tit-img.png">
  320. 报警原因:<span class="or">压力值异常</span>
  321. </div>
  322. <div class="con-20 con-100">
  323. <img src="../../assets/index_img/d-icon-tit-img.png">
  324. 异常数值:<span class="or">压力12</span>
  325. </div>
  326. <div class="con-20 con-100">
  327. <img src="../../assets/index_img/d-icon-tit-img.png">
  328. 事件预警影响:208户
  329. </div>
  330. <div class="con-20 con-100">
  331. <img src="../../assets/index_img/d-icon-tit-img.png">
  332. 应急预案匹配:<span class="bl">附件1应急预案</span>
  333. </div>
  334. <div class="con-20 con-100">
  335. <img src="../../assets/index_img/d-icon-tit-img.png">
  336. 当前处理人员:张三
  337. </div>
  338. <div class="con-20 con-100">
  339. <img src="../../assets/index_img/d-icon-tit-img.png">
  340. 处理人员电话:188277639002
  341. </div>
  342. </div>
  343. </div>
  344. </el-dialog>
  345. <DetailDialog ref="detailDialog" />
  346. </div>
  347. </template>
  348. <script>
  349. import supermap from '@/components/supermap-2.5d' //超图
  350. import weatherHeader from '@/components/weatherHeader'
  351. import { getUserProfile } from '@/api/system/user'
  352. import '../../assets/styles/hz_body.css'
  353. import { deviceAlarm, getDeviceList, getDeviceSummary, getDeviceType } from '@/api/jcst.js'
  354. import DetailDialog from '@/components/DetailDialog/index.vue'
  355. import * as echarts from 'echarts'
  356. export default {
  357. components: {
  358. supermap,
  359. DetailDialog,
  360. weatherHeader
  361. },
  362. metaInfo() {
  363. return {
  364. title: '四平市城市生命线',
  365. meta: [{
  366. charset: "utf-8"
  367. },
  368. {
  369. name: "viewport",
  370. content: "width=device-width, initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
  371. }
  372. ]
  373. }
  374. },
  375. created() {
  376. this.getDeviceSummary(0)
  377. },
  378. mounted() {
  379. // 初始化地图数据
  380. this.getSuperMapUrl();
  381. setTimeout(() => {
  382. this.time();
  383. this.title = '四平市城市生命线'
  384. this.sblx_chart(1);
  385. this.sbbj_div();
  386. this.yxzt_div();
  387. this.getDeviceList(1)
  388. }, 1000)
  389. },
  390. computed:{
  391. listContent() {
  392. return this.lists[this.selectedDiv] || []; // 如果selectedDiv不存在于lists中,返回空数组以避免错误。
  393. },
  394. },
  395. data() {
  396. return {
  397. dialogVisibleSj:false,
  398. // <li @click="dialogVisibleSj = true" v-for="item in currentList" :key="item.id">
  399. // <span class="item.hydh">{{item.hy}}</span>
  400. // <span>{{item.tit}}</span>
  401. // <span class="item.ztdh">{{item.zt}}</span>
  402. // </li>
  403. selectedDiv: 1, // 当前选中的div的编号
  404. lists:{
  405. 1:[
  406. {id:1,hydh:'rq',hy:'燃气',tit:'设备型号AHHDDDD',ztdh:'zx',zt:'在线'},
  407. {id:2,hydh:'rq',hy:'燃气',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
  408. ],
  409. 2:[
  410. {id:1,hydh:'ps',hy:'排水',tit:'设备型号AHHDDDD',ztdh:'lx',zt:'离线'},
  411. {id:2,hydh:'ps',hy:'排水',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
  412. ],
  413. 3:[
  414. {id:1,hydh:'rl',hy:'供热',tit:'设备型号AHHDDDD',ztdh:'zx',zt:'在线'},
  415. {id:2,hydh:'rl',hy:'供热',tit:'设备型号AHH555D',ztdh:'lx',zt:'离线'},
  416. ],
  417. 4:[
  418. {id:1,hydh:'ql',hy:'桥梁',tit:'设备型号AHHDDDD',ztdh:'zx',zt:'在线'},
  419. {id:2,hydh:'ql',hy:'桥梁',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
  420. ],
  421. 5:[
  422. {id:1,hydh:'gl',hy:'管廊',tit:'设备型号AHHDDDD',ztdh:'zx',zt:'在线'},
  423. {id:2,hydh:'gl',hy:'管廊',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
  424. ],
  425. 6:[
  426. {id:1,hydh:'gs',hy:'供水',tit:'设备型号AHHDDDD',ztdh:'zx',zt:'在线'},
  427. {id:2,hydh:'gs',hy:'供水',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
  428. ]
  429. },
  430. activeNameSblx: '1',
  431. activeNameListSblx: '1',
  432. options: [
  433. {
  434. value: '选项1',
  435. label: '周'
  436. }, {
  437. value: '选项2',
  438. label: '月度'
  439. }, {
  440. value: '选项3',
  441. label: '季度'
  442. }, {
  443. value: '选项4',
  444. label: '年度'
  445. }
  446. ],
  447. options2: [
  448. {
  449. value: '选项1',
  450. label: '周'
  451. }, {
  452. value: '选项2',
  453. label: '月度'
  454. }, {
  455. value: '选项3',
  456. label: '季度'
  457. }, {
  458. value: '选项4',
  459. label: '年度'
  460. }
  461. ],
  462. options3: [
  463. {
  464. value: '选项1',
  465. label: '周'
  466. }, {
  467. value: '选项2',
  468. label: '月度'
  469. }, {
  470. value: '选项3',
  471. label: '季度'
  472. }, {
  473. value: '选项4',
  474. label: '年度'
  475. }
  476. ],
  477. value: '周',
  478. value2: '',
  479. value3: '',
  480. paramIndustry:1,
  481. paramDeviceIndustry:1,
  482. deviceList:[], // 设备列表
  483. deviceTypeList:[], // 设备类型列表
  484. deviceTotalList:[], // 设备汇总列表
  485. currentBtmHighIdx:0,
  486. }
  487. },
  488. methods: {
  489. goToHomePage() {
  490. window.location.href = '/homePage';
  491. },
  492. time() {
  493. let dt = new Date();
  494. let y = dt.getFullYear();
  495. let mt = dt.getMonth() + 1;
  496. mt = mt >= 10 ? mt : '0' + mt
  497. let day = dt.getDate() >= 10 ? dt.getDate() : '0' + dt.getDate();
  498. let h = dt.getHours() >= 10 ? dt.getHours() : '0' + dt.getHours();
  499. let m = dt.getMinutes() >= 10 ? dt.getMinutes() : '0' + dt.getMinutes();
  500. let s = dt.getSeconds() >= 10 ? dt.getSeconds() : '0' + dt.getSeconds();
  501. document.getElementById("day").innerHTML = y + "." + mt + "." + day + ""; //2022年1月17日
  502. document.getElementById("time").innerHTML = h + ":" + m + ":" + s; //16:28:03
  503. setTimeout(() => {
  504. this.time()
  505. }, 1000);
  506. },
  507. getDeviceSummary(industry=0){
  508. getDeviceSummary(industry).then(res => {
  509. this.deviceTotalList = res.data || []
  510. })
  511. },
  512. industryHasChanged(industry=0){
  513. if(industry == this.currentBtmHighIdx) return;
  514. this.activeNameSblx = industry + ''
  515. this.activeNameListSblx = industry + ''
  516. this.currentBtmHighIdx = industry
  517. // this.getDeviceSummary(industry)
  518. if(industry != 0){
  519. this.sblx_chart(industry)
  520. this.getDeviceList(industry)
  521. this.sbbj_div(industry,1)
  522. }else{
  523. this.sblx_chart(1)
  524. this.activeNameSblx=1+ ''
  525. this.activeNameListSblx=1+ ''
  526. }
  527. },
  528. getDeviceList(industry=1){
  529. this.paramDeviceIndustry = industry
  530. if(typeof(industry) != 'number'){
  531. this.paramDeviceIndustry = industry.name
  532. }
  533. getDeviceList(this.paramDeviceIndustry).then(res => {
  534. let deviceMarkersList = []
  535. if (res.rows != null && res.rows.length > 0) {
  536. this.deviceList = res.rows || []
  537. for (let i = 0; i < res.rows.length; i++) {
  538. let markersMap = {
  539. lng: 124.59,
  540. lat: 43.02,
  541. icon: "shebei",
  542. bindPopupHtml: "",
  543. click: "preview",
  544. parameter: {
  545. latitude: res.rows[i].latitude || '',
  546. longitude: res.rows[i].longitude || '',
  547. deviceName: res.rows[i].deviceName || '',
  548. industryName: res.rows[i].industryName || '',
  549. onlineStatus: res.rows[i].onlineStatus || '',
  550. },
  551. keepBindPopup: false,
  552. isAggregation: false,
  553. };
  554. markersMap.lng = res.rows[i].longitude * 1;
  555. markersMap.lat = res.rows[i].latitude * 1;
  556. deviceMarkersList.push(markersMap);
  557. }
  558. setTimeout(() => {
  559. this.$refs.supermap.clearM();
  560. this.$refs.supermap.setMarkers(deviceMarkersList);
  561. }, 3000);
  562. } else {
  563. setTimeout(() => {
  564. this.$refs.supermap.clearM();
  565. this.$refs.supermap.clearMRadius();
  566. }, 1000);
  567. }
  568. })
  569. },
  570. preview(e) {
  571. let deviceInfo = {
  572. "设备名称": e.deviceName,
  573. "所属行业": e.industryName,
  574. "设备状态": e.onlineStatus,
  575. "经度": e.longitude,
  576. "纬度": e.latitude,
  577. }
  578. this.$refs.detailDialog.openDetail('隐患管理',deviceInfo);
  579. },
  580. dropLocation(lat, lng) {
  581. this.$refs.supermap.dropLocation(lat * 1, lng * 1)
  582. },
  583. //设备报警表单点击后跳转新页面
  584. toSbList(){
  585. this.$router.push('/yuJingList')
  586. },
  587. //设备类型chart
  588. sblx_chart(industry=1) {
  589. this.paramIndustry = industry
  590. if(typeof(industry) != 'number'){
  591. this.paramIndustry = industry.name
  592. }
  593. var myChart = echarts.init(document.getElementById("sblx_chart"));
  594. getDeviceType(this.paramIndustry).then(res => {
  595. if(res.data){
  596. this.deviceTypeList = res.data || []
  597. let seriesData = []
  598. res.data.forEach(e => {
  599. seriesData.push({
  600. name:e.deviceType,
  601. value:e.deviceTypeCount
  602. })
  603. })
  604. var option = {
  605. title: {
  606. text: "",
  607. x: "center",
  608. },
  609. color: [
  610. "#37a2da",
  611. "#32c5e9",
  612. "#9fe6b8",
  613. "#ffdb5c",
  614. "#ff9f7f",
  615. "#fb7293",
  616. "#e7bcf3",
  617. "#8378ea",
  618. ],
  619. tooltip: {
  620. trigger: "item",
  621. formatter: "{a} <br/>{b} : {c} ({d}%)",
  622. },
  623. toolbox: {
  624. show: false,
  625. feature: {
  626. mark: { show: true },
  627. dataView: { show: true, readOnly: false },
  628. magicType: {
  629. show: true,
  630. type: ["pie", "funnel"],
  631. },
  632. restore: { show: true },
  633. saveAsImage: { show: true },
  634. },
  635. },
  636. calculable: true,
  637. series: [
  638. {
  639. name: "设备类型",
  640. type: "pie",
  641. radius: [10, 80],
  642. roseType: "area",
  643. labelLine: {
  644. normal: {
  645. length: 1,
  646. length2: 4,
  647. lineStyle: {
  648. width: 1
  649. }
  650. }
  651. },
  652. data: seriesData
  653. },
  654. ],
  655. };
  656. myChart.setOption(option);
  657. }
  658. })
  659. },
  660. //设备报警chart
  661. sbbj_div(industry=1,timegran=1) {
  662. var myChart = echarts.init(document.getElementById("sbbj_div"));
  663. deviceAlarm({industry,timegran}).then(res => {
  664. if(res.data){
  665. let seriesColors = [
  666. [
  667. {
  668. offset: 0,
  669. color: "#29acff",
  670. },
  671. {
  672. offset: 1,
  673. color: "#4bdfff",
  674. },
  675. ],
  676. [
  677. {
  678. offset: 0,
  679. color: "#01c871",
  680. },
  681. {
  682. offset: 1,
  683. color: "#55f49c",
  684. },
  685. ],
  686. [
  687. {
  688. offset: 0,
  689. color: "#3d93f2",
  690. },
  691. {
  692. offset: 1,
  693. color: "#5dc1fd",
  694. },
  695. ],
  696. [
  697. {
  698. offset: 0,
  699. color: "#af89d6",
  700. },
  701. {
  702. offset: 1,
  703. color: "#af89d6",
  704. },
  705. ],
  706. ]
  707. const allNames = [];
  708. res.data.forEach((day,idx) => {
  709. if(idx == 7) return;
  710. day.dataList.forEach(item => {
  711. allNames.push(item.deviceType);
  712. });
  713. });
  714. let seriesData =[]
  715. if(allNames.length != 0){
  716. seriesData = allNames.map((typeName,idx) => {
  717. return {
  718. name: typeName,
  719. type: 'bar',
  720. barWidth: "10px",
  721. itemStyle: {
  722. normal: {
  723. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, seriesColors[idx]),
  724. barBorderRadius: 0,
  725. },
  726. },
  727. data: res.data.map(day => {
  728. const match = day.dataList.find(item => item.deviceType === typeName);
  729. return match ? match.typeCount : '-';
  730. })
  731. };
  732. });
  733. }
  734. var option = {
  735. tooltip: {
  736. trigger: "item",
  737. axisPointer: {
  738. // 坐标轴指示器,坐标轴触发有效
  739. type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
  740. },
  741. },
  742. grid: {
  743. left: "2%",
  744. right: "4%",
  745. bottom: "0%",
  746. top: "23%",
  747. containLabel: true,
  748. },
  749. // legend: {
  750. // data: ["类型1", "类型2", "类型3", "同比"],
  751. // left: "7%",
  752. // top: "1%",
  753. // textStyle: {
  754. // color: "#fff",
  755. // },
  756. // itemWidth: 12,
  757. // itemHeight: 4,
  758. // itemGap: 25,
  759. // },
  760. xAxis: {
  761. type: "category",
  762. data: ['周五','周六','周日','周一','周二','周三','周四'],
  763. axisLine: {
  764. lineStyle: {
  765. color: "#cdd5e2",
  766. },
  767. },
  768. axisLabel: {
  769. textStyle: {
  770. color: "#fff",
  771. },
  772. },
  773. },
  774. yAxis: [
  775. {
  776. type: "value",
  777. axisLine: {
  778. show: false,
  779. lineStyle: {
  780. color: "#cdd5e2",
  781. },
  782. },
  783. splitLine: {
  784. show: false,
  785. },
  786. axisLabel: {
  787. textStyle: {
  788. color: "#fff",
  789. },
  790. },
  791. axisLine: {
  792. lineStyle: {
  793. color: "#fff",
  794. },
  795. },
  796. },
  797. {
  798. type: "value",
  799. name: "",
  800. nameTextStyle: {
  801. color: "#fff",
  802. fontSize: '10px'
  803. },
  804. position: "right",
  805. axisLine: {
  806. lineStyle: {
  807. color: "#cdd5e2",
  808. },
  809. },
  810. splitLine: {
  811. show: false,
  812. },
  813. axisLabel: {
  814. show: true,
  815. formatter: "{value} %", //右侧Y轴文字显示
  816. textStyle: {
  817. color: "#fff",
  818. },
  819. },
  820. },
  821. ],
  822. series:seriesData,
  823. };
  824. myChart.setOption(option,true);
  825. }
  826. })
  827. },
  828. //运行状态chart
  829. yxzt_div() {
  830. var myChart = echarts.init(document.getElementById("yxzt_div"));
  831. var xLabel = ["8:00", "8:10", "8:20", "8:30", "8:40", "8:50"];
  832. var goToSchool = ["40", "60", "22", "85", "50", "40"];
  833. var goOutSchool = ["20", "50", "12", "65", "30", "60"];
  834. var option = {
  835. tooltip: {
  836. trigger: "axis",
  837. axisPointer: {
  838. lineStyle: {
  839. color: {
  840. type: "linear",
  841. x: 0,
  842. y: 0,
  843. x2: 0,
  844. y2: 1,
  845. colorStops: [
  846. {
  847. offset: 0,
  848. color: "rgba(126,199,255,0)", // 0% 处的颜色
  849. },
  850. {
  851. offset: 0.5,
  852. color: "rgba(126,199,255,1)", // 100% 处的颜色
  853. },
  854. {
  855. offset: 1,
  856. color: "rgba(126,199,255,0)", // 100% 处的颜色
  857. },
  858. ],
  859. global: false, // 缺省为 false
  860. },
  861. },
  862. },
  863. formatter: (p) => {
  864. let dom = `<div style="width: 79px;
  865. height: 50px;;color:#fff;position: relative;">
  866. <svg style="position: absolute;top: 50%;
  867. left: 50%;
  868. transform: translateX(-50%) translateY(-50%);" class="svg" xmlns="http://www.w3.org/2000/svg" width="100" height="71" viewBox="0 0 84 55">
  869. <defs>
  870. <style>
  871. .cls-1 {
  872. fill: #07172c;
  873. fill-opacity: 0.8;
  874. stroke: #a7d8ff;
  875. stroke-linejoin: round;
  876. stroke-opacity: 0.2;
  877. stroke-width: 1px;
  878. fill-rule: evenodd;
  879. }
  880. </style>
  881. </defs>
  882. <path id="矩形_419" data-name="矩形 419" class="cls-1" d="M266,595h74v50H266V624.046L261,620l5-3.984V595Z"
  883. transform="translate(-258.5 -592.5)" />
  884. </svg>
  885. <div style="padding: 4px 8px 4px 14px;display: flex;
  886. justify-content: center;
  887. align-items: center;
  888. flex-direction: column;position: relative;z-index: 1;">
  889. <div style="margin-bottom: 4px;width:100%;display:${
  890. p[0] ? "flex" : "none"
  891. };justify-content:space-between;align-items:center;">
  892. <span style="font-size:12px;color:#7ec7ff;">${
  893. p[0] ? p[0].seriesName : ""
  894. }</span>
  895. <span style="font-size:12px;color:#fff;">${
  896. p[0] ? p[0].data : ""
  897. }</span>
  898. </div>
  899. <div style="width:100%;height:100%;display:${
  900. p[1] ? "flex" : "none"
  901. };justify-content:space-between;align-items:center;">
  902. <span style="font-size:12px;color:#7ec7ff;">${
  903. p[1] ? p[1].seriesName : ""
  904. }</span>
  905. <span style="font-size:12px;color:#fff;">${
  906. p[1] ? p[1].data : ""
  907. }</span>
  908. </div>
  909. </div>
  910. </div>`;
  911. return dom;
  912. },
  913. },
  914. legend: {
  915. align: "left",
  916. right: "5%",
  917. top: "2%",
  918. type: "plain",
  919. textStyle: {
  920. color: "#fff",
  921. fontSize: 12,
  922. },
  923. // icon:'rect',
  924. itemGap: 25,
  925. itemWidth: 18,
  926. icon: "path://M0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z",
  927. data: [
  928. {
  929. name: "在线",
  930. },
  931. {
  932. name: "离线",
  933. },
  934. ],
  935. },
  936. grid: {
  937. top: "5%",
  938. left: "8%",
  939. right: "4%",
  940. bottom: "22%",
  941. // containLabel: true
  942. },
  943. xAxis: [
  944. {
  945. type: "category",
  946. boundaryGap: false,
  947. axisLine: {
  948. //坐标轴轴线相关设置。数学上的x轴
  949. show: true,
  950. lineStyle: {
  951. color: "#233653",
  952. },
  953. },
  954. axisLabel: {
  955. //坐标轴刻度标签的相关设置
  956. textStyle: {
  957. color: "#7ec7ff",
  958. padding: 16,
  959. fontSize: 14,
  960. },
  961. formatter: function (data) {
  962. return data;
  963. },
  964. },
  965. splitLine: {
  966. show: true,
  967. lineStyle: {
  968. color: "#192a44",
  969. },
  970. },
  971. axisTick: {
  972. show: false,
  973. },
  974. data: xLabel,
  975. },
  976. ],
  977. yAxis: [
  978. {
  979. name: "",
  980. nameTextStyle: {
  981. color: "#7ec7ff",
  982. fontSize: 12,
  983. padding: 10,
  984. },
  985. min: 0,
  986. splitLine: {
  987. show: true,
  988. lineStyle: {
  989. color: "#192a44",
  990. },
  991. },
  992. axisLine: {
  993. show: true,
  994. lineStyle: {
  995. color: "#233653",
  996. },
  997. },
  998. axisLabel: {
  999. show: true,
  1000. textStyle: {
  1001. color: "#7ec7ff",
  1002. padding: 4,
  1003. },
  1004. formatter: function (value) {
  1005. if (value === 0) {
  1006. return value;
  1007. }
  1008. return value;
  1009. },
  1010. },
  1011. axisTick: {
  1012. show: false,
  1013. },
  1014. },
  1015. ],
  1016. series: [
  1017. {
  1018. name: "在线",
  1019. type: "line",
  1020. symbol: "circle", // 默认是空心圆(中间是白色的),改成实心圆
  1021. showAllSymbol: true,
  1022. symbolSize: 0,
  1023. smooth: true,
  1024. lineStyle: {
  1025. normal: {
  1026. width: 2,
  1027. color: "rgba(25,163,223,1)", // 线条颜色
  1028. },
  1029. borderColor: "rgba(0,0,0,.4)",
  1030. },
  1031. itemStyle: {
  1032. color: "rgba(25,163,223,1)",
  1033. borderColor: "#646ace",
  1034. borderWidth: 2,
  1035. },
  1036. tooltip: {
  1037. show: true,
  1038. },
  1039. areaStyle: {
  1040. //区域填充样式
  1041. normal: {
  1042. //线性渐变,前4个参数分别是x0,y0,x2,y2(范围0~1);相当于图形包围盒中的百分比。如果最后一个参数是‘true’,则该四个值是绝对像素位置。
  1043. color: new echarts.graphic.LinearGradient(
  1044. 0,
  1045. 0,
  1046. 0,
  1047. 1,
  1048. [
  1049. {
  1050. offset: 0,
  1051. color: "rgba(25,163,223,.3)",
  1052. },
  1053. {
  1054. offset: 1,
  1055. color: "rgba(25,163,223, 0)",
  1056. },
  1057. ],
  1058. false
  1059. ),
  1060. shadowColor: "rgba(25,163,223, 0.5)", //阴影颜色
  1061. shadowBlur: 20, //shadowBlur设图形阴影的模糊大小。配合shadowColor,shadowOffsetX/Y, 设置图形的阴影效果。
  1062. },
  1063. },
  1064. data: goToSchool,
  1065. },
  1066. {
  1067. name: "离线",
  1068. type: "line",
  1069. symbol: "circle", // 默认是空心圆(中间是白色的),改成实心圆
  1070. showAllSymbol: true,
  1071. symbolSize: 0,
  1072. smooth: true,
  1073. lineStyle: {
  1074. normal: {
  1075. width: 2,
  1076. color: "rgba(56,205,204,1)", // 线条颜色
  1077. },
  1078. borderColor: "rgba(0,0,0,.4)",
  1079. },
  1080. itemStyle: {
  1081. color: "rgba(10,219,250,1)",
  1082. borderColor: "#646ace",
  1083. borderWidth: 2,
  1084. },
  1085. tooltip: {
  1086. show: true,
  1087. },
  1088. areaStyle: {
  1089. //区域填充样式
  1090. normal: {
  1091. //线性渐变,前4个参数分别是x0,y0,x2,y2(范围0~1);相当于图形包围盒中的百分比。如果最后一个参数是‘true’,则该四个值是绝对像素位置。
  1092. color: new echarts.graphic.LinearGradient(
  1093. 0,
  1094. 0,
  1095. 0,
  1096. 1,
  1097. [
  1098. {
  1099. offset: 0,
  1100. color: "rgba(10,219,250,.3)",
  1101. },
  1102. {
  1103. offset: 1,
  1104. color: "rgba(10,219,250, 0)",
  1105. },
  1106. ],
  1107. false
  1108. ),
  1109. shadowColor: "rgba(10,219,250, 0.5)", //阴影颜色
  1110. shadowBlur: 20, //shadowBlur设图形阴影的模糊大小。配合shadowColor,shadowOffsetX/Y, 设置图形的阴影效果。
  1111. },
  1112. },
  1113. data: goOutSchool,
  1114. },
  1115. ],
  1116. };
  1117. let len = 0;
  1118. setInterval(() => {
  1119. if (len === xLabel.length) {
  1120. len = 0;
  1121. }
  1122. myChart.dispatchAction({
  1123. type: "showTip",
  1124. seriesIndex: 0,
  1125. dataIndex: len,
  1126. });
  1127. len++;
  1128. }, 1000);
  1129. myChart.setOption(option);
  1130. },
  1131. getSuperMapUrl() {
  1132. getUserProfile().then(response => {
  1133. let mapDeptId = response.mapDeptId
  1134. let num = 0;
  1135. if (mapDeptId == "365") {
  1136. num = 0;
  1137. } else if (mapDeptId == "369") {
  1138. num = 1;
  1139. } else if (mapDeptId == "371") {
  1140. num = 2;
  1141. } else if (mapDeptId == "373") {
  1142. num = 3;
  1143. } else if (mapDeptId == "372") {
  1144. num = 4;
  1145. } else if (mapDeptId == "370") {
  1146. num = 5;
  1147. }
  1148. this.$refs.supermap.removeAllviewer(mapDeptId, -1);
  1149. });
  1150. },
  1151. toggleTab(current) {
  1152. this.currentTab = current;
  1153. this.currentClass = current;
  1154. },
  1155. }
  1156. }
  1157. </script>
  1158. <style lang="scss">
  1159. @font-face {
  1160. font-family: 'ds';
  1161. src: url('../../assets/styles/DS-Digital_Bold.ttf') format('truetype'); /* 根据实际路径调整 */
  1162. }
  1163. /*弹层新样式*/
  1164. .sj-dialog-newstyle {
  1165. .el-dialog {
  1166. background: #152d4f;
  1167. border-radius: 10px;
  1168. border: 2px solid #3c72c8;
  1169. background: linear-gradient(90deg, #0c274a 0%, rgba(6, 24, 37, 0.9) 100%);
  1170. .el-dialog__header {
  1171. background: url(../../assets/index_img/d-icon-tit-img.png)no-repeat left;
  1172. margin-left: 15px;
  1173. box-shadow: none;
  1174. .el-dialog__title {
  1175. font-size: 18px;
  1176. color: #fff;
  1177. font-weight: bold;
  1178. }
  1179. }
  1180. .el-dialog__body {
  1181. display: flex;
  1182. flex-wrap: wrap;
  1183. justify-content: space-between;
  1184. }
  1185. }
  1186. .sj-jcxx {
  1187. width: 100%;
  1188. display: flex;
  1189. flex-direction: column;
  1190. padding: 15px;
  1191. border-radius: 10px;
  1192. border: 1px solid #3c72c8;
  1193. margin-bottom: 20px;
  1194. .tit {
  1195. width: fit-content;
  1196. font-size: 16px;
  1197. color: #fff;
  1198. font-weight: bold;
  1199. display: flex;
  1200. align-items: center;
  1201. border-bottom: 2px solid #93a9d5;
  1202. }
  1203. .sj-jcxx-con {}
  1204. .sj-jcxx-con {
  1205. color: #fff;
  1206. display: flex;
  1207. flex-wrap: wrap;
  1208. align-items: center;
  1209. position: relative;
  1210. .con-20 {
  1211. width: 20%;
  1212. font-size: 14px;
  1213. display: flex;
  1214. align-items: center;
  1215. margin-top: 15px;
  1216. img {
  1217. width: 10px;
  1218. height: 10px;
  1219. margin-right: 5px;
  1220. }
  1221. }
  1222. .con-50 {
  1223. width: 50% !important;
  1224. }
  1225. .con-100 {
  1226. width: 100% !important;
  1227. }
  1228. .or {
  1229. color: #ff9a6d;
  1230. }
  1231. .bl {
  1232. color: #42f8ff
  1233. }
  1234. .z-line {
  1235. width: 100%;
  1236. height: 2px;
  1237. background: #4e6b9a;
  1238. z-index: 9;
  1239. position: absolute;
  1240. top: 32px;
  1241. }
  1242. .triangle {
  1243. width: 0;
  1244. height: 0;
  1245. border-top: 11px solid transparent;
  1246. /* 左侧透明 */
  1247. border-bottom: 11px solid transparent;
  1248. /* 右侧透明 */
  1249. border-left: 16px solid #4e6b9a;
  1250. /* 底部为黑色,形成三角形 */
  1251. position: absolute;
  1252. top: 22px;
  1253. right: -2px;
  1254. }
  1255. .m60 {
  1256. margin-left: 60px;
  1257. }
  1258. .z-lc {
  1259. width: 22%;
  1260. display: flex;
  1261. flex-direction: column;
  1262. z-index: 10;
  1263. justify-content: start;
  1264. align-items: start;
  1265. top: 17px;
  1266. img {
  1267. width: 51px;
  1268. height: 51px;
  1269. }
  1270. h5 {
  1271. font-size: 14px;
  1272. position: relative;
  1273. bottom: 0;
  1274. }
  1275. .z-lc-time {
  1276. background: linear-gradient(0deg, #2A6DCD 0%, rgba(43, 96, 152, 0.5) 100%);
  1277. border-radius: 50px;
  1278. font-size: 12px;
  1279. padding: 0 5px;
  1280. line-height: 23px;
  1281. color: #fff;
  1282. position: absolute;
  1283. left: 115px;
  1284. top: 22px
  1285. }
  1286. .z-clyj {
  1287. position: absolute;
  1288. left: 240px;
  1289. top: 16px;
  1290. img {
  1291. width: 35px;
  1292. height: 35px;
  1293. }
  1294. }
  1295. }
  1296. }
  1297. }
  1298. }
  1299. .sj-tooltip {
  1300. background: linear-gradient(0deg, #2A6DCD 0%, rgba(43, 96, 152, 0.5) 100%) !important;
  1301. border: 1px solid #264fa2 !important;
  1302. .popper__arrow {
  1303. border-top-color: #345ead !important;
  1304. }
  1305. .popper__arrow::after {
  1306. border-top-color: #345ead !important;
  1307. }
  1308. .info-list {
  1309. display: flex;
  1310. flex-direction: column;
  1311. }
  1312. }
  1313. .list-ul-100{
  1314. li {
  1315. width: 100% !important;
  1316. background: url(../../assets/index_img/list-bg-img-1.png) no-repeat 100% !important;
  1317. background-size: cover !important;
  1318. height: 50px;
  1319. display: flex;
  1320. justify-content: space-between;
  1321. align-items: center;
  1322. margin-top: 10px;
  1323. padding: 0 10px !important;
  1324. text-align: center;
  1325. transition: all 0.5s ease-in-out;
  1326. cursor: pointer;
  1327. span:nth-child(1) {
  1328. width: 80px;
  1329. display: inline-block;
  1330. padding-left: 20px;
  1331. }
  1332. span:nth-child(1).ps {
  1333. background: url("../../assets/index_img/jcxt_ps.png") no-repeat 5px 2px;
  1334. background-size: 21px;
  1335. }
  1336. span:nth-child(1).rq {
  1337. background: url("../../assets/index_img/jcxt_rq.png") no-repeat 5px 2px;
  1338. background-size: 21px;
  1339. }
  1340. span:nth-child(1).rl {
  1341. background: url("../../assets/index_img/jcxt_rl.png") no-repeat 5px 2px;
  1342. background-size: 21px;
  1343. }
  1344. span:nth-child(1).gl {
  1345. background: url("../../assets/index_img/jcxt_gl.png") no-repeat 5px 2px;
  1346. background-size: 21px;
  1347. }
  1348. span:nth-child(1).gs {
  1349. background: url("../../assets/index_img/jcxt_gs.png") no-repeat 5px 2px;
  1350. background-size: 21px;
  1351. }
  1352. span:nth-child(1).ql {
  1353. background: url("../../assets/index_img/jcxt_ql.png") no-repeat 5px 2px;
  1354. background-size: 21px;
  1355. }
  1356. span:nth-child(2) {
  1357. width: 70%;
  1358. text-align: left;
  1359. display: inline-block;
  1360. }
  1361. span:nth-child(3) {
  1362. width: 65px;
  1363. display: inline-block;
  1364. position: relative;
  1365. }
  1366. span:nth-child(3).zx{
  1367. color: #45bf02;
  1368. }
  1369. span:nth-child(3).zx::after{
  1370. width: 5px;
  1371. height: 5px;
  1372. border-radius: 20px;
  1373. content: '';
  1374. position: absolute;
  1375. display: block;
  1376. left: 4px;
  1377. top:8px;
  1378. background: #45bf02;
  1379. box-shadow: 0px 0px 8px #45bf02;
  1380. }
  1381. span:nth-child(3).lx{
  1382. color: #f80606;
  1383. }
  1384. span:nth-child(3).lx::after{
  1385. width: 5px;
  1386. height: 5px;
  1387. border-radius: 20px;
  1388. content: '';
  1389. position: absolute;
  1390. display: block;
  1391. left: 4px;
  1392. top:8px;
  1393. background: #f80606;
  1394. box-shadow: 0px 0px 8px #f80606;
  1395. }
  1396. span:nth-child(2n) {
  1397. color: #fff;
  1398. display: inline-block;
  1399. }
  1400. }
  1401. li:nth-child(2n) {
  1402. background: url(../../assets/index_img/list-bg-img-2.png) no-repeat;
  1403. }
  1404. li:hover {
  1405. filter: brightness(200%);
  1406. transform: translateX(8px);
  1407. }
  1408. }
  1409. .title-bar-pop {
  1410. width: 100%;
  1411. height: 38px;
  1412. background: url(../../assets/index_img/tit-img.png) no-repeat left top;
  1413. display: flex;
  1414. align-items: center;
  1415. justify-content: space-between;
  1416. .num {
  1417. width: 88px;
  1418. height: 27px;
  1419. background: linear-gradient(90deg, #2A6DCD 0%, rgba(56, 123, 196, 0.24) 100%);
  1420. border-radius: 5px;
  1421. line-height: 27px;
  1422. text-align: center;
  1423. font-weight: bold;
  1424. margin-top: 7px;
  1425. }
  1426. span {
  1427. font-size: 20px;
  1428. color: #EFF2FF;
  1429. font-family: ysbth;
  1430. line-height: 40px;
  1431. background: linear-gradient(0deg, rgba(49, 190, 255, 1), rgba(239, 252, 254, 1), rgba(239, 252, 254, 1));
  1432. -webkit-background-clip: text;
  1433. -webkit-text-fill-color: transparent;
  1434. margin-left: 55px;
  1435. }
  1436. }
  1437. /*设备汇总*/
  1438. .sbhz{
  1439. margin-bottom: 15px!important;
  1440. height: 220px!important;
  1441. .sbhz_div{
  1442. justify-content: space-around;
  1443. .sbhz_div_txt{
  1444. position: relative;
  1445. cursor: pointer;
  1446. h5{
  1447. font-size: 14px;
  1448. color: #fff;
  1449. height: 25px;
  1450. line-height: 25px;
  1451. }
  1452. b{
  1453. font-family: 'ds';
  1454. font-size: 18px;
  1455. font-weight: bold;
  1456. height: 40px;
  1457. line-height: 40px;
  1458. }
  1459. p{
  1460. font-size: 12px;
  1461. height: 25px;
  1462. line-height: 25px;
  1463. span{
  1464. padding-left: 12px;
  1465. position: relative;
  1466. margin-right: 8px;
  1467. }
  1468. span::after{
  1469. content: '';
  1470. display: block;
  1471. width: 5px;
  1472. height: 5px;
  1473. position: absolute;
  1474. left: 0px;
  1475. top:50%;
  1476. transform: translateY(-50%);
  1477. }
  1478. span.zx::after{
  1479. background: #45bf02;
  1480. box-shadow: 0px 0px 8px #45bf02;
  1481. }
  1482. span.lx::after{
  1483. background: #f20606;
  1484. box-shadow: 0px 0px 8px #f20606;
  1485. }
  1486. }
  1487. }
  1488. .sbhz_div_txt.on{
  1489. box-shadow: initial;
  1490. h5{
  1491. color: #0bf3f7;
  1492. font-weight: bold;
  1493. }
  1494. }
  1495. .sbhz_div_txt.on::after{
  1496. filter: brightness(1.1) saturate(3);
  1497. }
  1498. .rq::after{
  1499. display: block;
  1500. position: absolute;
  1501. content: '';
  1502. background: url("../../assets/index_img/jgpt_icon1.png") no-repeat right;
  1503. width: 48px;
  1504. height: 41px;
  1505. right:0px;
  1506. top:24px;
  1507. }
  1508. .ps::after{
  1509. display: block;
  1510. position: absolute;
  1511. content: '';
  1512. background: url("../../assets/index_img/jgpt_icon2.png") no-repeat right;
  1513. width: 48px;
  1514. height: 41px;
  1515. right:0px;
  1516. top:24px;
  1517. }
  1518. .gr::after{
  1519. display: block;
  1520. position: absolute;
  1521. content: '';
  1522. background: url("../../assets/index_img/jgpt_icon3.png") no-repeat right;
  1523. width: 48px;
  1524. height: 41px;
  1525. right:0px;
  1526. top:24px;
  1527. }
  1528. .ql::after{
  1529. display: block;
  1530. position: absolute;
  1531. content: '';
  1532. background: url("../../assets/index_img/jgpt_icon4.png") no-repeat right;
  1533. width: 48px;
  1534. height: 41px;
  1535. right:0px;
  1536. top:24px;
  1537. }
  1538. .gl::after{
  1539. display: block;
  1540. position: absolute;
  1541. content: '';
  1542. background: url("../../assets/index_img/jgpt_icon5.png") no-repeat right;
  1543. width: 48px;
  1544. height: 41px;
  1545. right:0px;
  1546. top:24px;
  1547. }
  1548. .gs::after{
  1549. display: block;
  1550. position: absolute;
  1551. content: '';
  1552. background: url("../../assets/index_img/jgpt_icon6.png") no-repeat right;
  1553. width: 48px;
  1554. height: 41px;
  1555. right:0px;
  1556. top:24px;
  1557. }
  1558. }
  1559. }
  1560. /*设备类型*/
  1561. .sblx{
  1562. margin-bottom: 15px!important;
  1563. .sblx_div{
  1564. #sblx_chart{
  1565. width: 270px;
  1566. height: 200px;
  1567. margin-right: 30px;
  1568. }
  1569. .sblx_list{
  1570. width: 220px;
  1571. .hei_scroll{
  1572. height: 195px;
  1573. overflow-y: scroll;
  1574. }
  1575. h5{
  1576. height: 28px;
  1577. line-height: 28px;
  1578. border-bottom: 1px solid #087071;
  1579. background: rgba(7,44,78,0.4);
  1580. padding: 0px 5px;
  1581. span{
  1582. font-size: 14px;
  1583. color: #fff;
  1584. display: inline-block;
  1585. }
  1586. span:nth-child(1){
  1587. width: 50%;
  1588. }
  1589. span:nth-child(2){
  1590. width: 30%;
  1591. }
  1592. span:nth-child(3){
  1593. width: 20%;
  1594. }
  1595. }
  1596. p{
  1597. width: 100%;
  1598. padding: 0px 5px;
  1599. height: 28px;
  1600. line-height: 28px;
  1601. border-bottom: 1px solid #087071;
  1602. background: rgba(3,57,108,0.4);
  1603. span{
  1604. font-size: 12px;
  1605. color: #fff;
  1606. display: inline-block;
  1607. i.green{
  1608. color: #06c969;
  1609. }
  1610. i.red{
  1611. color: #c50608;
  1612. }
  1613. }
  1614. span:nth-child(1){
  1615. width: 50%;
  1616. }
  1617. span:nth-child(2){
  1618. width: 30%;
  1619. }
  1620. span:nth-child(3){
  1621. width: 20%;
  1622. }
  1623. }
  1624. }
  1625. }
  1626. }
  1627. /*设备报警*/
  1628. .sbbj{
  1629. height: 180px!important;
  1630. position: relative;
  1631. #sbbj_div{
  1632. width: 100%;
  1633. height: 175px;
  1634. }
  1635. .el-select{
  1636. position: absolute;
  1637. right:10px;
  1638. top:5px;
  1639. z-index: 99;
  1640. width: 80px;
  1641. .el-input__inner {
  1642. height: 25px!important;
  1643. line-height: 25px!important;
  1644. font-size: 12px!important;
  1645. }
  1646. .el-input__icon {
  1647. line-height: 25px!important;
  1648. }
  1649. }
  1650. }
  1651. /*设备列表*/
  1652. .sblb{
  1653. flex-wrap: nowrap;
  1654. height: 55vh!important;
  1655. margin-bottom: 15px!important;
  1656. justify-content: flex-start!important;
  1657. .hei_scroll{
  1658. height: 42vh!important;
  1659. overflow-y: scroll;
  1660. }
  1661. }
  1662. #yxzt_div{
  1663. width: 100%;
  1664. height: 156px;
  1665. }
  1666. .sj-select-50 {
  1667. width: 49%;
  1668. margin-top: 5px !important;
  1669. .el-input {}
  1670. .el-input__inner {
  1671. height: 30px;
  1672. line-height: 30px;
  1673. background-color: rgba(12, 44, 80, 0.52);
  1674. border: 1px solid #326e96;
  1675. color: #0fc0ee;
  1676. }
  1677. .el-input__icon {
  1678. line-height: 30px;
  1679. }
  1680. .el-select .el-input .el-select__caret {
  1681. color: #6996c6;
  1682. }
  1683. }
  1684. .sj-select {
  1685. margin: 0 10px !important;
  1686. .el-input {
  1687. width: 120px !important;
  1688. }
  1689. .el-input__inner {
  1690. height: 30px;
  1691. line-height: 30px;
  1692. background-color: rgba(12, 44, 80, 0.52);
  1693. border: 1px solid #326e96;
  1694. color: #0fc0ee;
  1695. }
  1696. .el-input__icon {
  1697. line-height: 30px;
  1698. }
  1699. .el-select .el-input .el-select__caret {
  1700. color: #6996c6;
  1701. }
  1702. }
  1703. .sj-pop-con {
  1704. width: 437px !important;
  1705. background: linear-gradient(0deg, rgba(12, 36, 66, 0.8) 0%, #1D5592 100%);
  1706. border: 1px solid #326e96;
  1707. color: #fff;
  1708. display: flex;
  1709. flex-wrap: wrap;
  1710. justify-content: space-between;
  1711. .popper__arrow::after {
  1712. border-left-color: #42eb88 !important
  1713. }
  1714. .popper__arrow {
  1715. border-left-color: #42eb88 !important
  1716. }
  1717. }
  1718. .sj-s-pop {
  1719. background: linear-gradient(0deg, rgba(12, 36, 66, 0.52) 0%, #1D5592 100%);
  1720. border: 1px solid #326e96;
  1721. .el-select-dropdown__item {
  1722. color: #fff;
  1723. }
  1724. .el-select-dropdown__item.hover,
  1725. .el-select-dropdown__item:hover {
  1726. background: linear-gradient(0deg, rgba(25, 78, 143, 0.5) 0%, #2d8dec 100%);
  1727. }
  1728. .popper__arrow::after {
  1729. border-top-color: #178cd6 !important
  1730. }
  1731. .popper__arrow {
  1732. border-top-color: #178cd6 !important
  1733. }
  1734. }
  1735. .el-popper[x-placement^=right] .popper__arrow::after,
  1736. .el-popper[x-placement^=right] .popper__arrow {
  1737. border-right-color: #2A6DCD;
  1738. }
  1739. /*tab*/
  1740. .content-box .el-tabs__item {
  1741. border-radius: 5px;
  1742. height: 26px;
  1743. line-height: 26px;
  1744. background: linear-gradient(0deg, #2A6DCD 0%, rgba(56, 123, 196, 0.14) 100%);
  1745. padding: 0 10px;
  1746. }
  1747. .content-box .el-tabs--top .el-tabs__item.is-top:last-child {
  1748. padding-left: 10px;
  1749. padding-right: 10px;
  1750. }
  1751. .content-box .el-tabs--top .el-tabs__item.is-top:nth-child(2) {
  1752. padding: 0 10px;
  1753. }
  1754. .content-box .el-tabs__nav-next,
  1755. .content-box .el-tabs__nav-prev {
  1756. line-height: 26px;
  1757. }
  1758. .content-box .sj-top-tab .el-tabs__header {
  1759. position: absolute;
  1760. top: -32px;
  1761. right: 0px;
  1762. }
  1763. .content-box .sj-top-tab2 .el-tabs__header {
  1764. position: absolute;
  1765. top: -32px;
  1766. right: 200px;
  1767. }
  1768. .content-box .el-tabs__item.is-active {
  1769. background: linear-gradient(0deg, #75F8D2 0%, #426896 50%, #43b9b9 100%);
  1770. border-radius: 5px;
  1771. border: 1px solid transparent;
  1772. }
  1773. /*btn*/
  1774. .sj-btn-icon-h {
  1775. width: 100px !important;
  1776. height: 30px !important;
  1777. display: flex;
  1778. justify-content: center;
  1779. align-items: center;
  1780. padding: 0 !important;
  1781. background: linear-gradient(0deg, #75F8D2 0%, #426896 50%, #43b9b9 100%) !important;
  1782. border-radius: 5px;
  1783. color: #fff;
  1784. border: 1px solid #3261b5 !important;
  1785. }
  1786. .sj-btn-icon-h:hover {
  1787. color: #fff;
  1788. background: linear-gradient(0deg, #75F8D2 0%, #4e7cb1 50%, #50dfdf 100%) !important;
  1789. }
  1790. .sj-btn-icon-h:focus {
  1791. color: #fff;
  1792. }
  1793. .sj-btn-icon {
  1794. width: 100px !important;
  1795. height: 30px !important;
  1796. display: flex;
  1797. justify-content: center;
  1798. align-items: center;
  1799. padding: 0 !important;
  1800. background: linear-gradient(90deg, #214D8C 1%, rgba(14, 52, 93, 1) 100%);
  1801. border-radius: 5px;
  1802. color: #fff;
  1803. border: 1px solid #3261b5 !important;
  1804. span {
  1805. img {
  1806. margin-right: 5px;
  1807. }
  1808. display: flex;
  1809. justify-content: center;
  1810. align-items: center;
  1811. }
  1812. }
  1813. .sj-btn-icon:hover {
  1814. background: linear-gradient(0deg, #75F8D2 0%, #426896 50%, #43b9b9 100%) !important;
  1815. color: #fff !important;
  1816. }
  1817. .sj-btn-icon:focus {
  1818. background-color: #75F8D2 !important;
  1819. color: #fff !important;
  1820. border: 1px solid #75F8D2 !important;
  1821. }
  1822. /*normal tab*/
  1823. /*tab*/
  1824. .content-box2 .el-tabs__item {
  1825. border-radius: 100px;
  1826. height: 26px;
  1827. line-height: 26px;
  1828. background: linear-gradient(0deg, #2A6DCD 0%, rgba(56, 123, 196, 0.14) 100%);
  1829. padding: 0 10px;
  1830. }
  1831. .content-box2 .el-tabs--top .el-tabs__item.is-top:last-child {
  1832. padding-left: 10px;
  1833. padding-right: 10px;
  1834. }
  1835. .content-box2 .el-tabs--top .el-tabs__item.is-top:nth-child(2) {
  1836. padding: 0 10px;
  1837. }
  1838. .content-box2 .el-tabs__nav-next,
  1839. .content-box2 .el-tabs__nav-prev {
  1840. line-height: 26px;
  1841. }
  1842. .content-box2 .sj-top-tab .el-tabs__header {}
  1843. .content-box2 .sj-top-tab2 .el-tabs__header {}
  1844. .content-box2 .el-tabs__item.is-active {
  1845. background: linear-gradient(0deg, #75F8D2 0%, #426896 50%, #43b9b9 100%);
  1846. border-radius: 100px;
  1847. border: 1px solid transparent;
  1848. }
  1849. .content-box .el-checkbox {
  1850. margin-right: 15px !important;
  1851. }
  1852. .content-box .el-checkbox__inner {
  1853. border: 1px solid #0fc5f2;
  1854. width: 13px;
  1855. height: 13px;
  1856. background: none;
  1857. }
  1858. .content-box .el-checkbox__label {
  1859. color: #b9e4ef;
  1860. }
  1861. .content-box .el-checkbox__inner::after {
  1862. border-color: #0fc5f2;
  1863. }
  1864. .content-box .el-checkbox__input.is-checked .el-checkbox__inner,
  1865. .content-box .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  1866. border-color: #0fc0ee;
  1867. background: none;
  1868. }
  1869. .content-box .el-checkbox__input.is-checked+.el-checkbox__label {
  1870. color: #0fc5f2;
  1871. }
  1872. .content-box .el-checkbox__input.is-disabled .el-checkbox__inner {
  1873. background-color: #628c91;
  1874. border-color: #407983;
  1875. cursor: not-allowed;
  1876. }
  1877. .content-box4{
  1878. position: absolute !important;
  1879. height: 55px !important;
  1880. border: none !important;
  1881. background: none !important;
  1882. left: 38%;
  1883. top: -1%
  1884. }
  1885. .content-box4 .el-tabs__item {
  1886. border-radius: 5px !important;
  1887. }
  1888. /*正常tab*/
  1889. /*form*/
  1890. .sj-form {
  1891. display: flex;
  1892. justify-content: center;
  1893. align-items: center;
  1894. }
  1895. /*radio*/
  1896. .sj-radio {
  1897. margin-top: 5px !important;
  1898. }
  1899. .sj-radio .el-radio-button__inner {
  1900. padding: 0 15px;
  1901. height: 26px;
  1902. line-height: 26px;
  1903. background: linear-gradient(0deg, #2A6DCD 0%, rgba(56, 123, 196, 0.14) 100%);
  1904. color: #fff;
  1905. border: none;
  1906. border-left: none !important;
  1907. }
  1908. .sj-radio .el-radio-button__orig-radio:checked+.el-radio-button__inner {
  1909. height: 26px;
  1910. line-height: 26px;
  1911. background: linear-gradient(0deg, #75F8D2 0%, #426896 50%, #43b9b9 100%);
  1912. border: 1px solid transparent;
  1913. }
  1914. .mar-left {
  1915. margin-left: 20px !important;
  1916. }
  1917. /*checkbox*/
  1918. .sj-check {
  1919. margin-top: 5px !important;
  1920. }
  1921. .sj-check .el-checkbox {
  1922. margin-right: 10px;
  1923. }
  1924. .sj-check .el-checkbox__label {
  1925. color: #fff;
  1926. padding-left: 5px;
  1927. }
  1928. .sj-check .el-checkbox__inner {
  1929. background: #192c40;
  1930. border: 1px solid #3a86ce;
  1931. }
  1932. .sj-check .el-checkbox__input.is-checked .el-checkbox__inner,
  1933. .sj-check .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  1934. border: 1px solid #2acdb4;
  1935. background: #192c40;
  1936. }
  1937. .sj-check .el-checkbox__input.is-checked+.el-checkbox__label {
  1938. color: #00ffee;
  1939. }
  1940. </style>
  1941. <style rel="stylesheet/scss" lang="scss" scoped>
  1942. @import '@/assets/styles/base.scss';
  1943. /*公共*/
  1944. .list-ul-100-tit {
  1945. width: 100% !important;
  1946. background: url(../../assets/index_img/list-bg-img-t.png) no-repeat 100% !important;
  1947. background-size: cover !important;
  1948. height: 38px;
  1949. display: flex;
  1950. justify-content: space-between;
  1951. align-items: center;
  1952. margin-top: 10px !important;
  1953. background-size: contain;
  1954. padding: 0 10px !important;
  1955. color: #a2d4ef;
  1956. text-align: center;
  1957. span{
  1958. display: inline-block;
  1959. height: 38px;
  1960. line-height: 38px;
  1961. }
  1962. span:nth-child(1) {
  1963. width: 80px;
  1964. padding-left: 20px;
  1965. background: url("../../assets/index_img/jgpt_icon7.png") no-repeat 8px 12px;
  1966. }
  1967. span:nth-child(2) {
  1968. width: 70%;
  1969. text-align: left;
  1970. }
  1971. span:nth-child(3) {
  1972. width: 65px;
  1973. }
  1974. span:nth-child(2n) {
  1975. color: #fff;
  1976. }
  1977. }
  1978. .lifeline-con {
  1979. color: #fff;
  1980. font-size: 14px;
  1981. .h-185 {
  1982. height: 185px !important;
  1983. padding: 0 !important;
  1984. }
  1985. .h-170 {
  1986. height: 170px !important;
  1987. padding: 0 !important;
  1988. }
  1989. /*头部*/
  1990. .life-header2 {
  1991. width: 100%;
  1992. height: 81px;
  1993. background: url('../../assets/index_img/header-img2.png') no-repeat center;
  1994. position: fixed;
  1995. top: 0;
  1996. font-family: 'ysbth';
  1997. font-size: 38px;
  1998. text-align: center;
  1999. line-height: 70px;
  2000. animation: headermove 1s ease-out;
  2001. z-index: 999;
  2002. span {
  2003. position: absolute;
  2004. left: 50%;
  2005. transform: translateX(-50%);
  2006. display: flex;
  2007. align-items: center;
  2008. font-weight: 400;
  2009. color: #EFF8FC;
  2010. background: linear-gradient(0deg, rgba(119, 186, 255, 1), rgba(255, 255, 255, 1), rgba(255, 255, 255, 1));
  2011. opacity: 1;
  2012. -webkit-background-clip: text;
  2013. -webkit-text-fill-color: transparent;
  2014. img {
  2015. width: 46px;
  2016. height: 46px;
  2017. margin-right: 15px;
  2018. }
  2019. }
  2020. .time-left {
  2021. display: flex;
  2022. flex-direction: column;
  2023. justify-content: center;
  2024. align-items: center;
  2025. font-family: pmzd;
  2026. position: absolute;
  2027. left: 28px;
  2028. top: 18px;
  2029. h5 {
  2030. font-size: 16px;
  2031. font-weight: 400;
  2032. background: linear-gradient(0deg, rgba(172, 221, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
  2033. -webkit-background-clip: text;
  2034. -webkit-text-fill-color: transparent;
  2035. }
  2036. h6 {
  2037. font-size: 12px;
  2038. font-weight: 400;
  2039. background: linear-gradient(0deg, rgba(172, 221, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
  2040. -webkit-background-clip: text;
  2041. -webkit-text-fill-color: transparent;
  2042. }
  2043. }
  2044. .header-right-user-home {
  2045. width: fit-content;
  2046. display: flex;
  2047. justify-content: center;
  2048. position: absolute;
  2049. right: 18px;
  2050. top: 18px;
  2051. img {
  2052. cursor: pointer;
  2053. transition: all 0.5s ease-in-out;
  2054. margin: 0 5px;
  2055. }
  2056. img:hover {
  2057. cursor: pointer;
  2058. filter: brightness(170%) hue-rotate(-20deg);
  2059. transform: translateY(-2px);
  2060. }
  2061. }
  2062. }
  2063. /*顶部重点关注天气区域*/
  2064. .top-bar {
  2065. width: 738px;
  2066. height: 68px;
  2067. background: linear-gradient(0deg, rgba(12, 36, 66, 0.52) 0%, #1D5592 100%);
  2068. border-radius: 33px;
  2069. position: absolute;
  2070. top: 83px;
  2071. left: 50%;
  2072. transform: translateX(-50%);
  2073. display: flex;
  2074. justify-content: space-between;
  2075. align-items: center;
  2076. z-index: 20;
  2077. color: #fff;
  2078. .line-y {
  2079. width: 1px;
  2080. height: 37px;
  2081. border: 1px solid #4476A3;
  2082. }
  2083. h5 {
  2084. font-size: 20px;
  2085. color: #EFF2FF;
  2086. font-family: ysbth;
  2087. line-height: 40px;
  2088. background: linear-gradient(0deg, #31beff, #effcfe, #effcfe);
  2089. -webkit-background-clip: text;
  2090. -webkit-text-fill-color: transparent;
  2091. display: flex;
  2092. justify-content: center;
  2093. align-items: center;
  2094. margin: 0 10px;
  2095. }
  2096. span {
  2097. display: flex;
  2098. justify-content: center;
  2099. align-items: center;
  2100. margin: 0 5px;
  2101. .icon-block {
  2102. width: 6px;
  2103. height: 11px;
  2104. background: linear-gradient(0deg, #67AAE7 0%, #2B5E8E 100%);
  2105. margin: 0 5px;
  2106. }
  2107. }
  2108. .icon-sj {
  2109. width: 12px;
  2110. height: 20px;
  2111. margin: 0 5px;
  2112. }
  2113. .left {
  2114. display: flex;
  2115. .icon {
  2116. width: 67px;
  2117. height: 65px;
  2118. }
  2119. }
  2120. .right {
  2121. display: flex;
  2122. .text-r {
  2123. width: 200px;
  2124. display: flex;
  2125. flex-wrap: wrap;
  2126. align-items: center;
  2127. align-content: center
  2128. }
  2129. }
  2130. }
  2131. /*左右装饰*/
  2132. .line-left,
  2133. .line-right {
  2134. width: 18px;
  2135. height: 100vh;
  2136. position: absolute;
  2137. top: 0;
  2138. z-index: 1000;
  2139. }
  2140. .line-left {
  2141. background: url(../../assets/index_img/left-line.png) no-repeat 100%;
  2142. left: 0;
  2143. }
  2144. .line-right {
  2145. background: url(../../assets/index_img/right-line.png) no-repeat 100%;
  2146. right: 0;
  2147. }
  2148. /*左侧右侧独立黑色背景*/
  2149. .con_left_2_bg {
  2150. width: 570px;
  2151. background: url('../../assets/index_img/black-bg-left.png') no-repeat left;
  2152. height: 100vh;
  2153. position: absolute;
  2154. z-index: 2;
  2155. left: 0;
  2156. }
  2157. .con_right_2_bg {
  2158. width: 570px;
  2159. background: url('../../assets/index_img/black-bg-right.png') no-repeat right;
  2160. height: 100vh;
  2161. position: absolute;
  2162. z-index: 2;
  2163. right: 0;
  2164. }
  2165. /*公共*/
  2166. .title-bar {
  2167. width: 100%;
  2168. height: 38px;
  2169. background: url(../../assets/index_img/tit-img.png) no-repeat left top;
  2170. display: flex;
  2171. align-items: center;
  2172. justify-content: space-between;
  2173. .num {
  2174. width: 88px;
  2175. height: 27px;
  2176. background: linear-gradient(90deg, #2A6DCD 0%, rgba(56, 123, 196, 0.24) 100%);
  2177. border-radius: 5px;
  2178. line-height: 27px;
  2179. text-align: center;
  2180. font-weight: bold;
  2181. margin-top: 7px;
  2182. }
  2183. span {
  2184. font-size: 20px;
  2185. color: #EFF2FF;
  2186. font-family: ysbth;
  2187. line-height: 40px;
  2188. background: linear-gradient(0deg, rgba(49, 190, 255, 1), rgba(239, 252, 254, 1), rgba(239, 252, 254, 1));
  2189. -webkit-background-clip: text;
  2190. -webkit-text-fill-color: transparent;
  2191. margin-left: 55px;
  2192. }
  2193. }
  2194. .content-box-half {
  2195. width: 267px !important;
  2196. }
  2197. .box-h-l {
  2198. height: 175px !important;
  2199. }
  2200. .content-box3 {
  2201. width: 538px;
  2202. height: 243px;
  2203. background: linear-gradient(90deg, rgba(6, 20, 36, .3), rgba(50, 81, 128, .3));
  2204. border-radius: 8px;
  2205. border: 1px solid #23466C;
  2206. margin-top: 2px;
  2207. padding: 10px;
  2208. display: flex;
  2209. flex-direction: column;
  2210. flex-wrap: wrap;
  2211. justify-content: space-between;
  2212. position: relative;
  2213. }
  2214. .content-box2 {
  2215. padding: 15px !important;
  2216. .map-btn-con {
  2217. height: 50px;
  2218. margin-top: 20px;
  2219. display: flex;
  2220. justify-content: space-between;
  2221. align-items: center;
  2222. border-top: 1px dashed #1e57a3;
  2223. span {
  2224. height: 50px;
  2225. display: flex;
  2226. justify-content: center;
  2227. align-items: center;
  2228. }
  2229. }
  2230. }
  2231. .content-box,
  2232. .content-box2 {
  2233. width: 538px;
  2234. height: 243px;
  2235. background: linear-gradient(90deg, rgba(6, 20, 36, .3), rgba(50, 81, 128, .3));
  2236. border-radius: 8px;
  2237. border: 1px solid #23466C;
  2238. margin-top: 2px;
  2239. padding: 10px;
  2240. display: flex;
  2241. flex-direction: column;
  2242. flex-wrap: wrap;
  2243. justify-content: space-between;
  2244. position: relative;
  2245. .chart-contaier {
  2246. width: 100%;
  2247. display: flex;
  2248. align-items: center;
  2249. justify-content: space-around;
  2250. .chart-con {
  2251. width: 300px;
  2252. height: 180px;
  2253. }
  2254. .chart-con2 {
  2255. width: 500px;
  2256. height: 160px;
  2257. }
  2258. .chart-con-num {
  2259. display: flex;
  2260. flex-direction: column;
  2261. .chart-con-num-rig {
  2262. height: 36px;
  2263. display: flex;
  2264. flex-direction: column;
  2265. flex-wrap: wrap;
  2266. justify-content: space-around;
  2267. margin: 10px 0;
  2268. img {
  2269. margin-right: 10px;
  2270. }
  2271. h5 {
  2272. font-size: 18px;
  2273. }
  2274. h6 {
  2275. font-size: 14px;
  2276. }
  2277. }
  2278. }
  2279. }
  2280. :first-child {
  2281. .con-l-t {
  2282. height: 60px !important;
  2283. background: url(../../assets/index_img/con-l-t.png) !important;
  2284. border: none !important;
  2285. padding: 8px 0 0 10px !important;
  2286. }
  2287. }
  2288. .box-row2 {
  2289. display: flex;
  2290. align-items: flex-end;
  2291. position: absolute;
  2292. left: 0;
  2293. margin-left: 10px;
  2294. .li-4 {
  2295. width: 4em !important;
  2296. }
  2297. .li-7 {
  2298. width: 7em !important;
  2299. }
  2300. }
  2301. .box-row {
  2302. display: flex;
  2303. .con-l-t {
  2304. width: 92px;
  2305. height: 53px;
  2306. font-size: 14px;
  2307. background: linear-gradient(0deg, #0E244B 0%, #537AB4 100%);
  2308. border-radius: 5px;
  2309. border: 1px solid #23466C;
  2310. color: #F1F2F7;
  2311. display: flex;
  2312. flex-direction: column;
  2313. align-items: start;
  2314. margin-right: 10px;
  2315. padding: 6px 0 0 10px;
  2316. :last-child {
  2317. font-weight: bold;
  2318. }
  2319. }
  2320. .con-r {
  2321. display: flex;
  2322. flex-direction: column;
  2323. font-size: 14px;
  2324. color: #F1F2F7;
  2325. line-height: 21px;
  2326. position: relative;
  2327. top: -5px;
  2328. .line-x {
  2329. width: 10px;
  2330. height: 1px;
  2331. background: #339DC6;
  2332. position: absolute;
  2333. left: -10px;
  2334. top: 32px;
  2335. }
  2336. .line-x6 {
  2337. width: 1px;
  2338. height: 10px;
  2339. background: #339DC6;
  2340. position: absolute;
  2341. left: -55px;
  2342. bottom: -10px;
  2343. }
  2344. .line-x7 {
  2345. width: 265px;
  2346. height: 1px;
  2347. background: #339DC6;
  2348. position: absolute;
  2349. left: -55px;
  2350. bottom: -10px;
  2351. }
  2352. .line-x8 {
  2353. width: 1px;
  2354. height: 21px;
  2355. background: #339DC6;
  2356. position: absolute;
  2357. left: 50px;
  2358. bottom: -10px;
  2359. }
  2360. .line-x9 {
  2361. width: 1px;
  2362. height: 43px;
  2363. background: #339DC6;
  2364. position: absolute;
  2365. left: 209px;
  2366. bottom: -10px;
  2367. }
  2368. li {
  2369. padding-left: 18px;
  2370. line-height: 22px;
  2371. background: url(../../assets/index_img/line-bg-mid.png) no-repeat left top;
  2372. :first-child {
  2373. width: 3em;
  2374. display: inline-block;
  2375. text-align: justify;
  2376. text-align-last: justify;
  2377. }
  2378. :last-child {
  2379. margin-left: 5px;
  2380. }
  2381. }
  2382. li:first-child {
  2383. background: url(../../assets/index_img/line-bg-top.png) no-repeat left top;
  2384. }
  2385. li:last-child {
  2386. background: url(../../assets/index_img/line-bg-btm.png) no-repeat left top;
  2387. }
  2388. }
  2389. .con-r-2 {
  2390. top: 0 !important;
  2391. justify-content: center;
  2392. .line-x {
  2393. top: 26px !important;
  2394. }
  2395. }
  2396. .con-r-3 {
  2397. top: 0 !important;
  2398. justify-content: center;
  2399. .line-x {
  2400. top: 128px !important;
  2401. }
  2402. }
  2403. .con-r-8 {
  2404. flex-direction: row !important;
  2405. ul {
  2406. margin-left: 50px;
  2407. }
  2408. }
  2409. }
  2410. }
  2411. /*左侧*/
  2412. .left-content {
  2413. width: 540px;
  2414. height: 90vh;
  2415. overflow-y: auto;
  2416. top: 70px;
  2417. position: absolute;
  2418. left: 20px;
  2419. z-index: 80;
  2420. display: flex;
  2421. flex-wrap: wrap;
  2422. align-content: flex-start;
  2423. justify-content: space-evenly;
  2424. color: #fff;
  2425. font-size: 14px;
  2426. }
  2427. .right-content {
  2428. width: 540px;
  2429. height: 90vh;
  2430. overflow-y: auto;
  2431. top: 70px;
  2432. position: absolute;
  2433. right: 20px;
  2434. z-index: 80;
  2435. display: flex;
  2436. flex-wrap: wrap;
  2437. align-content: flex-start;
  2438. justify-content: space-evenly;
  2439. color: #fff;
  2440. font-size: 14px;
  2441. }
  2442. //左右侧按钮
  2443. .btn {
  2444. display: flex;
  2445. justify-content: center;
  2446. width: 300px;
  2447. height: 195px;
  2448. transition: all 0.5s ease-in-out;
  2449. .btn-left {
  2450. display: flex;
  2451. flex-direction: column;
  2452. justify-content: center;
  2453. align-items: center;
  2454. cursor: pointer;
  2455. img {
  2456. width: 160px;
  2457. height: 155px;
  2458. margin-top: 1.25rem;
  2459. }
  2460. span {
  2461. font-weight: 400;
  2462. font-size: 24px;
  2463. color: #EFF8FC;
  2464. line-height: 28px;
  2465. font-family: pmzd;
  2466. }
  2467. }
  2468. .btn-right {
  2469. display: flex;
  2470. flex-direction: column;
  2471. justify-content: center;
  2472. .btn-right-con {
  2473. cursor: pointer;
  2474. width: 131px;
  2475. height: 37px;
  2476. text-align: center;
  2477. background: url('../../assets/index_img/name-bg.png') no-repeat center;
  2478. font-weight: 400;
  2479. font-size: 14px;
  2480. line-height: 32px;
  2481. color: #EFF8FC;
  2482. transition: all .2s ease-in-out;
  2483. }
  2484. .btn-right-con:hover {
  2485. filter: hue-rotate(-70deg);
  2486. }
  2487. }
  2488. }
  2489. .con_right {
  2490. position: absolute;
  2491. right: 20px;
  2492. top: 100px;
  2493. z-index: 999;
  2494. background: rgba(0, 10, 24, 0.67);
  2495. width: 360px;
  2496. .con_tckz {
  2497. .con_tckz_div {
  2498. margin: 0px 10px;
  2499. .tekz_div {
  2500. font-size: 14px;
  2501. text-align: left;
  2502. color: #fff;
  2503. padding-bottom: 15px;
  2504. border-bottom: 1px dashed #4a5958;
  2505. margin-bottom: 15px;
  2506. .tc_div {
  2507. line-height: 40px;
  2508. padding-left: 15px;
  2509. display: flex;
  2510. flex-direction: row;
  2511. width: 100%;
  2512. .scrollx {
  2513. width: 100%;
  2514. white-space: nowrap;
  2515. display: flex;
  2516. flex-direction: row;
  2517. /*height: 40px;*/
  2518. span {
  2519. display: block;
  2520. width: 80px;
  2521. }
  2522. .scroll-container {
  2523. display: block;
  2524. /*height: 40px;*/
  2525. /*overflow-y: scroll;*/
  2526. width: 220px;
  2527. .el-checkbox-group {
  2528. label {
  2529. display: block;
  2530. float: left;
  2531. }
  2532. }
  2533. }
  2534. }
  2535. }
  2536. }
  2537. .scroll-container::-webkit-scrollbar {
  2538. /*滚动条整体样式*/
  2539. width: 6px !important;
  2540. /*高宽分别对应横竖滚动条的尺寸*/
  2541. height: 1px !important;
  2542. display: block !important;
  2543. cursor: pointer;
  2544. }
  2545. .scroll-container::-webkit-scrollbar-thumb {
  2546. /*滚动条里面小方块*/
  2547. border-radius: 10px;
  2548. height: 15px;
  2549. -webkit-box-shadow: inset 0 0 5px rgba(0, 22, 55, 0.87);
  2550. // background: #E5E5E5;
  2551. background: rgba(38, 235, 255, 0.5);
  2552. }
  2553. .scroll-container::-webkit-scrollbar-track {
  2554. /*滚动条里面轨道*/
  2555. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  2556. border-radius: 10px;
  2557. background: rgba(10, 37, 64, 0.75);
  2558. }
  2559. .map_btn button {
  2560. display: inline-block;
  2561. background: url("../../assets/images/sixZ/sixzbtn1.png") no-repeat center;
  2562. background-size: 100% 100%;
  2563. padding: 8px 20px;
  2564. margin: 8px 8px 8px 0px;
  2565. font-size: 14px;
  2566. color: #fff;
  2567. cursor: pointer;
  2568. }
  2569. .map_btn button.on {
  2570. background: url("../../assets/images/sixZ/sixzbtn1_on.png") no-repeat center;
  2571. background-size: 100% 100%;
  2572. box-shadow: none;
  2573. }
  2574. .map_clear {
  2575. background: #09335f;
  2576. color: #a4bfe2;
  2577. font-size: 14px;
  2578. float: right;
  2579. margin: 20px 0px;
  2580. display: inline-block;
  2581. padding: 6px 18px;
  2582. }
  2583. .map_clear:hover {
  2584. background: #0a5184;
  2585. }
  2586. }
  2587. }
  2588. }
  2589. .btn:hover {
  2590. filter: brightness(180%);
  2591. }
  2592. .btn-r {
  2593. position: absolute;
  2594. left: 16%;
  2595. top: 15%;
  2596. animation: btnRun 1s, movetop 3.5s 1s infinite;
  2597. }
  2598. .btn-rq {
  2599. position: absolute;
  2600. right: 12%;
  2601. top: 12%;
  2602. animation: btnRun 1s, movetop 4s 1s infinite;
  2603. }
  2604. .btn-ps {
  2605. position: absolute;
  2606. left: 5%;
  2607. top: 38%;
  2608. animation: btnRun 1s, movetop2 5s 1s infinite;
  2609. }
  2610. .btn-ql {
  2611. position: absolute;
  2612. left: 12%;
  2613. top: 60%;
  2614. animation: btnRun 1s, movetop2 3s 1s infinite;
  2615. }
  2616. .btn-gl {
  2617. position: absolute;
  2618. right: 6%;
  2619. top: 38%;
  2620. animation: btnRun 1s, movetop2 4s 1s infinite;
  2621. }
  2622. .btn-gs {
  2623. position: absolute;
  2624. right: 16%;
  2625. top: 59%;
  2626. animation: btnRun 1s, movetop2 2s 1s infinite;
  2627. }
  2628. //雷达
  2629. .radar {
  2630. display: flex;
  2631. position: absolute;
  2632. left: 50%;
  2633. top: 40%;
  2634. transform: translate(-50%, -40%);
  2635. justify-content: center;
  2636. align-items: center;
  2637. width: 726px;
  2638. height: 726px;
  2639. animation: radarOP 1s ease-in;
  2640. }
  2641. .rotating-bg {
  2642. position: relative;
  2643. z-index: 100;
  2644. animation: rotatebg 2s infinite linear;
  2645. }
  2646. .rotating-image {
  2647. position: relative;
  2648. animation: rotate 5s infinite linear;
  2649. z-index: 150;
  2650. }
  2651. /*底部背景*/
  2652. .button-list-bg {
  2653. width: 100%;
  2654. height: 71px;
  2655. background: url(../../assets/index_img/button-list.png) no-repeat center;
  2656. position: absolute;
  2657. bottom: 0;
  2658. z-index: 2;
  2659. }
  2660. //底部按钮5个
  2661. .life-btm-btn {
  2662. position: absolute;
  2663. bottom: 0;
  2664. width: 100%;
  2665. display: flex;
  2666. justify-content: center;
  2667. align-items: center;
  2668. z-index: 100;
  2669. text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  2670. .btn-span:nth-child(1) {
  2671. animation: btnmove 1s;
  2672. }
  2673. .btn-span:nth-child(2) {
  2674. animation: btnmove 1.2s;
  2675. }
  2676. .btn-span:nth-child(3) {
  2677. animation: btnmove 1.4s;
  2678. }
  2679. .btn-span:nth-child(4) {
  2680. animation: btnmove 1.6s;
  2681. }
  2682. .btn-span:nth-child(5) {
  2683. animation: btnmove 1.8s;
  2684. }
  2685. .btn-span:nth-child(6) {
  2686. animation: btnmove 2s;
  2687. }
  2688. .btn-span:nth-child(7) {
  2689. animation: btnmove 2.2s;
  2690. }
  2691. .btn-span7{
  2692. width: 120px !important;
  2693. background-size: contain !important;
  2694. height: 40px !important;
  2695. }
  2696. .btn-span {
  2697. width: 166px;
  2698. height: 50px;
  2699. background: url('../../assets/index_img/btm-btn.png') no-repeat center;
  2700. text-align: center;
  2701. display: flex;
  2702. justify-content: center;
  2703. align-items: center;
  2704. margin: 10px 5px;
  2705. transition: all 0.3s ease-in-out;
  2706. cursor: pointer;
  2707. span {
  2708. font-size: 20px;
  2709. color: #EFF2FF;
  2710. font-family: ysbth;
  2711. line-height: 40px;
  2712. background: linear-gradient(0deg, rgba(49, 190, 255, 1), rgba(239, 252, 254, 1), rgba(239, 252, 254, 1));
  2713. -webkit-background-clip: text;
  2714. -webkit-text-fill-color: transparent;
  2715. }
  2716. }
  2717. .btn-span:hover {
  2718. filter: brightness(170%) hue-rotate(-20deg);
  2719. transform: translateY(-10px);
  2720. }
  2721. .btn-span.on {
  2722. filter: brightness(170%) hue-rotate(-20deg);
  2723. box-shadow: none;
  2724. }
  2725. }
  2726. .btm-btn2 {
  2727. position: absolute;
  2728. bottom: 80px;
  2729. width: 100%;
  2730. display: flex;
  2731. justify-content: center;
  2732. align-items: center;
  2733. cursor: pointer;
  2734. animation: btmmove2 1s ease-out;
  2735. .btn-span2 {
  2736. margin: 0 10px;
  2737. display: flex;
  2738. flex-direction: column;
  2739. align-items: center;
  2740. transition: all 0.3s;
  2741. img {
  2742. width: 150px;
  2743. height: 100px;
  2744. }
  2745. span {
  2746. font-size: 20px;
  2747. color: #EFF2FF;
  2748. font-family: ysbth;
  2749. line-height: 40px;
  2750. background: linear-gradient(0deg, rgba(49, 190, 255, 1), rgba(239, 252, 254, 1), rgba(239, 252, 254, 1));
  2751. -webkit-background-clip: text;
  2752. -webkit-text-fill-color: transparent;
  2753. margin-top: -10px;
  2754. display: block;
  2755. text-align: center;
  2756. }
  2757. }
  2758. .btn-span2:hover {
  2759. filter: brightness(170%) hue-rotate(-20deg);
  2760. transform: translateY(-10px);
  2761. }
  2762. }
  2763. }
  2764. .con_tit {
  2765. font-size: 18px;
  2766. font-family: 'ysbth';
  2767. color: #fff;
  2768. padding-left: 30px;
  2769. background: url("../../assets/images/sixZ/sixztit.png") no-repeat left;
  2770. background-size: 100% 100%;
  2771. height: 35px;
  2772. line-height: 35px;
  2773. margin-bottom: 15px;
  2774. }
  2775. .map_tab {
  2776. display: flex;
  2777. flex-direction: row;
  2778. justify-content: space-around;
  2779. margin-bottom: 25px !important;
  2780. border-bottom: 2px solid rgba(13, 107, 179, 0.53);
  2781. span {
  2782. display: block;
  2783. /*background: rgba(13, 107, 179, 0.53);*/
  2784. padding: 8px 20px;
  2785. color: #fff;
  2786. font-size: 16px;
  2787. text-shadow: 0px 0px 4px #0bf3f7;
  2788. cursor: pointer;
  2789. }
  2790. .on {
  2791. color: #0bf3f7;
  2792. background: none !important;
  2793. box-shadow: none;
  2794. font-weight: bold;
  2795. position: relative;
  2796. }
  2797. .on::after {
  2798. content: '';
  2799. display: block;
  2800. position: absolute;
  2801. bottom: -10px;
  2802. /* 下三角位于链接的底部 */
  2803. left: 50%;
  2804. /* 水平居中 */
  2805. width: 0;
  2806. height: 0;
  2807. border-left: 9px solid transparent;
  2808. /* 左边透明 */
  2809. border-right: 9px solid transparent;
  2810. /* 右边透明 */
  2811. border-top: 10px solid rgba(13, 107, 179, 0.53);
  2812. /* 上边是三角形颜色 */
  2813. transform: translateX(-50%);
  2814. /* 确保三角形中心对齐链接的中心 */
  2815. }
  2816. }
  2817. .sj-input-style {
  2818. margin-top: 5px !important;
  2819. width: 100% !important;
  2820. .el-input__inner {
  2821. height: 30px;
  2822. line-height: 30px;
  2823. background-color: rgba(12, 44, 80, 0.52);
  2824. border: 1px solid #326e96;
  2825. color: #0fc0ee;
  2826. }
  2827. .el-input__icon {
  2828. line-height: 30px;
  2829. }
  2830. }
  2831. </style>