cameraDataDialog.vue 75 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791
  1. <template>
  2. <div class="main-data dialog-area" @click.stop="preventDefault" @mouseleave="leaveFun">
  3. <div class="dialog-title">
  4. <img
  5. src="@/assets/images/main/cont_title_bg.png"
  6. />
  7. <div class="title">办公能耗</div>
  8. </div>
  9. <div class="dialog-cont">
  10. <div class="dialog-left">
  11. <div class="dialog-list">
  12. <div class="dialog-item wid100">
  13. <div class="content-title">
  14. <span class="title">近一月楼宇能耗信息</span>
  15. </div>
  16. <div class="content">
  17. <div class="total-cot">
  18. <div class="other-cont">
  19. <img
  20. src="@/assets/images/building_guarantee/img_1.png"
  21. class="icon"
  22. />
  23. <div class="other-info">
  24. <div class="desc">用水量</div>
  25. <div class="num-info">
  26. <div class="num">{{energyList[0].value}}</div>
  27. <div class="unit">m³</div>
  28. </div>
  29. </div>
  30. </div>
  31. <div class="other-cou">
  32. <img
  33. src="@/assets/images/building_guarantee/img_1.png"
  34. class="icon"
  35. />
  36. <div class="other-info">
  37. <div class="desc">用电量</div>
  38. <div class="num-info">
  39. <div class="num">{{energyList[1].value}}</div>
  40. <div class="unit">kWh</div>
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. <div class="dialog-list">
  49. <div class="dialog-item wid100">
  50. <div class="content-title">
  51. <span class="title">空气概况</span>
  52. </div>
  53. <div class="leftNav">
  54. <div
  55. :class="['model1', 0 == curBodex ? 'cur' : '']"
  56. @click="chooseBox(0, 'indoor')"
  57. >
  58. 室内
  59. </div>
  60. <div
  61. :class="['model1', 1 == curBodex ? 'cur' : '']"
  62. @click="chooseBox(1, 'outdoor')"
  63. >
  64. 室外
  65. </div>
  66. </div>
  67. <!-- 室内 -->
  68. <div class="rightList1" v-if="showBox === 'indoor'" >
  69. <div class="left-list" >
  70. <div class="left-info">
  71. <div class="airStation"> <img src="@/assets/images/service_new/airStation.png"></div>
  72. <div >
  73. <div class="temelper">{{airOverviewList[0].name}}</div>
  74. <div class="num">{{airOverviewList[0].valueIn}}<span class="unit">°C</span></div>
  75. </div>
  76. </div>
  77. </div>
  78. <div class="left-list">
  79. <div class="left-info">
  80. <div class="airStation">
  81. <div> <img src="@/assets/images/service_new/airStation.png"></div>
  82. </div>
  83. <div >
  84. <div class="temelper">{{airOverviewList[1].name}}</div>
  85. <div class="num">{{airOverviewList[1].valueIn}}<span class="unit">%RH</span></div>
  86. </div>
  87. </div>
  88. </div>
  89. <div class="left-list">
  90. <div class="left-info">
  91. <div class="airStation">
  92. <div> <img src="@/assets/images/service_new/airStation.png"></div>
  93. </div>
  94. <div >
  95. <div class="temelper">{{airOverviewList[2].name}}</div>
  96. <div class="num">{{airOverviewList[2].valueIn}}<span class="unit">PPM</span></div>
  97. </div>
  98. </div>
  99. </div>
  100. <div class="left-list">
  101. <div class="left-info">
  102. <div class="airStation">
  103. <div> <img src="@/assets/images/service_new/airStation.png"></div>
  104. </div>
  105. <div >
  106. <div class="temelper">{{airOverviewList[3].name}}</div>
  107. <div class="num">{{airOverviewList[3].valueIn}}<span class="unit">ug/m³</span></div>
  108. </div>
  109. </div>
  110. </div>
  111. <div class="left-list">
  112. <div class="left-info">
  113. <div class="airStation">
  114. <div> <img src="@/assets/images/service_new/airStation.png"></div>
  115. </div>
  116. <div >
  117. <div class="temelper">{{airOverviewList[4].name}}</div>
  118. <div class="num">{{airOverviewList[4].valueIn}}<span class="unit">ug/m³</span></div>
  119. </div>
  120. </div>
  121. </div>
  122. </div>
  123. <!-- 室外 -->
  124. <div class="rightList1" v-else-if="showBox === 'outdoor'">
  125. <div class="left-list">
  126. <div class="left-info">
  127. <div class="airStation"> <img src="@/assets/images/service_new/airStation.png"></div>
  128. <div >
  129. <div class="temelper">{{airOverviewList[0].name}}</div>
  130. <div class="num">{{airOverviewList[0].valueOut}}<span class="unit">°C</span></div>
  131. </div>
  132. </div>
  133. </div>
  134. <div class="left-list">
  135. <div class="left-info">
  136. <div class="airStation">
  137. <div> <img src="@/assets/images/service_new/airStation.png"></div>
  138. </div>
  139. <div >
  140. <div class="temelper">{{airOverviewList[1].name}}</div>
  141. <div class="num">{{airOverviewList[1].valueOut}}<span class="unit">%RH</span></div>
  142. </div>
  143. </div>
  144. </div>
  145. <div class="left-list">
  146. <div class="left-info">
  147. <div class="airStation">
  148. <div> <img src="@/assets/images/service_new/airStation.png"></div>
  149. </div>
  150. <div >
  151. <div class="temelper">{{airOverviewList[2].name}}</div>
  152. <div class="num">{{airOverviewList[2].valueOut}}<span class="unit">PPM</span></div>
  153. </div>
  154. </div>
  155. </div>
  156. <div class="left-list">
  157. <div class="left-info">
  158. <div class="airStation">
  159. <div> <img src="@/assets/images/service_new/airStation.png"></div>
  160. </div>
  161. <div >
  162. <div class="temelper">{{airOverviewList[3].name}}</div>
  163. <div class="num">{{airOverviewList[3].valueOut}}<span class="unit">ug/m³</span></div>
  164. </div>
  165. </div>
  166. </div>
  167. <div class="left-list">
  168. <div class="left-info">
  169. <div class="airStation">
  170. <div> <img src="@/assets/images/service_new/airStation.png"></div>
  171. </div>
  172. <div >
  173. <div class="temelper">{{airOverviewList[4].name}}</div>
  174. <div class="num">{{airOverviewList[4].valueOut}}<span class="unit">ug/m³</span></div>
  175. </div>
  176. </div>
  177. </div>
  178. </div>
  179. </div>
  180. </div>
  181. <div class="dialog-list">
  182. <div class="dialog-item wid100">
  183. <div class="content-title">
  184. <span class="title">定额指标</span>
  185. </div>
  186. <!-- <div class="content-Image"></div> -->
  187. <div class="pedestrianBox">
  188. <div class="docWs">
  189. <div class="yinBor"></div>
  190. <div style="margin-left: 8px;">引导值</div>
  191. </div>
  192. <div class="docWs1">
  193. <div class="jiBOX"></div>
  194. <div style="margin-left: 8px;">基准值</div>
  195. </div>
  196. <div class="docWs2">
  197. <div class="yuBox"></div>
  198. <div style="margin-left: 8px;">约束值</div>
  199. </div>
  200. <div class="docWs3">
  201. <div class="shiBox"></div>
  202. <div style="margin-left: 8px;">实际进度</div>
  203. </div>
  204. </div>
  205. <div class="charts-cont">
  206. <bar-chart
  207. :chart-data="pedestrianFlowBarData"
  208. :x-axis="pedestrianFlowBarAxis"
  209. :y-axis="pedestrianFlowBarYaxis"
  210. y-color="#FFF"
  211. l-color="#FFF"
  212. width="515px"
  213. height="70px"
  214. />
  215. </div>
  216. <bar-chart
  217. :chart-data="waterFlowBarData"
  218. :x-axis="waterFlowBarAxis"
  219. :y-axis="waterFlowBarYaxis"
  220. y-color="#FFF"
  221. l-color="#FFF"
  222. width="515px"
  223. height="70px"
  224. />
  225. <bar-chart
  226. :chart-data="comprehensiveFlowBarData"
  227. :x-axis="comprehensiveFlowBarAxis"
  228. :y-axis="comprehensiveFlowBarYaxis"
  229. y-color="#FFF"
  230. l-color="#FFF"
  231. width="515px"
  232. height="70px"
  233. />
  234. <bar-chart
  235. :chart-data="perCapitaFlowBarData"
  236. :x-axis="perCapitaFlowBarAxis"
  237. :y-axis="perCapitaFlowBarYaxis"
  238. y-color="#FFF"
  239. l-color="#FFF"
  240. width="515px"
  241. height="70px"
  242. />
  243. <bar-chart
  244. :chart-data="powerFlowBarData"
  245. :x-axis="powerFlowBarAxis"
  246. :y-axis="powerFlowBarYaxis"
  247. y-color="#FFF"
  248. l-color="#FFF"
  249. width="515px"
  250. height="70px"
  251. />
  252. <bar-chart
  253. :chart-data="exhaustFlowBarData"
  254. :x-axis="exhaustFlowBarAxis"
  255. :y-axis="exhaustFlowBarYaxis"
  256. y-color="#FFF"
  257. l-color="#FFF"
  258. width="515px"
  259. height="70px"
  260. />
  261. </div>
  262. </div>
  263. <div class="dialog-list">
  264. <div class="dialog-item wid100">
  265. <div class="content-title">
  266. <span class="title">办公用电分项 (月)</span>
  267. </div>
  268. <div class="charts-cont">
  269. <bar-chart
  270. :chart-data="electricityAreaBarData"
  271. :x-axis="electricityAreaBarAxis"
  272. :yAxis="electricityAreaBarYaxis"
  273. y-color="#FFF"
  274. l-color="#FFF"
  275. width="565px"
  276. height="300px"
  277. />
  278. </div>
  279. </div>
  280. </div>
  281. <div class="dialog-list">
  282. <div class="dialog-item wid100">
  283. <div class="content-title">
  284. <span class="title">绿电比例</span>
  285. </div>
  286. <div class="energyBox">
  287. <StackedPieChart3D :IntionList="greenIntionList"/>
  288. <div class="routine">
  289. <div class="routineNavBox">
  290. <div class="imgBOX"> <img src="@/assets/images/building_guarantee/Path.png"></div>
  291. <div class="greenName">常规电能</div>
  292. <div class="greenNum">{{ greenIntionList.publicEnergy }}%</div>
  293. </div>
  294. <div class="greenPoxBOX">
  295. <div class="imgBOX"> <img src="@/assets/images/building_guarantee/Path2.png"></div>
  296. <div class="greenName" >绿电电能</div>
  297. <div class="greenNum">{{ greenIntionList.grennEnergy }}%</div>
  298. </div>
  299. </div>
  300. </div>
  301. <!-- <div id="wqo" style="width: 600px;height:400px;"></div> -->
  302. </div>
  303. </div>
  304. <!-- <div class="dialog-list">
  305. <div class="dialog-item wid100">
  306. <div class="content-title">
  307. <span class="title">能耗设备</span>
  308. </div>
  309. <div class="rightList1">
  310. <div class="left-list">
  311. <div class="left-info">
  312. <div class="airStation"> <img src="@/assets/images/service_new/airStation.png"></div>
  313. <div >
  314. <div class="temelper">空气质量监测仪</div>
  315. <div class="num">46<span class="unit">台</span></div>
  316. </div>
  317. </div>
  318. </div>
  319. <div class="left-list">
  320. <div class="left-info">
  321. <div class="airStation">
  322. <div> <img src="@/assets/images/service_new/airStation.png"></div>
  323. </div>
  324. <div >
  325. <div class="temelper">智能电表</div>
  326. <div class="num">78<span class="unit">台</span></div>
  327. </div>
  328. </div>
  329. </div>
  330. <div class="left-list">
  331. <div class="left-info">
  332. <div class="airStation">
  333. <div> <img src="@/assets/images/service_new/airStation.png"></div>
  334. </div>
  335. <div >
  336. <div class="temelper">液位传感器</div>
  337. <div class="num">71<span class="unit">台</span></div>
  338. </div>
  339. </div>
  340. </div>
  341. </div>
  342. <div class="rightList1">
  343. <div class="left-list">
  344. <div class="left-info">
  345. <div class="airStation"> <img src="@/assets/images/service_new/airStation.png"></div>
  346. <div >
  347. <div class="temelper">电梯能量回收设备</div>
  348. <div class="num">83<span class="unit">台</span></div>
  349. </div>
  350. </div>
  351. </div>
  352. <div class="left-list">
  353. <div class="left-info">
  354. <div class="airStation">
  355. <div> <img src="@/assets/images/service_new/airStation.png"></div>
  356. </div>
  357. <div >
  358. <div class="temelper">水泵监测仪</div>
  359. <div class="num">74<span class="unit">台</span></div>
  360. </div>
  361. </div>
  362. </div>
  363. <div class="left-list">
  364. <div class="left-info podTan">
  365. <div class="airStation">
  366. <div> <img src="@/assets/images/service_new/airStation.png"></div>
  367. </div>
  368. <div>
  369. <div class="temelper">智能水表</div>
  370. <div class="num">12<span class="unit">台</span></div>
  371. </div>
  372. </div>
  373. </div>
  374. </div>
  375. </div>
  376. </div> -->
  377. </div>
  378. <div class="dialog-right">
  379. <div class="dialog-list">
  380. <div class="dialog-item wid100">
  381. <div class="content-title">
  382. <span class="title">碳排放量月度变化趋势图</span>
  383. </div>
  384. <div class="content">
  385. <line-chart
  386. :chart-data="lineData"
  387. :x-axis="lineAxis"
  388. :yAxis="lineYAxis"
  389. :legend="lineLegend"
  390. y-color="#FFF"
  391. l-color="#FFF"
  392. width="565px"
  393. height="240px"
  394. />
  395. </div>
  396. <div class="dialog-list1">
  397. <div class="dialog-item wid100">
  398. <div class="content-title">
  399. <span class="title">年度累计综合能耗</span>
  400. </div>
  401. <div class="content">
  402. <div class="total-cot1">
  403. <div class="other-cont">
  404. <img
  405. src="@/assets/images/building_guarantee/img_1.png"
  406. class="icon"
  407. />
  408. <div class="other-info">
  409. <div class="desc">年度累计综合能耗</div>
  410. <div class="num-info">
  411. <div class="num">{{comprehensiveList.yearTotal}}</div>
  412. <div class="unit">万吨</div>
  413. </div>
  414. </div>
  415. </div>
  416. <div class="other-cou1">
  417. <div class="other-info">
  418. <div class="num-info">
  419. <div class="unit">同比减少</div>
  420. <div class="num">{{comprehensiveList.yearGrowth}}</div>
  421. <div class="unit">万吨</div>
  422. </div>
  423. </div>
  424. </div>
  425. </div>
  426. <line-chart
  427. :chart-data="comprehensiveData"
  428. :x-axis="lineAxis"
  429. :yAxis="lineYAxis"
  430. :legend="lineLegend"
  431. y-color="#FFF"
  432. l-color="#FFF"
  433. width="565px"
  434. height="240px"
  435. />
  436. </div>
  437. </div>
  438. </div>
  439. <div class="dialog-list1">
  440. <div class="dialog-item wid100">
  441. <div class="content-title">
  442. <span class="title">年度累计电耗</span>
  443. </div>
  444. <div class="content">
  445. <div class="total-cot1">
  446. <div class="other-cont">
  447. <img
  448. src="@/assets/images/building_guarantee/img_1.png"
  449. class="icon"
  450. />
  451. <div class="other-info">
  452. <div class="desc">年度累计电耗</div>
  453. <div class="num-info">
  454. <div class="num">{{electricityList.yearTotal}}</div>
  455. <div class="unit">万吨</div>
  456. </div>
  457. </div>
  458. </div>
  459. <div class="other-cou1">
  460. <div class="other-info">
  461. <div class="num-info">
  462. <div class="unit">同比减少</div>
  463. <div class="num">{{electricityList.yearGrowth}}</div>
  464. <div class="unit">万吨</div>
  465. </div>
  466. </div>
  467. </div>
  468. </div>
  469. <line-chart
  470. :chart-data="electricityData"
  471. :x-axis="lineAxis"
  472. :yAxis="lineYAxis"
  473. :legend="lineLegend"
  474. y-color="#FFF"
  475. l-color="#FFF"
  476. width="565px"
  477. height="240px"
  478. />
  479. </div>
  480. </div>
  481. </div>
  482. <div class="dialog-list1">
  483. <div class="dialog-item wid100">
  484. <div class="content-title">
  485. <span class="title">年度累计水耗</span>
  486. </div>
  487. <div class="content">
  488. <div class="total-cot1">
  489. <div class="other-cont">
  490. <img
  491. src="@/assets/images/building_guarantee/img_1.png"
  492. class="icon"
  493. />
  494. <div class="other-info">
  495. <div class="desc">年度累计水耗</div>
  496. <div class="num-info">
  497. <div class="num">{{waterList.yearTotal}}</div>
  498. <div class="unit">万吨</div>
  499. </div>
  500. </div>
  501. </div>
  502. <div class="other-cou1">
  503. <div class="other-info">
  504. <div class="num-info">
  505. <div class="unit">同比减少</div>
  506. <div class="num">{{waterList.yearGrowth}}</div>
  507. <div class="unit">万吨</div>
  508. </div>
  509. </div>
  510. </div>
  511. </div>
  512. <line-chart
  513. :chart-data="waterData"
  514. :x-axis="lineAxis"
  515. :yAxis="lineYAxis"
  516. :legend="lineLegend"
  517. y-color="#FFF"
  518. l-color="#FFF"
  519. width="565px"
  520. height="240px"
  521. />
  522. </div>
  523. </div>
  524. </div>
  525. </div>
  526. </div>
  527. </div>
  528. </div>
  529. </div>
  530. </template>
  531. <script>
  532. import LineChart from "@/components/Echarts/LineChart";
  533. import PieChart from "@/components/Echarts/PieChart";
  534. import BarChart from "@/components/Echarts/BarChart.vue";
  535. import StackedPieChart3D from '@/components/Echarts/StackedPieChart3D.vue';
  536. import echarts from "echarts";
  537. import 'echarts-gl';
  538. import {
  539. powerAndWaterMonth,airOverview,getTarget,useElectricity,carbon,energyYear,powerYear,waterYear,greenElectricity
  540. } from "@/api/screen/service";
  541. export default {
  542. name: "EnergyRateDialog",
  543. components: {
  544. BarChart,
  545. PieChart,
  546. LineChart,
  547. StackedPieChart3D
  548. },
  549. props: {
  550. appOrg: {
  551. type: String,
  552. default: "0000",
  553. },
  554. },
  555. data() {
  556. return {
  557. energyList:[{name: "water", value: 0}, {name: "power", value: 0}],
  558. airOverviewList:{},
  559. curBodex:0,
  560. showBox: "indoor",
  561. Boxtabs: [
  562. {
  563. name: "室内",
  564. tab: "indoor",
  565. },
  566. {
  567. name: "室外",
  568. tab: "outdoor",
  569. },
  570. ],
  571. lineLegend: {
  572. top: 0,
  573. orient: "horizontal",
  574. right: 0,
  575. itemWidth: 17, // 设置图例标记的宽度
  576. itemHeight: 10, // 设置图例标记的高度
  577. textStyle: {
  578. color: "#FFF",
  579. },
  580. },
  581. greenIntionList:{},
  582. //单位建筑面积电耗
  583. pedestrianFlowBarData: [],
  584. pedestrianFlowBarAxis: {},
  585. pedestrianFlowBarYaxis: {},
  586. //单位建筑面积水耗
  587. waterFlowBarData: [],
  588. waterFlowBarAxis: {},
  589. waterFlowBarYaxis: {},
  590. //单位建筑面积综合能耗
  591. comprehensiveFlowBarData: [],
  592. comprehensiveFlowBarAxis: {},
  593. comprehensiveFlowBarYaxis: {},
  594. //人均水耗
  595. perCapitaFlowBarData: [],
  596. perCapitaFlowBarAxis: {},
  597. perCapitaFlowBarYaxis: {},
  598. //人均电耗
  599. powerFlowBarData: [],
  600. powerFlowBarAxis: {},
  601. powerFlowBarYaxis: {},
  602. //人均综合能耗
  603. exhaustFlowBarData: [],
  604. exhaustFlowBarAxis: {},
  605. exhaustFlowBarYaxis: {},
  606. // 碳排放量月度变化趋势图
  607. lineData: [],
  608. // 年度累计综合能耗
  609. comprehensiveList:{},
  610. comprehensiveData:[],
  611. // 年度累计电耗
  612. electricityList:{},
  613. electricityData:[],
  614. // 年度累计水耗
  615. waterList:{},
  616. waterData:[],
  617. lineAxis: {
  618. type: "category",
  619. data: ["01月", "02月", "03月", "04月","05月","06月","07月","08月","09月","10月","11月","12月",],
  620. axisLabel: {
  621. color: "white", // 设置横坐标轴字体颜色为红色
  622. },
  623. axisTick: {
  624. show: false,
  625. },
  626. axisLine: {
  627. lineStyle: {
  628. color: "#465A64",
  629. },
  630. },
  631. boundaryGap: false,
  632. },
  633. lineYAxis: {
  634. name: "单位: 吨",
  635. nameTextStyle: {
  636. color: "#fff",
  637. padding: [0, 0, 0, 30],
  638. },
  639. axisLabel: {
  640. color: "#FFF",
  641. },
  642. splitLine: {
  643. show: false,
  644. },
  645. axisLine: {
  646. show: false,
  647. },
  648. axisTick: {
  649. show: false,
  650. },
  651. splitArea: false,
  652. },
  653. //告警事件的历史统计
  654. giveLineData: [],
  655. //配电室重要抽屉负荷情况
  656. barData: [],
  657. barAxis: {},
  658. barYAxis: {},
  659. barLegend: {},
  660. yearAllWaterChangeData: {
  661. value: 0
  662. },
  663. useElectricityBarData: [],
  664. useElectricityBarYaxis: {
  665. type: "value",
  666. boundaryGap: [0, 0.01],
  667. name: "kwh",
  668. nameTextStyle: {
  669. color: "#fff",
  670. },
  671. axisLine: {
  672. show:false
  673. },
  674. axisLabel: {
  675. color: "white", // 设置横坐标轴字体颜色为红色
  676. },
  677. splitLine: {
  678. show: false,
  679. },
  680. axisTick: {
  681. show: false,
  682. },
  683. splitArea: false,
  684. },
  685. useElectricityBarLegend: {
  686. show: false,
  687. },
  688. pieData: [
  689. {
  690. name: "",
  691. value: 56,
  692. },
  693. {
  694. name: "",
  695. value: 44,
  696. },
  697. ],
  698. resourceDataList: [],
  699. //用电分项
  700. electricityAreaBarData: [],
  701. electricityAreaBarAxis: {
  702. type: "category",
  703. data: [
  704. "照明用电",
  705. "电梯用电",
  706. "办公用电",
  707. "其他用电",
  708. ],
  709. axisLabel: {
  710. color: "white", // 设置横坐标轴字体颜色为红色
  711. rotate: 0,
  712. interval: 0
  713. },
  714. axisLine:{
  715. show:true
  716. },
  717. axisTick: {
  718. show: false,
  719. },
  720. splitArea:false
  721. },
  722. electricityAreaBarYaxis: {
  723. type: "value",
  724. boundaryGap: [0, 0.01],
  725. name: '单位: kWh',
  726. nameTextStyle: {
  727. color: '#fff',
  728. padding: [0,0,0,30]
  729. },
  730. axisLine:{
  731. lineStyle:{
  732. color:"#465A64"
  733. }
  734. },
  735. axisLabel: {
  736. color: "white", // 设置横坐标轴字体颜色为红色
  737. },
  738. splitLine: {
  739. show: false,
  740. },
  741. axisTick: {
  742. show: false,
  743. },
  744. splitArea:false
  745. },
  746. barGrid: {
  747. top: 10,
  748. left: "2%",
  749. right: "5%",
  750. containLabel: true,
  751. bottom: 0,
  752. },
  753. };
  754. },
  755. created() {
  756. //绿电比例
  757. this.greenElectricity();
  758. // 近一月楼宇能耗信息
  759. this.powerAndWaterMonth();
  760. //空气概况
  761. this.airOverview();
  762. //单位建筑面积电耗
  763. this.getTarget();
  764. //用电分项
  765. this.useElectricity();
  766. // 碳排放量月度变化趋势图
  767. this.carbon();
  768. //年度累计综合能耗
  769. this.energyYear();
  770. //年度累计电耗
  771. this.powerYear();
  772. //年度累计水耗
  773. this.waterYear();
  774. },
  775. destroyed() {},
  776. beforeDestroy() {},
  777. mounted() {
  778. },
  779. methods: {
  780. //近一月楼宇能耗信息
  781. powerAndWaterMonth() {
  782. powerAndWaterMonth(this.$props.appOrg).then((res) => {
  783. if (Number(res.code) === 200) {
  784. this.energyList=res.data;
  785. }
  786. });
  787. },
  788. //空气概况
  789. airOverview() {
  790. airOverview(this.$props.appOrg).then((res) => {
  791. if (Number(res.code) === 200) {
  792. this.airOverviewList=res.data;
  793. }
  794. });
  795. },
  796. //单位建筑面积电耗
  797. getTarget() {
  798. getTarget(this.$props.appOrg).then((res) => {
  799. if (Number(res.code) === 200) {
  800. this.pedestrianFlowBarData = [
  801. {
  802. name: '',
  803. type: "bar",
  804. stack: "a",
  805. itemStyle: {
  806. color: '#2C5466',
  807. borderColor: '#2D82B6', // 边框颜色
  808. borderWidth: 2,
  809. borderType: 'solid',
  810. },
  811. barWidth: 30,
  812. data: [res.data[0].guideValue],
  813. },
  814. {
  815. name: '',
  816. type: "bar",
  817. stack: "a",
  818. itemStyle: {
  819. color: '#754F38',
  820. borderColor: '#A54110', // 边框颜色
  821. borderWidth: 2,
  822. borderType: 'solid',
  823. },
  824. barWidth: 30,
  825. data: [res.data[0].tieValue],
  826. },
  827. {
  828. name: '',
  829. type: "bar",
  830. stack: "a",
  831. itemStyle: {
  832. color: '#4B532A',
  833. borderColor: '#9D8B3A', // 边框颜色
  834. borderWidth: 2,
  835. borderType: 'solid',
  836. },
  837. barWidth: 30,
  838. data: [res.data[0].datumValue],
  839. },
  840. {
  841. name: '',
  842. type: "bar",
  843. stack: "b",
  844. barGap:"-85%",
  845. itemStyle: {
  846. color: '#00F0FF',
  847. },
  848. barWidth: 2,
  849. data: [res.data[0].value],
  850. },
  851. ];
  852. this.pedestrianFlowBarYaxis = [
  853. {
  854. type: "category",
  855. data: ["单位建筑面积电耗(kW·h/m²)"],
  856. axisLabel: {
  857. show: true,
  858. inside: true,
  859. interval: 0,
  860. splitNumber: 50,
  861. textStyle: {
  862. color: '#ffffff',
  863. verticalAlign: 'bottom',
  864. fontSize: 16,
  865. align: 'left',
  866. padding: [0, 0, 20, -5]
  867. }
  868. },
  869. axisLine: {
  870. show: false
  871. },
  872. // 去除刻度线
  873. axisTick: {
  874. show: false
  875. }
  876. },
  877. {
  878. type: "category",
  879. data: [res.data[0].value],
  880. axisLabel: {
  881. show: true,
  882. inside: true,
  883. interval: 0,
  884. splitNumber: 50,
  885. textStyle: {
  886. color: '#00F0FF',
  887. verticalAlign: 'bottom',
  888. fontSize: 16,
  889. align: 'right',
  890. padding: [0, 0, 20, -5]
  891. }
  892. },
  893. axisLine: {
  894. show: false
  895. },
  896. // 去除刻度线
  897. axisTick: {
  898. show: false
  899. }
  900. },
  901. ]
  902. this.pedestrianFlowBarAxis = {
  903. max: res.data[0].total,// 设置最大值是多少
  904. splitNumber: 3,// 设置分几段显示
  905. type: 'value',
  906. show: false,
  907. minorSplitLine: {
  908. show: false
  909. }
  910. };
  911. //单位建筑面积水耗
  912. this.waterFlowBarData = [
  913. {
  914. name: '',
  915. type: "bar",
  916. stack: "a",
  917. itemStyle: {
  918. color: '#2C5466',
  919. borderColor: '#2D82B6', // 边框颜色
  920. borderWidth: 2,
  921. borderType: 'solid',
  922. },
  923. barWidth: 30,
  924. data: [res.data[1].guideValue],
  925. },
  926. {
  927. name: '',
  928. type: "bar",
  929. stack: "a",
  930. itemStyle: {
  931. color: '#754F38',
  932. borderColor: '#A54110', // 边框颜色
  933. borderWidth: 2,
  934. borderType: 'solid',
  935. },
  936. barWidth: 30,
  937. data: [res.data[1].tieValue],
  938. },
  939. {
  940. name: '',
  941. type: "bar",
  942. stack: "a",
  943. itemStyle: {
  944. color: '#4B532A',
  945. borderColor: '#9D8B3A', // 边框颜色
  946. borderWidth: 2,
  947. borderType: 'solid',
  948. },
  949. barWidth: 30,
  950. data: [res.data[1].datumValue],
  951. },
  952. {
  953. name: '',
  954. type: "bar",
  955. stack: "b",
  956. barGap:"-85%",
  957. itemStyle: {
  958. color: '#00F0FF',
  959. },
  960. barWidth: 2,
  961. data: [res.data[1].value],
  962. },
  963. ];
  964. this.waterFlowBarYaxis = [
  965. {
  966. type: "category",
  967. data: ["单位建筑面积水耗(kW·h/m²)"],
  968. axisLabel: {
  969. show: true,
  970. inside: true,
  971. interval: 0,
  972. splitNumber: 50,
  973. textStyle: {
  974. color: '#ffffff',
  975. verticalAlign: 'bottom',
  976. fontSize: 16,
  977. align: 'left',
  978. padding: [0, 0, 20, -5]
  979. }
  980. },
  981. axisLine: {
  982. show: false
  983. },
  984. // 去除刻度线
  985. axisTick: {
  986. show: false
  987. }
  988. },
  989. {
  990. type: "category",
  991. data: [res.data[1].value],
  992. axisLabel: {
  993. show: true,
  994. inside: true,
  995. interval: 0,
  996. splitNumber: 50,
  997. textStyle: {
  998. color: '#00F0FF',
  999. verticalAlign: 'bottom',
  1000. fontSize: 16,
  1001. align: 'right',
  1002. padding: [0, 0, 20, -5]
  1003. }
  1004. },
  1005. axisLine: {
  1006. show: false
  1007. },
  1008. // 去除刻度线
  1009. axisTick: {
  1010. show: false
  1011. }
  1012. },
  1013. ]
  1014. this.waterFlowBarAxis = {
  1015. max: res.data[1].total,// 设置最大值是多少
  1016. splitNumber: 3,// 设置分几段显示
  1017. type: 'value',
  1018. show: false,
  1019. minorSplitLine: {
  1020. show: false
  1021. }
  1022. };
  1023. //单位建筑面积综合能耗
  1024. this.comprehensiveFlowBarData = [
  1025. {
  1026. name: '',
  1027. type: "bar",
  1028. stack: "a",
  1029. itemStyle: {
  1030. color: '#2C5466',
  1031. borderColor: '#2D82B6', // 边框颜色
  1032. borderWidth: 2,
  1033. borderType: 'solid',
  1034. },
  1035. barWidth: 30,
  1036. data: [res.data[2].guideValue],
  1037. },
  1038. {
  1039. name: '',
  1040. type: "bar",
  1041. stack: "a",
  1042. itemStyle: {
  1043. color: '#754F38',
  1044. borderColor: '#A54110', // 边框颜色
  1045. borderWidth: 2,
  1046. borderType: 'solid',
  1047. },
  1048. barWidth: 30,
  1049. data: [res.data[2].tieValue],
  1050. },
  1051. {
  1052. name: '',
  1053. type: "bar",
  1054. stack: "a",
  1055. itemStyle: {
  1056. color: '#4B532A',
  1057. borderColor: '#9D8B3A', // 边框颜色
  1058. borderWidth: 2,
  1059. borderType: 'solid',
  1060. },
  1061. barWidth: 30,
  1062. data: [res.data[2].datumValue],
  1063. },
  1064. {
  1065. name: '',
  1066. type: "bar",
  1067. stack: "b",
  1068. barGap:"-85%",
  1069. itemStyle: {
  1070. color: '#00F0FF',
  1071. },
  1072. barWidth: 2,
  1073. data: [res.data[2].value],
  1074. },
  1075. ];
  1076. this.comprehensiveFlowBarYaxis = [
  1077. {
  1078. type: "category",
  1079. data: ["单位建筑面积综合能耗(kW·h/m²)"],
  1080. axisLabel: {
  1081. show: true,
  1082. inside: true,
  1083. interval: 0,
  1084. splitNumber: 50,
  1085. textStyle: {
  1086. color: '#ffffff',
  1087. verticalAlign: 'bottom',
  1088. fontSize: 16,
  1089. align: 'left',
  1090. padding: [0, 0, 20, -5]
  1091. }
  1092. },
  1093. axisLine: {
  1094. show: false
  1095. },
  1096. // 去除刻度线
  1097. axisTick: {
  1098. show: false
  1099. }
  1100. },
  1101. {
  1102. type: "category",
  1103. data: [res.data[2].value],
  1104. axisLabel: {
  1105. show: true,
  1106. inside: true,
  1107. interval: 0,
  1108. splitNumber: 50,
  1109. textStyle: {
  1110. color: '#00F0FF',
  1111. verticalAlign: 'bottom',
  1112. fontSize: 16,
  1113. align: 'right',
  1114. padding: [0, 0, 20, -5]
  1115. }
  1116. },
  1117. axisLine: {
  1118. show: false
  1119. },
  1120. // 去除刻度线
  1121. axisTick: {
  1122. show: false
  1123. }
  1124. },
  1125. ]
  1126. this.comprehensiveFlowBarAxis = {
  1127. max: res.data[2].total,// 设置最大值是多少
  1128. splitNumber: 3,// 设置分几段显示
  1129. type: 'value',
  1130. show: false,
  1131. minorSplitLine: {
  1132. show: false
  1133. }
  1134. };
  1135. //人均水耗
  1136. this.perCapitaFlowBarData = [
  1137. {
  1138. name: '',
  1139. type: "bar",
  1140. stack: "a",
  1141. itemStyle: {
  1142. color: '#2C5466',
  1143. borderColor: '#2D82B6', // 边框颜色
  1144. borderWidth: 2,
  1145. borderType: 'solid',
  1146. },
  1147. barWidth: 30,
  1148. data: [res.data[4].guideValue],
  1149. },
  1150. {
  1151. name: '',
  1152. type: "bar",
  1153. stack: "a",
  1154. itemStyle: {
  1155. color: '#754F38',
  1156. borderColor: '#A54110', // 边框颜色
  1157. borderWidth: 2,
  1158. borderType: 'solid',
  1159. },
  1160. barWidth: 30,
  1161. data: [res.data[4].tieValue],
  1162. },
  1163. {
  1164. name: '',
  1165. type: "bar",
  1166. stack: "a",
  1167. itemStyle: {
  1168. color: '#4B532A',
  1169. borderColor: '#9D8B3A', // 边框颜色
  1170. borderWidth: 2,
  1171. borderType: 'solid',
  1172. },
  1173. barWidth: 30,
  1174. data: [res.data[4].datumValue],
  1175. },
  1176. {
  1177. name: '',
  1178. type: "bar",
  1179. stack: "b",
  1180. barGap:"-85%",
  1181. itemStyle: {
  1182. color: '#00F0FF',
  1183. },
  1184. barWidth: 2,
  1185. data: [res.data[4].value],
  1186. },
  1187. ];
  1188. this.perCapitaFlowBarYaxis = [
  1189. {
  1190. type: "category",
  1191. data: ["人均水耗(kW·h/m²)"],
  1192. axisLabel: {
  1193. show: true,
  1194. inside: true,
  1195. interval: 0,
  1196. splitNumber: 50,
  1197. textStyle: {
  1198. color: '#ffffff',
  1199. verticalAlign: 'bottom',
  1200. fontSize: 16,
  1201. align: 'left',
  1202. padding: [0, 0, 20, -5]
  1203. }
  1204. },
  1205. axisLine: {
  1206. show: false
  1207. },
  1208. // 去除刻度线
  1209. axisTick: {
  1210. show: false
  1211. }
  1212. },
  1213. {
  1214. type: "category",
  1215. data: [res.data[4].value],
  1216. axisLabel: {
  1217. show: true,
  1218. inside: true,
  1219. interval: 0,
  1220. splitNumber: 50,
  1221. textStyle: {
  1222. color: '#00F0FF',
  1223. verticalAlign: 'bottom',
  1224. fontSize: 16,
  1225. align: 'right',
  1226. padding: [0, 0, 20, -5]
  1227. }
  1228. },
  1229. axisLine: {
  1230. show: false
  1231. },
  1232. // 去除刻度线
  1233. axisTick: {
  1234. show: false
  1235. }
  1236. },
  1237. ]
  1238. this.perCapitaFlowBarAxis = {
  1239. max: res.data[4].total,// 设置最大值是多少
  1240. splitNumber: 3,// 设置分几段显示
  1241. type: 'value',
  1242. show: false,
  1243. minorSplitLine: {
  1244. show: false
  1245. }
  1246. };
  1247. //人均电耗
  1248. this.powerFlowBarData = [
  1249. {
  1250. name: '',
  1251. type: "bar",
  1252. stack: "a",
  1253. itemStyle: {
  1254. color: '#2C5466',
  1255. borderColor: '#2D82B6', // 边框颜色
  1256. borderWidth: 2,
  1257. borderType: 'solid',
  1258. },
  1259. barWidth: 30,
  1260. data: [res.data[3].guideValue],
  1261. },
  1262. {
  1263. name: '',
  1264. type: "bar",
  1265. stack: "a",
  1266. itemStyle: {
  1267. color: '#754F38',
  1268. borderColor: '#A54110', // 边框颜色
  1269. borderWidth: 2,
  1270. borderType: 'solid',
  1271. },
  1272. barWidth: 30,
  1273. data: [res.data[3].tieValue],
  1274. },
  1275. {
  1276. name: '',
  1277. type: "bar",
  1278. stack: "a",
  1279. itemStyle: {
  1280. color: '#4B532A',
  1281. borderColor: '#9D8B3A', // 边框颜色
  1282. borderWidth: 2,
  1283. borderType: 'solid',
  1284. },
  1285. barWidth: 30,
  1286. data: [res.data[3].datumValue],
  1287. },
  1288. {
  1289. name: '',
  1290. type: "bar",
  1291. stack: "b",
  1292. barGap:"-85%",
  1293. itemStyle: {
  1294. color: '#00F0FF',
  1295. },
  1296. barWidth: 2,
  1297. data: [res.data[3].value],
  1298. },
  1299. ];
  1300. this.powerFlowBarYaxis = [
  1301. {
  1302. type: "category",
  1303. data: ["人均电耗(kW·h/m²)"],
  1304. axisLabel: {
  1305. show: true,
  1306. inside: true,
  1307. interval: 0,
  1308. splitNumber: 50,
  1309. textStyle: {
  1310. color: '#ffffff',
  1311. verticalAlign: 'bottom',
  1312. fontSize: 16,
  1313. align: 'left',
  1314. padding: [0, 0, 20, -5]
  1315. }
  1316. },
  1317. axisLine: {
  1318. show: false
  1319. },
  1320. // 去除刻度线
  1321. axisTick: {
  1322. show: false
  1323. }
  1324. },
  1325. {
  1326. type: "category",
  1327. data: [res.data[3].value],
  1328. axisLabel: {
  1329. show: true,
  1330. inside: true,
  1331. interval: 0,
  1332. splitNumber: 50,
  1333. textStyle: {
  1334. color: '#00F0FF',
  1335. verticalAlign: 'bottom',
  1336. fontSize: 16,
  1337. align: 'right',
  1338. padding: [0, 0, 20, -5]
  1339. }
  1340. },
  1341. axisLine: {
  1342. show: false
  1343. },
  1344. // 去除刻度线
  1345. axisTick: {
  1346. show: false
  1347. }
  1348. },
  1349. ]
  1350. this.powerFlowBarAxis = {
  1351. max: res.data[3].total,// 设置最大值是多少
  1352. splitNumber: 3,// 设置分几段显示
  1353. type: 'value',
  1354. show: false,
  1355. minorSplitLine: {
  1356. show: false
  1357. }
  1358. };
  1359. //人均综合能耗
  1360. this.exhaustFlowBarData = [
  1361. {
  1362. name: '',
  1363. type: "bar",
  1364. stack: "a",
  1365. itemStyle: {
  1366. color: '#2C5466',
  1367. borderColor: '#2D82B6', // 边框颜色
  1368. borderWidth: 2,
  1369. borderType: 'solid',
  1370. },
  1371. barWidth: 30,
  1372. data: [res.data[5].guideValue],
  1373. },
  1374. {
  1375. name: '',
  1376. type: "bar",
  1377. stack: "a",
  1378. itemStyle: {
  1379. color: '#754F38',
  1380. borderColor: '#A54110', // 边框颜色
  1381. borderWidth: 2,
  1382. borderType: 'solid',
  1383. },
  1384. barWidth: 30,
  1385. data: [res.data[5].tieValue],
  1386. },
  1387. {
  1388. name: '',
  1389. type: "bar",
  1390. stack: "a",
  1391. itemStyle: {
  1392. color: '#4B532A',
  1393. borderColor: '#9D8B3A', // 边框颜色
  1394. borderWidth: 2,
  1395. borderType: 'solid',
  1396. },
  1397. barWidth: 30,
  1398. data: [res.data[5].datumValue],
  1399. },
  1400. {
  1401. name: '',
  1402. type: "bar",
  1403. stack: "b",
  1404. barGap:"-85%",
  1405. itemStyle: {
  1406. color: '#00F0FF',
  1407. },
  1408. barWidth: 2,
  1409. data: [res.data[5].value],
  1410. },
  1411. ];
  1412. this.exhaustFlowBarYaxis = [
  1413. {
  1414. type: "category",
  1415. data: ["人均综合能耗(kW·h/m²)"],
  1416. axisLabel: {
  1417. show: true,
  1418. inside: true,
  1419. interval: 0,
  1420. splitNumber: 50,
  1421. textStyle: {
  1422. color: '#ffffff',
  1423. verticalAlign: 'bottom',
  1424. fontSize: 16,
  1425. align: 'left',
  1426. padding: [0, 0, 20, -5]
  1427. }
  1428. },
  1429. axisLine: {
  1430. show: false
  1431. },
  1432. // 去除刻度线
  1433. axisTick: {
  1434. show: false
  1435. }
  1436. },
  1437. {
  1438. type: "category",
  1439. data: [res.data[5].value],
  1440. axisLabel: {
  1441. show: true,
  1442. inside: true,
  1443. interval: 0,
  1444. splitNumber: 50,
  1445. textStyle: {
  1446. color: '#00F0FF',
  1447. verticalAlign: 'bottom',
  1448. fontSize: 16,
  1449. align: 'right',
  1450. padding: [0, 0, 20, -5]
  1451. }
  1452. },
  1453. axisLine: {
  1454. show: false
  1455. },
  1456. // 去除刻度线
  1457. axisTick: {
  1458. show: false
  1459. }
  1460. },
  1461. ]
  1462. this.exhaustFlowBarAxis = {
  1463. max: res.data[5].total,// 设置最大值是多少
  1464. splitNumber: 3,// 设置分几段显示
  1465. type: 'value',
  1466. show: false,
  1467. minorSplitLine: {
  1468. show: false
  1469. }
  1470. };
  1471. } else {
  1472. }
  1473. });
  1474. },
  1475. //办公用电分项
  1476. useElectricity() {
  1477. useElectricity(this.$props.appOrg).then((res) => {
  1478. if (Number(res.code) === 200) {
  1479. this.electricityAreaBarData = [
  1480. {
  1481. data: [{
  1482. value: res.data[0].itemValue,
  1483. },{
  1484. value: res.data[1].itemValue,
  1485. },
  1486. {
  1487. value: res.data[2].itemValue,
  1488. },{
  1489. value: res.data[3].itemValue,
  1490. }],
  1491. type: "bar",
  1492. barWidth: 30,
  1493. itemStyle: {
  1494. color: {
  1495. type: 'linear',
  1496. x: 0, //右
  1497. y: 0, //下
  1498. x2: 0, //左
  1499. y2: 1, //上
  1500. colorStops: [
  1501. {
  1502. offset: 0,
  1503. color: '#FCE0BB' // 0% 处的颜色
  1504. },
  1505. {
  1506. offset: 1,
  1507. color: '#D47F1C' // 100% 处的颜色
  1508. }
  1509. ]
  1510. }
  1511. },
  1512. },
  1513. ];
  1514. } else {
  1515. //构造默认数据
  1516. }
  1517. });
  1518. },
  1519. //绿电比例
  1520. greenElectricity() {
  1521. greenElectricity(this.$props.appOrg).then((res) => {
  1522. if (Number(res.code) === 200) {
  1523. this.greenIntionList=res.data;
  1524. }
  1525. });
  1526. },
  1527. //切换菜单
  1528. chooseBox(index) {
  1529. this.curBodex = index;
  1530. this.showBox = this.Boxtabs[index].tab;
  1531. },
  1532. // 碳排放量月度变化趋势图
  1533. carbon() {
  1534. carbon(this.$props.appOrg).then((res) => {
  1535. if (Number(res.code) === 200) {
  1536. (this.lineData = [
  1537. {
  1538. name: res.data[0].year,
  1539. type: "line",
  1540. areaStyle: {
  1541. opacity: 0.8,
  1542. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1543. {
  1544. offset: 0.40,
  1545. color: "#00FFFF",
  1546. },
  1547. {
  1548. offset: 0.78,
  1549. color: "#17231E",
  1550. },
  1551. ]),
  1552. },
  1553. lineStyle: {
  1554. width: 2, // 设置线宽
  1555. color: "#0AC1BD", // 设置线的颜色
  1556. },
  1557. smooth: true,
  1558. data: res.data[0].monthData,
  1559. },{
  1560. name: res.data[1].year,
  1561. type: "line",
  1562. areaStyle: {
  1563. opacity: 0.8,
  1564. color: new echarts.graphic.LinearGradient(0, 5, 15, 20, [
  1565. {
  1566. offset: 0.95,
  1567. color: "#645727",
  1568. },
  1569. {
  1570. offset: 0.98,
  1571. color: "#17231E",
  1572. },
  1573. ]),
  1574. },
  1575. lineStyle: {
  1576. width: 2, // 设置线宽
  1577. color: "#D67C15", // 设置线的颜色
  1578. },
  1579. smooth: true,
  1580. data: res.data[1].monthData,
  1581. },
  1582. ])
  1583. }
  1584. });
  1585. },
  1586. //年度累计综合能耗
  1587. energyYear() {
  1588. energyYear(this.$props.appOrg).then((res) => {
  1589. if (Number(res.code) === 200) {
  1590. this.comprehensiveList=res.data;
  1591. (this.comprehensiveData = [
  1592. {
  1593. name: "今年",
  1594. type: "line",
  1595. areaStyle: {
  1596. opacity: 0.8,
  1597. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1598. {
  1599. offset: 0.40,
  1600. color: "#00FFFF",
  1601. },
  1602. {
  1603. offset: 0.78,
  1604. color: "#17231E",
  1605. },
  1606. ]),
  1607. },
  1608. lineStyle: {
  1609. width: 2, // 设置线宽
  1610. color: "#0AC1BD", // 设置线的颜色
  1611. },
  1612. smooth: true,
  1613. data: res.data.year,
  1614. },{
  1615. name: "去年",
  1616. type: "line",
  1617. areaStyle: {
  1618. opacity: 0.8,
  1619. color: new echarts.graphic.LinearGradient(0, 5, 15, 20, [
  1620. {
  1621. offset: 0.95,
  1622. color: "#645727",
  1623. },
  1624. {
  1625. offset: 0.98,
  1626. color: "#17231E",
  1627. },
  1628. ]),
  1629. },
  1630. lineStyle: {
  1631. width: 2, // 设置线宽
  1632. color: "#D67C15", // 设置线的颜色
  1633. },
  1634. smooth: true,
  1635. data: res.data.lastYear,
  1636. },
  1637. ])
  1638. }
  1639. });
  1640. },
  1641. //年度累计电耗
  1642. powerYear() {
  1643. powerYear(this.$props.appOrg).then((res) => {
  1644. if (Number(res.code) === 200) {
  1645. this.electricityList=res.data;
  1646. (this.electricityData = [
  1647. {
  1648. name: "今年",
  1649. type: "line",
  1650. // symbol: "none",
  1651. areaStyle: {
  1652. opacity: 0.8,
  1653. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1654. {
  1655. offset: 0.40,
  1656. color: "#00FFFF",
  1657. },
  1658. {
  1659. offset: 0.78,
  1660. color: "#17231E",
  1661. },
  1662. ]),
  1663. },
  1664. lineStyle: {
  1665. width: 2, // 设置线宽
  1666. color: "#0AC1BD", // 设置线的颜色
  1667. },
  1668. smooth: true,
  1669. data: res.data.year,
  1670. },{
  1671. name: "去年",
  1672. type: "line",
  1673. // symbol: "none",
  1674. areaStyle: {
  1675. opacity: 0.8,
  1676. color: new echarts.graphic.LinearGradient(0, 5, 15, 20, [
  1677. {
  1678. offset: 0.95,
  1679. color: "#645727",
  1680. },
  1681. {
  1682. offset: 0.98,
  1683. color: "#17231E",
  1684. },
  1685. ]),
  1686. },
  1687. lineStyle: {
  1688. width: 2, // 设置线宽
  1689. color: "#D67C15", // 设置线的颜色
  1690. },
  1691. smooth: true,
  1692. data: res.data.lastYear,
  1693. },
  1694. ])
  1695. }
  1696. });
  1697. },
  1698. //年度累计水耗
  1699. waterYear() {
  1700. waterYear(this.$props.appOrg).then((res) => {
  1701. if (Number(res.code) === 200) {
  1702. this.waterList=res.data;
  1703. (this.waterData = [
  1704. {
  1705. name: "今年",
  1706. type: "line",
  1707. // symbol: "none",
  1708. areaStyle: {
  1709. opacity: 0.8,
  1710. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1711. {
  1712. offset: 0.40,
  1713. color: "#00FFFF",
  1714. },
  1715. {
  1716. offset: 0.78,
  1717. color: "#17231E",
  1718. },
  1719. ]),
  1720. },
  1721. lineStyle: {
  1722. width: 2, // 设置线宽
  1723. color: "#0AC1BD", // 设置线的颜色
  1724. },
  1725. smooth: true,
  1726. data: res.data.year,
  1727. },{
  1728. name: "去年",
  1729. type: "line",
  1730. // symbol: "none",
  1731. areaStyle: {
  1732. opacity: 0.8,
  1733. color: new echarts.graphic.LinearGradient(0, 5, 15, 20, [
  1734. {
  1735. offset: 0.95,
  1736. color: "#645727",
  1737. },
  1738. {
  1739. offset: 0.98,
  1740. color: "#17231E",
  1741. },
  1742. ]),
  1743. },
  1744. lineStyle: {
  1745. width: 2, // 设置线宽
  1746. color: "#D67C15", // 设置线的颜色
  1747. },
  1748. smooth: true,
  1749. data: res.data.lastYear,
  1750. },
  1751. ])
  1752. }
  1753. });
  1754. },
  1755. // //资源信息
  1756. // resourceInfo() {
  1757. // resourceInfo(this.$props.appOrg).then((res) => {
  1758. // if (Number(res.code) === 200) {
  1759. // let color = ["#00FFFF", "#2F82FE", "#12DB62", "#FFB948", "#FF4848"];
  1760. // let resourceDataList = [];
  1761. // res.data.forEach((item, index)=>{
  1762. // item.color = color[index];
  1763. // resourceDataList.push(item);
  1764. // })
  1765. // this.resourceDataList = resourceDataList;
  1766. // }
  1767. // });
  1768. // },
  1769. //鼠标移出
  1770. leaveFun(){
  1771. this.$emit("closeDialog")
  1772. setTimeout(()=>{
  1773. this.$emit("closeDialog")
  1774. },200)
  1775. },
  1776. preventDefault() {
  1777. },
  1778. showContent(percent){
  1779. return percent;
  1780. }
  1781. },
  1782. };
  1783. </script>
  1784. <style lang="scss">
  1785. .dialog-area {
  1786. overflow: hidden;
  1787. width: 1225px;
  1788. height:920px;
  1789. background: url("../../../assets/images/main/components_max_bg.png") no-repeat;
  1790. background-size: cover;
  1791. padding: 19px 15px 11px 15px;
  1792. //backdrop-filter: blur(10px);
  1793. .dialog-title {
  1794. display: flex;
  1795. flex-direction: row;
  1796. align-items: center;
  1797. justify-content: center;
  1798. position: relative;
  1799. margin-bottom: 10px;
  1800. img {
  1801. width: 284px;
  1802. height: 32px;
  1803. }
  1804. .title {
  1805. font-size: 20px;
  1806. font-weight: 900;
  1807. font-family: "PingFangSC";
  1808. width: 100%;
  1809. position: absolute;
  1810. display: flex;
  1811. align-items: center;
  1812. justify-content: center;
  1813. top: -5px;
  1814. color: #fff;
  1815. }
  1816. }
  1817. .dialog-cont {
  1818. width:100%;
  1819. height: 850px;
  1820. padding: 15px;
  1821. overflow-y: scroll;
  1822. background: url("../../../assets/images/main/components_max_cont.png") no-repeat;
  1823. background-size: cover;
  1824. .dialog-left{
  1825. width: 570px;
  1826. float: left;
  1827. }
  1828. .dialog-right{
  1829. width: 570px;
  1830. float: right;
  1831. }
  1832. }
  1833. .dialog-list {
  1834. width: 100%;
  1835. display: flex;
  1836. justify-content: space-between;
  1837. margin-bottom: 20px;
  1838. .dialog-item{
  1839. width: calc(50% - 20px);
  1840. }
  1841. .dialog-item-cont{
  1842. display: flex;
  1843. justify-content: center;
  1844. align-items: center;
  1845. margin-top:40px;
  1846. }
  1847. .wid100 {
  1848. width: 100%;
  1849. .content-title {
  1850. width: 100%;
  1851. background: url("../../../assets/images/main/title_pro_longer.png") no-repeat;
  1852. }
  1853. }
  1854. }
  1855. .dialog-list1 {
  1856. width: 100%;
  1857. display: flex;
  1858. justify-content: space-between;
  1859. margin-bottom: 20px;
  1860. margin-top: 20px;
  1861. .dialog-item{
  1862. width: calc(50% - 20px);
  1863. }
  1864. .dialog-item-cont{
  1865. display: flex;
  1866. justify-content: center;
  1867. align-items: center;
  1868. margin-top:40px;
  1869. }
  1870. .wid100 {
  1871. width: 100%;
  1872. .content-title {
  1873. width: 100%;
  1874. background: url("../../../assets/images/main/title_pro_longer.png") no-repeat;
  1875. }
  1876. }
  1877. }
  1878. .content-title {
  1879. width: 100%;
  1880. height: 26px;
  1881. background: url("../../../assets/images/main/title_pro.png") no-repeat;
  1882. background-size: 100% 100%;
  1883. font-family: "PingFangSC";
  1884. font-size: 16px;
  1885. font-weight: bold;
  1886. color: #00ffff;
  1887. padding-left: 25px;
  1888. .title {
  1889. display: block;
  1890. position: relative;
  1891. top:-5px;
  1892. }
  1893. }
  1894. //左边菜单
  1895. .rightList1{
  1896. display: flex;
  1897. flex-wrap: wrap;
  1898. padding: 10px 0px 0px 0px;
  1899. justify-content: space-between;
  1900. .left-list{
  1901. display: flex;
  1902. align-items: center;
  1903. margin-bottom: 15px;
  1904. img{
  1905. display: block;
  1906. width:42px;
  1907. height:45px;
  1908. margin-right: 5px;
  1909. }
  1910. .left-info{
  1911. display: flex;
  1912. // padding-left:12px;
  1913. .airStation{
  1914. display: flex;
  1915. align-items: center;
  1916. }
  1917. .temelper{
  1918. font-size: 18px;
  1919. color:#FFFFFF;
  1920. font-family: "electronicFont";
  1921. }
  1922. .num{
  1923. font-size: 30px;
  1924. color:#00FFFF;
  1925. font-family: "electronicFont";
  1926. display: flex;
  1927. flex-direction: row;
  1928. align-items: baseline;
  1929. .unit{
  1930. font-size: 12px;
  1931. font-family: 'PingFangSC';
  1932. }
  1933. }
  1934. .name{
  1935. display: flex;
  1936. font-size: 14px;
  1937. color:#FFFFFF;
  1938. font-family: 'fashionZh';
  1939. padding-top:4px;
  1940. }
  1941. }
  1942. .podTan{
  1943. margin-right: 17px;
  1944. }
  1945. }
  1946. }
  1947. //右边菜单
  1948. .rightList2{
  1949. display: flex;
  1950. flex-wrap: wrap;
  1951. padding: 10px 10px 0px 10px;
  1952. justify-content: space-between;
  1953. .left-list{
  1954. display: flex;
  1955. align-items: center;
  1956. margin-bottom: 15px;
  1957. margin-left: 30px;
  1958. img{
  1959. display: block;
  1960. // width:20px;
  1961. // height:20px;
  1962. margin-right: 5px;
  1963. }
  1964. .left-info{
  1965. // padding-left:12px;
  1966. .num{
  1967. font-size: 34px;
  1968. color:#00FFFF;
  1969. font-family: "electronicFont";
  1970. display: flex;
  1971. flex-direction: row;
  1972. align-items: center;
  1973. .unit{
  1974. font-size: 12px;
  1975. font-family: 'PingFangSC';
  1976. font-weight: bold;
  1977. padding-top: 5px;
  1978. }
  1979. }
  1980. .name{
  1981. display: flex;
  1982. font-size: 14px;
  1983. color:#FFFFFF;
  1984. font-family: 'fashionZh';
  1985. padding-top:4px;
  1986. }
  1987. }
  1988. }
  1989. .right-Top{
  1990. display: flex;
  1991. .left-list1{
  1992. width: 130px;
  1993. height: 45px;
  1994. display: flex;
  1995. align-items: center;
  1996. margin-bottom: 15px;
  1997. margin-right: 20px;
  1998. margin-top: 5px;
  1999. background: url("../../../assets/images/building_guarantee/normal.png") no-repeat;
  2000. background-size: 100% 100%;
  2001. justify-content: center;
  2002. .nor{
  2003. display: flex;
  2004. font-size: 34px;
  2005. color:#10D95F;
  2006. font-family: "electronicFont";
  2007. padding-top:4px;
  2008. padding-left: 50px;
  2009. }
  2010. }
  2011. .left-list2{
  2012. width: 130px;
  2013. height: 45px;
  2014. display: flex;
  2015. align-items: center;
  2016. margin-bottom: 15px;
  2017. margin-right: 50px;
  2018. margin-top: 5px;
  2019. background: url("../../../assets/images/building_guarantee/danger.png") no-repeat;
  2020. background-size: 100% 100%;
  2021. justify-content: center;
  2022. .dor{
  2023. display: flex;
  2024. font-size: 34px;
  2025. color:#FF003D;
  2026. font-family: "electronicFont";
  2027. padding-top:4px;
  2028. padding-left: 50px;
  2029. }
  2030. }
  2031. }
  2032. }
  2033. .content {
  2034. margin-top: 20px;
  2035. .title-format {
  2036. display: flex;
  2037. flex-direction: row;
  2038. align-items: center;
  2039. img {
  2040. width: 6px;
  2041. height: 24px;
  2042. margin-right: 6px;
  2043. }
  2044. .title-info {
  2045. display: flex;
  2046. flex-direction: column;
  2047. font-size: 12px;
  2048. color: #ffffff;
  2049. .title-en {
  2050. font-size: 8px;
  2051. color: #ffffff;
  2052. opacity: 0.4;
  2053. }
  2054. }
  2055. }
  2056. .total-data {
  2057. display: flex;
  2058. align-items: baseline;
  2059. color: #00ffff;
  2060. margin-top: 4px;
  2061. .total {
  2062. font-size: 40px;
  2063. font-family: "electronicFont";
  2064. }
  2065. .unit {
  2066. font-size: 12px;
  2067. }
  2068. }
  2069. .data-content {
  2070. display: flex;
  2071. flex-direction: row;
  2072. align-items: center;
  2073. flex-wrap: wrap;
  2074. .data-item {
  2075. position: relative;
  2076. display: flex;
  2077. flex-direction: column;
  2078. align-items: center;
  2079. justify-content: center;
  2080. margin-right: 24px;
  2081. img {
  2082. width: 89px;
  2083. height: 82px;
  2084. }
  2085. .desc {
  2086. font-size: 14px;
  2087. color: #ffffff;
  2088. margin-top: 7px;
  2089. opacity: 0.4;
  2090. }
  2091. .data {
  2092. position: absolute;
  2093. top: 20px;
  2094. left: 0;
  2095. width: 89px;
  2096. font-size: 30px;
  2097. display: flex;
  2098. align-items: center;
  2099. justify-content: center;
  2100. color: #00ffff;
  2101. font-family: "electronicFont";
  2102. }
  2103. }
  2104. .data-item:nth-child(2n) {
  2105. margin-right: 0;
  2106. }
  2107. }
  2108. .data-list {
  2109. display: flex;
  2110. flex: 1;
  2111. flex-direction: row;
  2112. align-items: center;
  2113. justify-content: space-between;
  2114. .data-item {
  2115. display: flex;
  2116. flex-direction: column;
  2117. align-items: center;
  2118. justify-content: center;
  2119. flex: 1;
  2120. border-right: 1px solid rgba(25, 252, 222, 0.2);
  2121. .data-detail {
  2122. display: flex;
  2123. flex-direction: row;
  2124. align-items: baseline;
  2125. color: #00ffff;
  2126. margin-top: 11px;
  2127. font-size: 12px;
  2128. .data {
  2129. font-size: 30px;
  2130. font-family: "electronicFont";
  2131. }
  2132. }
  2133. }
  2134. .data-item:last-child {
  2135. border-right: none;
  2136. }
  2137. }
  2138. .rate-area {
  2139. position: relative;
  2140. img {
  2141. width: 198px;
  2142. height: 114px;
  2143. }
  2144. .rate {
  2145. display: flex;
  2146. flex-direction: column;
  2147. align-items: center;
  2148. justify-content: center;
  2149. width: 100%;
  2150. position: absolute;
  2151. top: 0;
  2152. left: 0;
  2153. color: #fff;
  2154. .rate-data {
  2155. display: flex;
  2156. flex-direction: row;
  2157. align-items: baseline;
  2158. color: #ffba44;
  2159. .data {
  2160. font-family: "electronicFont";
  2161. font-size: 30px;
  2162. }
  2163. .unit {
  2164. font-size: 12px;
  2165. }
  2166. }
  2167. .desc {
  2168. font-size: 12px;
  2169. width: 58px;
  2170. text-align: center;
  2171. }
  2172. }
  2173. }
  2174. }
  2175. .charts-cont{
  2176. width:100%;
  2177. padding-top:10px;
  2178. }
  2179. .total-cot{
  2180. display: flex;
  2181. .other-cont {
  2182. display: flex;
  2183. .icon {
  2184. display: block;
  2185. width: 70px;
  2186. height: auto;
  2187. }
  2188. .other-info {
  2189. padding-left: 2px;
  2190. .desc {
  2191. font-size: 12px;
  2192. color: #ffffff;
  2193. font-weight: bold;
  2194. }
  2195. .num-info {
  2196. width: 100%;
  2197. padding-top: 2px;
  2198. display: flex;
  2199. align-items: center;
  2200. .num {
  2201. font-size: 30px;
  2202. color: #00ffff;
  2203. font-weight: bold;
  2204. font-family: "electronicFont";
  2205. }
  2206. .unit {
  2207. font-size: 12px;
  2208. color: #00ffff;
  2209. font-weight: 500;
  2210. position: relative;
  2211. top: 4px;
  2212. }
  2213. .mar {
  2214. margin-left: 20px;
  2215. }
  2216. }
  2217. }
  2218. }
  2219. .other-cou{
  2220. display: flex;
  2221. margin-left:60px;
  2222. .icon {
  2223. display: block;
  2224. width: 70px;
  2225. height: auto;
  2226. }
  2227. .other-info {
  2228. padding-left: 2px;
  2229. .desc {
  2230. font-size: 12px;
  2231. color: #ffffff;
  2232. font-weight: bold;
  2233. }
  2234. .num-info {
  2235. width: 100%;
  2236. padding-top: 2px;
  2237. display: flex;
  2238. align-items: center;
  2239. .num {
  2240. font-size: 30px;
  2241. color: #00ffff;
  2242. font-weight: bold;
  2243. font-family: "electronicFont";
  2244. }
  2245. .unit {
  2246. font-size: 12px;
  2247. color: #00ffff;
  2248. font-weight: 500;
  2249. position: relative;
  2250. top: 4px;
  2251. }
  2252. .mar {
  2253. margin-left: 20px;
  2254. }
  2255. }
  2256. }
  2257. }
  2258. }
  2259. //年度累计综合能耗
  2260. .total-cot1{
  2261. display: flex;
  2262. padding-left: 20px;
  2263. .other-cont {
  2264. display: flex;
  2265. .icon {
  2266. display: block;
  2267. width: 70px;
  2268. height: auto;
  2269. }
  2270. .other-info {
  2271. padding-left: 2px;
  2272. .desc {
  2273. font-size: 12px;
  2274. color: #ffffff;
  2275. font-weight: bold;
  2276. }
  2277. .num-info {
  2278. width: 100%;
  2279. padding-top: 2px;
  2280. display: flex;
  2281. align-items: center;
  2282. .num {
  2283. font-size: 30px;
  2284. color: #00ffff;
  2285. font-weight: bold;
  2286. font-family: "electronicFont";
  2287. }
  2288. .unit {
  2289. font-size: 12px;
  2290. color: #00ffff;
  2291. font-weight: 500;
  2292. position: relative;
  2293. top: 4px;
  2294. }
  2295. .mar {
  2296. margin-left: 20px;
  2297. }
  2298. }
  2299. }
  2300. }
  2301. .other-cou1{
  2302. display: flex;
  2303. margin-left:30px;
  2304. align-items: center;
  2305. .icon {
  2306. display: block;
  2307. width: 70px;
  2308. height: auto;
  2309. }
  2310. .other-info {
  2311. padding-left: 2px;
  2312. padding-top: 8px;
  2313. .desc {
  2314. font-size: 12px;
  2315. color: #ffffff;
  2316. font-weight: bold;
  2317. }
  2318. .num-info {
  2319. width: 100%;
  2320. padding-top: 2px;
  2321. display: flex;
  2322. align-items: center;
  2323. .num {
  2324. font-size: 30px;
  2325. color: #00ffff;
  2326. font-weight: bold;
  2327. font-family: "electronicFont";
  2328. }
  2329. .unit {
  2330. font-size: 12px;
  2331. color: #00ffff;
  2332. font-weight: 500;
  2333. position: relative;
  2334. top: 4px;
  2335. }
  2336. .mar {
  2337. margin-left: 20px;
  2338. }
  2339. }
  2340. }
  2341. }
  2342. }
  2343. .total-cont{
  2344. width: 100%;
  2345. height: 35px;
  2346. background: url("../../../assets/images/main/lightLone.png") no-repeat;
  2347. background-size: 100% 100%;
  2348. font-family: "PingFangSC";
  2349. font-size: 13px;
  2350. font-weight: bold;
  2351. color: #ffffff;
  2352. padding-left: 25px;
  2353. padding-top: 6px;
  2354. align-items: center;
  2355. display: flex;
  2356. justify-content: space-between;
  2357. margin-top: 10px;
  2358. margin-left: 15px;
  2359. }
  2360. .circle-cont {
  2361. width: 100%;
  2362. display: flex;
  2363. flex-wrap: wrap;
  2364. padding: 0 10px;
  2365. .circle-list {
  2366. width: 100px;
  2367. display: flex;
  2368. flex-direction: column;
  2369. justify-content: center;
  2370. align-items: center;
  2371. margin-bottom: 10px;
  2372. .re-img{
  2373. width: 100px;
  2374. height: auto;
  2375. position: relative;
  2376. }
  2377. .re-value{
  2378. position: absolute;
  2379. width: 100px;
  2380. font-size: 30px;
  2381. font-weight: bold;
  2382. font-family: "electronicFont";
  2383. color: #00FFFF;
  2384. text-align: center;
  2385. top: 5px;
  2386. left: 0px;
  2387. }
  2388. .name {
  2389. font-size: 12px;
  2390. color: #ffffff;
  2391. font-weight: 500;
  2392. padding-top: 6px;
  2393. width: 100%;
  2394. overflow: hidden;
  2395. text-align: center;
  2396. white-space: nowrap;
  2397. padding-left: 5px;
  2398. }
  2399. }
  2400. .el-progress__text {
  2401. font-size: 12px !important;
  2402. color: #fff !important;
  2403. }
  2404. }
  2405. .table-cont {
  2406. width: 100%;
  2407. .table-top {
  2408. width: 100%;
  2409. height: 26px;
  2410. background: url("../../../assets/images/building_guarantee/img_11.png")
  2411. no-repeat;
  2412. background-size: 100% 100%;
  2413. padding: 0 25px 0 10px;
  2414. display: flex;
  2415. justify-content: space-between;
  2416. align-items: center;
  2417. font-size: 12px;
  2418. color: #00ffff;
  2419. }
  2420. .table-bot {
  2421. width: 100%;
  2422. .table-list {
  2423. width: 100%;
  2424. height: 38px;
  2425. padding: 0 25px 0 10px;
  2426. display: flex;
  2427. justify-content: space-between;
  2428. align-items: center;
  2429. font-size: 12px;
  2430. color: #ffffff;
  2431. font-weight: 500;
  2432. }
  2433. }
  2434. }
  2435. .other-cont {
  2436. display: flex;
  2437. .icon {
  2438. display: block;
  2439. width: 70px;
  2440. height: auto;
  2441. }
  2442. .other-info {
  2443. padding-left: 2px;
  2444. .desc {
  2445. font-size: 12px;
  2446. color: #ffffff;
  2447. font-weight: bold;
  2448. }
  2449. .num-info {
  2450. width: 100%;
  2451. padding-top: 2px;
  2452. display: flex;
  2453. align-items: center;
  2454. .num {
  2455. font-size: 30px;
  2456. color: #00ffff;
  2457. font-weight: bold;
  2458. font-family: "electronicFont";
  2459. }
  2460. .unit {
  2461. font-size: 12px;
  2462. color: #00ffff;
  2463. font-weight: 500;
  2464. position: relative;
  2465. top: 4px;
  2466. }
  2467. .mar {
  2468. margin-left: 20px;
  2469. }
  2470. }
  2471. }
  2472. }
  2473. .content-Image{
  2474. width: 100%;
  2475. height: 400px;
  2476. background: url("../../../assets/images/building_guarantee/zhibiao.png")
  2477. no-repeat;
  2478. background-size: 100% 100%;
  2479. margin: 10px 10px 10px 10px;
  2480. }
  2481. .energyBox{
  2482. display: flex;
  2483. .routine{
  2484. display: flex;
  2485. width: 35%;
  2486. align-items: center;
  2487. color: #ffffff;
  2488. flex-wrap: wrap;
  2489. align-content: center;
  2490. .routineNavBox{
  2491. display: flex;
  2492. align-items: center;
  2493. width: 100%;
  2494. height: 60px;
  2495. .imgBOX{
  2496. width: 25px;
  2497. img{
  2498. height: 15px;
  2499. }
  2500. }
  2501. .greenName{
  2502. font-size: 18px;
  2503. }
  2504. .greenNum{
  2505. margin-left: 10px;
  2506. color: #00ffff;
  2507. }
  2508. }
  2509. .greenPoxBOX{
  2510. display: flex;
  2511. align-items: center;
  2512. width: 100%;
  2513. height: 60px;
  2514. .imgBOX{
  2515. width: 25px;
  2516. img{
  2517. height: 15px;
  2518. }
  2519. }
  2520. .greenName{
  2521. font-size: 18px;
  2522. }
  2523. .greenNum{
  2524. margin-left: 10px;
  2525. color: #00ffff;
  2526. }
  2527. }
  2528. }
  2529. }
  2530. //绿电比例
  2531. .greenElectricity{
  2532. height: 100px;
  2533. background: url("../../../assets/images/building_guarantee/greenElectricity.png")
  2534. no-repeat;
  2535. margin: 20px 20px 10px 20px;
  2536. }
  2537. .leftNav{
  2538. display: flex;
  2539. margin: 15px 0px 0px 15px;
  2540. .model1 {
  2541. margin-right: 15px;
  2542. width: 82px;
  2543. height: 45px;
  2544. line-height: 30px;
  2545. text-align: center;
  2546. font-family: "PingFangSc";
  2547. font-size: 14px;
  2548. font-weight: bold;
  2549. background: url("../../../assets/images/main/choose_short_single.png") no-repeat;
  2550. // background-size: 95% 95%;
  2551. color: #CED6D6;
  2552. cursor: pointer;
  2553. }
  2554. .model:last-child {
  2555. margin-right: 0;
  2556. }
  2557. .cur {
  2558. color: #05FEFE;
  2559. // background: url("../../../../assets/images/main/menu_chooe.png") no-repeat;
  2560. }
  2561. }
  2562. .pedestrianBox{
  2563. display: flex;
  2564. color: #ffffff;
  2565. cursor: pointer;
  2566. margin: 15px 0 10px 9px;
  2567. .docWs{
  2568. display: flex;
  2569. align-items: center;
  2570. .yinBor{
  2571. width: 15px;
  2572. height: 15px;
  2573. background: #2C5466;
  2574. border: 2px solid #2D82B6;
  2575. }
  2576. }
  2577. .docWs1{
  2578. display: flex;
  2579. align-items: center;
  2580. margin-left: 25px;
  2581. .jiBOX{
  2582. width: 15px;
  2583. height: 15px;
  2584. background: #754F38;
  2585. border: 2px solid #A54110;
  2586. }
  2587. }
  2588. .docWs2{
  2589. display: flex;
  2590. align-items: center;
  2591. margin-left: 25px;
  2592. .yuBox{
  2593. width: 15px;
  2594. height: 15px;
  2595. background: #4B532A;
  2596. border: 2px solid #9D8B3A;
  2597. }
  2598. }
  2599. .docWs3{
  2600. display: flex;
  2601. align-items: center;
  2602. margin-left: 25px;
  2603. .shiBox{
  2604. width: 15px;
  2605. height: 3px;
  2606. background: #00f0ff;
  2607. }
  2608. }
  2609. }
  2610. .table-cont .fir {
  2611. width: 20%;
  2612. text-align: left;
  2613. }
  2614. .table-cont .snd {
  2615. width: 50%;
  2616. text-align: center;
  2617. }
  2618. .table-cont .thd {
  2619. width: 30%;
  2620. text-align: right;
  2621. }
  2622. ::-webkit-scrollbar {
  2623. display: none;
  2624. width: 3px;
  2625. height: 3px;
  2626. }
  2627. ::-webkit-scrollbar-thumb {
  2628. //滑块部分
  2629. // border-radius: 5px;
  2630. background-color: #58cbbb;
  2631. }
  2632. ::-webkit-scrollbar-track {
  2633. //轨道部分
  2634. // box-shadow: inset 0 0 5px #ddd;
  2635. background: #ddd;
  2636. // border-radius: 5px;
  2637. }
  2638. }
  2639. </style>