Index.vue 84 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124
  1. <template>
  2. <view class="content">
  3. <cu-custom bgColor="bg-blacks" :isBack="false">
  4. <block slot="right"><image src="../../static/picture/fourLine.png" style="width: 30px;height: 30px;margin-left: 2%;" @tap="openDrawer"></image></block>
  5. <block slot="right">
  6. <view class="icon cuIcon-notice text-white" v-if="badge != 0" style="margin-left: -70%;">
  7. <view class="cu-tag looknumber" style="margin-top: -2%;">
  8. <block v-if="badge != 1">{{ badge > 99 ? '99+' : badge }}</block>
  9. </view>
  10. </view>
  11. </block>
  12. <block slot="right"></block>
  13. <block slot="content">{{ address }}</block>
  14. <block slot="right"><view class="plus" @tap="showModal" data-target="viewModal">+</view></block>
  15. </cu-custom>
  16. <!-- 抽屉组件 -->
  17. <div v-if="conflict == false"><drawer ref="drawer"></drawer></div>
  18. <div class="plusDrawer" @tap="hideModal"><plusDrawer ref="plusDrawer"></plusDrawer></div>
  19. <scroll-view scroll-y class="DrawerPage" :class="modalName == 'viewModal' ? 'show' : ''">
  20. <!--时间组件-->
  21. <view class="time">
  22. <view class="timeimageshizhong" @tap="common.navTo('/components/weatherProphet/WeatherProphet')">
  23. <image src="../../static/picture/dafeng.png" style="width: 20px;height: 20px;margin-left: 10px;"></image>
  24. </view>
  25. <view v-on:mouseover="stop()" v-on:mouseout="move()" class="app">
  26. <transition-group tag="" name="image">
  27. <view v-for="(items, index) in timeList" v-show="index === num" :key="index">
  28. <view class="timeText" :key="index">推荐时间:{{ items }}</view>
  29. </view>
  30. </transition-group>
  31. </view>
  32. <view class="timeIcon"><image src="../../static/picture/qingwhite.png" style="width: 25px;height: 25px;"></image></view>
  33. <!-- <div class="bar"><span v-for="(item, index) in timeList" :class="{ active: index === num }" :key="index"></span></div>
  34. -->
  35. </view>
  36. <!--电量卡片-->
  37. <view class="InformationCard">
  38. <view class="informationCardAll">
  39. <view class="informationCardTextOne">
  40. <view class="informationCardText">
  41. <view
  42. class="textSilver"
  43. @tap="
  44. common.navTo(
  45. '/components/detail/Detail?callTargetName=安全天数&callTargetUnit=天&pointKey=' +
  46. windpowerstationdetail.target_comprehensive_indicators.aqts_real.ednaId
  47. )
  48. "
  49. >
  50. 安全天数(天):
  51. </view>
  52. <view class="textWhite">{{ windpowerstationdetail.target_comprehensive_indicators.aqts }}</view>
  53. </view>
  54. <view class="informationCardTextzj">
  55. <view
  56. class="textSilver"
  57. @tap="
  58. common.navTo(
  59. '/components/detail/Detail?callTargetName=装机容量&callTargetUnit=mv&pointKey=' +
  60. windpowerstationdetail.target_comprehensive_indicators.zjrl_real.ednaId
  61. )
  62. "
  63. >
  64. 装机容量(mv):
  65. </view>
  66. <view class="textWhite3">{{ windpowerstationdetail.target_comprehensive_indicators.zjrl }}</view>
  67. </view>
  68. </view>
  69. <view class="informationCardTextTwo">
  70. <view class="informationCardTextNo1">
  71. <view
  72. class="textSilver"
  73. @tap="
  74. common.navTo(
  75. '/components/detail/Detail?callTargetName=日发电量&callTargetUnit=kwh&pointKey=' +
  76. windpowerstationdetail.target_comprehensive_indicators.rfdl_real.ednaId
  77. )
  78. "
  79. >
  80. 日发(万kwh):
  81. </view>
  82. <view class="textWhite">{{ windpowerstationdetail.target_comprehensive_indicators.rfdl }}</view>
  83. </view>
  84. <view class="informationCardText3">
  85. <view
  86. class="textSilver"
  87. @tap="
  88. common.navTo(
  89. '/components/detail/Detail?callTargetName=预测发电量&callTargetUnit=kwh&pointKey=' +
  90. windpowerstationdetail.target_comprehensive_indicators.ycfdl_real.ednaId
  91. )
  92. "
  93. >
  94. 预测发(万kwh):
  95. </view>
  96. <view class="textWhite2">{{ windpowerstationdetail.target_comprehensive_indicators.ycfdl }}</view>
  97. </view>
  98. <view class="informationCardText2">
  99. <view
  100. class="textSilver"
  101. @tap="
  102. common.navTo(
  103. '/components/detail/Detail?callTargetName=上网电量&callTargetUnit=kwh&pointKey=' +
  104. windpowerstationdetail.target_comprehensive_indicators.swdl_real.ednaId
  105. )
  106. "
  107. >
  108. 上网(万kwh):
  109. </view>
  110. <view class="textWhite">{{ windpowerstationdetail.target_comprehensive_indicators.swdl }}</view>
  111. </view>
  112. </view>
  113. </view>
  114. </view>
  115. <!--风速卡片-->
  116. <view class="speedPower">
  117. <view
  118. class="cardinstallredSpeed"
  119. @tap="
  120. common.navTo(
  121. '/components/detail/Detail?callTargetName=平均风速&callTargetUnit=kw/h&pointKey=' + windpowerstationdetail.target_windSpeed_power.pjfs_real.ednaId
  122. )
  123. "
  124. >
  125. <view class="cardinstalltitleRed">
  126. 平均风速(m/s)
  127. <!-- <view class="textWhitekuangSpeed">(m/s)</view> -->
  128. </view>
  129. <view class="cardinstallnumberred">{{ windpowerstationdetail.target_windSpeed_power.pjfs }}</view>
  130. <view class="cardinstallnumberredmin">
  131. <view class="redMinText">min: {{ windpowerstationdetail.target_windSpeed_power.pjfsMin }}</view>
  132. </view>
  133. <view class="cardinstallnumberredmax">
  134. <view class="redMaxText">max: {{ windpowerstationdetail.target_windSpeed_power.pjfsMax }}</view>
  135. </view>
  136. </view>
  137. <view
  138. class="cardinstallredSpeed"
  139. @tap="
  140. common.navTo(
  141. '/components/detail/Detail?callTargetName=预测风速&callTargetUnit=kw/h&pointKey=' + windpowerstationdetail.target_windSpeed_power.ycfs_real.ednaId
  142. )
  143. "
  144. >
  145. <view class="cardinstalltitleRed">
  146. 预测风速(m/s)
  147. <!-- <view class="textWhitekuangSpeed">(m/s)</view> -->
  148. </view>
  149. <view class="cardinstallnumberred">{{ windpowerstationdetail.target_windSpeed_power.ycfs }}</view>
  150. <view class="cardinstallnumberredmin">
  151. <view class="redMinText">min: {{ windpowerstationdetail.target_windSpeed_power.ycfsMin }}</view>
  152. </view>
  153. <view class="cardinstallnumberredmax">
  154. <view class="redMaxText">max: {{ windpowerstationdetail.target_windSpeed_power.ycfsMax }}</view>
  155. </view>
  156. </view>
  157. <view
  158. class="cardinstallredSpeed"
  159. @tap="
  160. common.navTo(
  161. '/components/detail/Detail?callTargetName=实际功率&callTargetUnit=kw&pointKey=' + windpowerstationdetail.target_windSpeed_power.sjgl_real.ednaId
  162. )
  163. "
  164. >
  165. <view class="cardinstalltitleRed">
  166. 实际功率(万kw)
  167. <!-- <view class="textWhitekuang">(kw)</view> -->
  168. </view>
  169. <view class="cardinstallnumberred">{{ windpowerstationdetail.target_windSpeed_power.sjgl }}</view>
  170. <view class="cardinstallnumberredmin">
  171. <view class="redMinText">min: {{ windpowerstationdetail.target_windSpeed_power.sjglMin }}</view>
  172. </view>
  173. <view class="cardinstallnumberredmax">
  174. <view class="redMaxText">max: {{ windpowerstationdetail.target_windSpeed_power.sjglMax }}</view>
  175. </view>
  176. </view>
  177. <view
  178. class="cardinstallredSpeed"
  179. @tap="
  180. common.navTo(
  181. '/components/detail/Detail?callTargetName=理论功率&callTargetUnit=kw&pointKey=' + windpowerstationdetail.target_windSpeed_power.llgl_real.ednaId
  182. )
  183. "
  184. >
  185. <view class="cardinstalltitleRed">
  186. 理论功率(万kw)
  187. <!-- <view class="textWhitekuang">(kw)</view> -->
  188. </view>
  189. <view class="cardinstallnumberred">{{ windpowerstationdetail.target_windSpeed_power.llgl }}</view>
  190. <view class="cardinstallnumberredmin">
  191. <view class="redMinText">min: {{ windpowerstationdetail.target_windSpeed_power.llglMin }}</view>
  192. </view>
  193. <view class="cardinstallnumberredmax">
  194. <view class="redMaxText">max: {{ windpowerstationdetail.target_windSpeed_power.llglMax }}</view>
  195. </view>
  196. </view>
  197. </view>
  198. <!--接入卡片-->
  199. <view class="interfaceCard">
  200. <view class="interfaceCardSmallTop">
  201. <view class="interfaceCardSmall">
  202. <view class="AccessCardimage"><image src="../../static/picture/001.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image></view>
  203. <view class="AccessCardText">接入</view>
  204. <view class="AccessCardNumber">{{ windpowerstationdetail.index_windturbine_status.jr }}</view>
  205. </view>
  206. <view class="interfaceCardSmall">
  207. <view class="AccessCardimage"><image src="../../static/picture/002.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image></view>
  208. <view class="AccessCardText">待机</view>
  209. <view class="AccessCardNumber">{{ windpowerstationdetail.index_windturbine_status.dj }}</view>
  210. </view>
  211. <view class="interfaceCardSmall">
  212. <view class="AccessCardimage"><image src="../../static/picture/003.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image></view>
  213. <view class="AccessCardText">运行</view>
  214. <view class="AccessCardNumber">{{ windpowerstationdetail.index_windturbine_status.yx }}</view>
  215. </view>
  216. </view>
  217. <view class="interfaceCardSmallTop">
  218. <view class="interfaceCardSmall">
  219. <view class="AccessCardimage"><image src="../../static/picture/004.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image></view>
  220. <view class="AccessCardText">故障</view>
  221. <view class="AccessCardNumber">{{ windpowerstationdetail.index_windturbine_status.gz }}</view>
  222. </view>
  223. <view class="interfaceCardSmall">
  224. <view class="AccessCardimage"><image src="../../static/picture/005.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image></view>
  225. <view class="AccessCardText">维护</view>
  226. <view class="AccessCardNumber">{{ windpowerstationdetail.index_windturbine_status.wh }}</view>
  227. </view>
  228. <view class="interfaceCardSmall">
  229. <view class="AccessCardimage"><image src="../../static/picture/006.png" style="width: 18px;height:19px;margin-top: 9px;margin-left: 7px;"></image></view>
  230. <view class="AccessCardText">离线</view>
  231. <view class="AccessCardNumber">{{ windpowerstationdetail.index_windturbine_status.lx }}</view>
  232. </view>
  233. </view>
  234. </view>
  235. <!--进度条-->
  236. <view class="progressBar">
  237. <view class="progressBarAll">
  238. <view class="progressBarOne">
  239. <view class="progressBarLeft">
  240. <view class="progressBarLeftText">{{ windpowerstationdetail.index_electricQuantity.yfdl }}kwh</view>
  241. </view>
  242. <view class="progressBarText">月计划发电量进度条</view>
  243. <view class="progressBarRight">
  244. <view class="progressBarRightText">{{ windpowerstationdetail.index_electricQuantity.yjhfdl }}kwh</view>
  245. </view>
  246. </view>
  247. <view class="cu-progress round radius striped active">
  248. <view class="bg-olive" :style="[{ width: loading ? monthOlive : '' }]"></view>
  249. <view class="bg-angrey" :style="[{ width: loading ? monthAngrey : '' }]"></view>
  250. </view>
  251. </view>
  252. <view class="progressBarAll">
  253. <view class="progressBarOne">
  254. <view class="progressBarLeft">
  255. <view class="progressBarLeftText">{{ windpowerstationdetail.index_electricQuantity.nfdl }}kwh</view>
  256. </view>
  257. <view class="progressBarText">年计划发电量进度条</view>
  258. <view class="progressBarRight">
  259. <view class="progressBarRightText">{{ windpowerstationdetail.index_electricQuantity.njhfdl }}kwh</view>
  260. </view>
  261. </view>
  262. <view class="cu-progress round radius striped active">
  263. <view class="bg-olive" :style="[{ width: loading ? yearOlive : '' }]"></view>
  264. <view class="bg-angrey" :style="[{ width: loading ? yearAngrey : '' }]"></view>
  265. </view>
  266. </view>
  267. </view>
  268. <scroll-view scroll-x class="horizontalSlider">
  269. <view class="slide">
  270. <view
  271. class="monthlyUtilizationHours"
  272. @tap="
  273. common.navTo(
  274. '/components/detail/Detail?callTargetName=月利用小时&callTargetUnit=h&pointKey=' +
  275. windpowerstationdetail.index_target_basic_indicators.ylyxs_real.ednaId
  276. )
  277. "
  278. >
  279. 月利用小时(h):{{ windpowerstationdetail.index_target_basic_indicators.ylyxs }}
  280. </view>
  281. <view
  282. class="yearlyUtilizationHours"
  283. @tap="
  284. common.navTo(
  285. '/components/detail/Detail?callTargetName=年利用小时&callTargetUnit=h&pointKey=' +
  286. windpowerstationdetail.index_target_basic_indicators.nlyxs_real.ednaId
  287. )
  288. "
  289. >
  290. 年利用小时(h):{{ windpowerstationdetail.index_target_basic_indicators.nlyxs }}
  291. </view>
  292. <view
  293. class="comprehensiveServicePowerConsumptionRate"
  294. @tap="
  295. common.navTo(
  296. '/components/detail/Detail?callTargetName=综合厂利用率&callTargetUnit=%&pointKey=' +
  297. windpowerstationdetail.index_target_basic_indicators.zhcydl_real.ednaId
  298. )
  299. "
  300. >
  301. 综合厂用电率(%):{{ windpowerstationdetail.index_target_basic_indicators.zhcydl }}
  302. </view>
  303. <view
  304. class="equipmentAvailability"
  305. @tap="
  306. common.navTo(
  307. '/components/detail/Detail?callTargetName=设备可利用率&callTargetUnit=%&pointKey=' +
  308. windpowerstationdetail.index_target_basic_indicators.sbklyl_real.ednaId
  309. )
  310. "
  311. >
  312. 设备可利用率(%):{{ windpowerstationdetail.index_target_basic_indicators.sbklyl }}
  313. </view>
  314. <view
  315. class="sulfurDioxideEmissionReduction"
  316. @tap="
  317. common.navTo(
  318. '/components/detail/Detail?callTargetName= 减排二氧化硫&callTargetUnit=吨&pointKey=' +
  319. windpowerstationdetail.index_target_basic_indicators.jpeyhl_real.ednaId
  320. )
  321. "
  322. >
  323. 减排二氧化硫(吨):{{ windpowerstationdetail.index_target_basic_indicators.jpeyhl }}
  324. </view>
  325. <view
  326. class="carbonDioxideReduction"
  327. @tap="
  328. common.navTo(
  329. '/components/detail/Detail?callTargetName=减排二氧化碳&callTargetUnit=吨&pointKey=' +
  330. windpowerstationdetail.index_target_basic_indicators.jpeyht_real.ednaId
  331. )
  332. "
  333. >
  334. 减排二氧化碳(吨):{{ windpowerstationdetail.index_target_basic_indicators.jpeyht }}
  335. </view>
  336. <view
  337. class="waterSaving"
  338. @tap="
  339. common.navTo(
  340. '/components/detail/Detail?callTargetName=节约用水&callTargetUnit=吨&pointKey=' +
  341. windpowerstationdetail.index_target_basic_indicators.jyys_real.ednaId
  342. )
  343. "
  344. >
  345. 节约用水(吨):{{ windpowerstationdetail.index_target_basic_indicators.jyys }}
  346. </view>
  347. <view
  348. class="saveStandardCoal"
  349. @tap="
  350. common.navTo(
  351. '/components/detail/Detail?callTargetName=节约标煤&callTargetUnit=吨&pointKey=' +
  352. windpowerstationdetail.index_target_basic_indicators.jybm_real.ednaId
  353. )
  354. "
  355. >
  356. 节约标煤(吨):{{ windpowerstationdetail.index_target_basic_indicators.jybm }}
  357. </view>
  358. <view
  359. class="mttr"
  360. @tap="
  361. common.navTo(
  362. '/components/detail/Detail?callTargetName=mttr&callTargetUnit=h&pointKey=' + windpowerstationdetail.index_target_basic_indicators.mttr_real.ednaId
  363. )
  364. "
  365. >
  366. mttr(h):{{ windpowerstationdetail.index_target_basic_indicators.mttr }}
  367. </view>
  368. <view
  369. class="mtbf"
  370. @tap="
  371. common.navTo(
  372. '/components/detail/Detail?callTargetName=mtbf&callTargetUnit=h&pointKey=' + windpowerstationdetail.index_target_basic_indicators.mtbf_real.ednaId
  373. )
  374. "
  375. >
  376. mtbf(h):{{ windpowerstationdetail.index_target_basic_indicators.mtbf }}
  377. </view>
  378. </view>
  379. </scroll-view>
  380. <!--折线图-->
  381. <view class="lineChart">
  382. <view class="qiun-charts">
  383. <view class="speedPowerDiagram">风速功率曲线图</view>
  384. <canvas canvas-id="canvasLineA" id="canvasLineA" class="charts" @touchstart="touchLineA"></canvas>
  385. </view>
  386. </view>
  387. <!-- 柱状图 -->
  388. <view class="Histogram">
  389. <view class="HistogramTitle">五项损失柱状图</view>
  390. <view class="choice">
  391. <view class="directGeneration">
  392. <image src="../../static/picture/dianliang/dianlianglan.png" style="width: 18px;height: 18px;float: left;margin-top: 4px;"></image>
  393. <view class="directGenerationText" @click="directGeneration()">应发</view>
  394. </view>
  395. <view class="powerGeneration">
  396. <image src="../../static/picture/dianliang/dianlianglv.png" style="width: 18px;height: 18px;float: left;margin-top: 4px;"></image>
  397. <view class="powerGenerationText" @click="powerGeneration()">日发</view>
  398. </view>
  399. <view class="faultPower">
  400. <image src="../../static/picture/dianliang/dianlianghong.png" style="width: 18px;height: 18px;float: left;margin-top: 4px;"></image>
  401. <view class="faultPowerText" @click="faultPower()">故障损失</view>
  402. </view>
  403. <view class="maintenancePower">
  404. <image src="../../static/picture/dianliang/dianliangcheng.png" style="width: 18px;height: 18px;float: left;margin-top: 4px;"></image>
  405. <view class="maintenancePowerText" @click="maintenancePower()">检修损失</view>
  406. </view>
  407. <view class="limitedPower">
  408. <image src="../../static/picture/dianliang/dianliangfen.png" style="width: 18px;height: 18px;float: left;margin-top: 4px;"></image>
  409. <view class="limitedPowerText" @click="limitedPower()">限电损失</view>
  410. </view>
  411. <view class="performancePower">
  412. <image src="../../static/picture/dianliang/dianliangzi.png" style="width: 18px;height: 18px;float: left;margin-top: 4px;"></image>
  413. <view class="performancePowerText" @click="performancePower()">性能损失</view>
  414. </view>
  415. <view class="AffectedPower">
  416. <image src="../../static/picture/dianliang/dianlianghui.png" style="width: 18px;height: 18px;float: left;margin-top: 4px;"></image>
  417. <view class="AffectedPowerText" @click="AffectedPower()">受累损失</view>
  418. </view>
  419. </view>
  420. <view class="qiun-chart"><canvas canvas-id="canvasColumnStack" id="canvasColumnStack" class="chart" @touchstart="touchColumn"></canvas></view>
  421. </view>
  422. <!-- 风电场卡片 -->
  423. <view class="windStation">
  424. <scroll-view scroll-x class="scrollWindStationCard">
  425. <view class="windStationCardContainer" :style="{ width: windStationCardContainerwidth }">
  426. <view v-for="(item, index) in plusDrawerList" :key="index"><WindFarmcard ref="windFarmcard"></WindFarmcard></view>
  427. </view>
  428. </scroll-view>
  429. <!-- 底导航栏挡住部分显示 -->
  430. <view style="width: 100%; height: 60px; background-color: #242424;"></view>
  431. </view>
  432. </scroll-view>
  433. <view class="DrawerClose" :class="modalName == 'viewModal' ? 'show' : ''" @tap="hideModal"><text class="cuIcon-pullright"></text></view>
  434. <initial ref="mychild"></initial>
  435. </view>
  436. </template>
  437. <script>
  438. import plusDrawer from '../../components/drawer/plusDrawer.vue';
  439. import drawer from '../../components/drawer/threeLineDrawer.vue';
  440. import uCharts from '../../components/tools/u-charts/u-charts.js';
  441. import WindFarmcard from '../../components/windFarmcard/WindFarmcard.vue';
  442. var _self;
  443. var canvaLineA = null;
  444. var canvaColumn = null;
  445. var canvaLineB1 = null;
  446. var canvaLineB2 = null;
  447. var canvaLineB3 = null;
  448. var canvaLineB4 = null;
  449. var canvaLineB5 = null;
  450. export default {
  451. components: {
  452. drawer: drawer,
  453. plusDrawer: plusDrawer,
  454. WindFarmcard: WindFarmcard
  455. },
  456. data: function() {
  457. return {
  458. conflict: false,
  459. c1: {
  460. categories: ['04/12', '04/13', '04/14', '04/15', '04/16', '04/17', '04/18'],
  461. series: [
  462. {
  463. name: '应发电量(万kwh)',
  464. data: [0, 0, 0, 0, 0, 0, 0],
  465. color: '#007BF9'
  466. },
  467. {
  468. name: '日发电量(万kwh)',
  469. data: [18, 13, 12, 17, 13, 7, 11],
  470. color: '#4EB64E'
  471. },
  472. {
  473. name: '故障损失电量(万kwh)',
  474. data: [17, 15, 17, 21, 16, 8, 10],
  475. color: '#F14E51'
  476. },
  477. {
  478. name: '检修损失电量(万kwh)',
  479. data: [14, 17, 19, 20, 6, 14, 12],
  480. color: '#FF6B3E'
  481. },
  482. {
  483. name: '限电损失电量(万kwh)',
  484. data: [14, 17, 19, 20, 6, 14, 12],
  485. color: '#DC62D2'
  486. },
  487. {
  488. name: '性能损失电量(万kwh)',
  489. data: [15, 17, 19, 20, 6, 4, 12],
  490. color: '#9DA3F6'
  491. },
  492. {
  493. name: '受累损失电量(万kwh)',
  494. data: [14, 17, 19, 20, 6, 4, 12],
  495. color: '#9E9E9E'
  496. }
  497. ]
  498. },
  499. key_aqts: '',
  500. fdcstatusmodule: {
  501. fdcstatusmodule: ''
  502. },
  503. index_windStation_cardmodule: {
  504. index_windStation_cardmodule: ''
  505. },
  506. index_curve_columnar_five_lossmodule: {
  507. index_curve_columnar_five_lossmodule: ''
  508. },
  509. index_curve_columnar_windSpeed_powermodule: {
  510. index_curve_columnar_windSpeed_powermodule: ''
  511. },
  512. badge: 22,
  513. drawerList: [],
  514. permissionsInformation: [],
  515. plusDrawerList: [],
  516. leftNavigationtitle: '监视功能分组',
  517. modalName: null,
  518. address: '宁夏新能源公司',
  519. windPowerStationId: '',
  520. inconList: ['form', 'favor', 'question', 'edit'],
  521. minaverageSpeed: '12',
  522. maxaverageSpeed: '25',
  523. loading: false,
  524. cWidth: '',
  525. cHeight: '',
  526. pixelRatio: 1,
  527. serverData: '',
  528. dayHair: false,
  529. fault: false,
  530. overhaul: false,
  531. powerLimitation: false,
  532. performance: false,
  533. toBeInvolved: false,
  534. Xzuobiao: ['04/12', '04/13', '04/14', '04/15', '04/16', '04/17', '04/18'],
  535. rifa: [18, 13, 12, 17, 13, 7, 11],
  536. guzhang: [17, 15, 17, 21, 16, 8, 10],
  537. jianxiu: [14, 17, 19, 20, 6, 14, 12],
  538. xiandian: [14, 17, 19, 20, 6, 14, 12],
  539. xingneng: [15, 17, 19, 20, 6, 4, 12],
  540. shoulei: [14, 17, 19, 20, 6, 4, 12],
  541. clickFlag: 'stack',
  542. windStationCardCWidth: '',
  543. windStationCardCHeight: '',
  544. windStationCardPixelRatio: 1,
  545. monthOlive: '',
  546. monthAngrey: '',
  547. yearOlive: '',
  548. yearAngrey: '',
  549. FDC: 'CL_FDC',
  550. socketTask_target_comprehensive_indicators: '',
  551. socketTask_target_windSpeed_power: '',
  552. socketTask_index_windturbine_status: '',
  553. socketTask_index_electricQuantity: '',
  554. socketTask_index_target_basic_indicators: '',
  555. socketTask_index_curve_columnar_five_loss: '',
  556. socketTask_index_curve_columnar_windSpeed_power: '',
  557. windpowerstationdetail: {
  558. target_comprehensive_indicators: '',
  559. target_windSpeed_power: '',
  560. index_windturbine_status: '',
  561. index_electricQuantity: '',
  562. index_target_basic_indicators: ''
  563. },
  564. module: true,
  565. cardmodule: true,
  566. dateNow: '',
  567. time: '',
  568. num: 0,
  569. timeList: ['2019-09-08', '2020-09-08', '2021-09-08'],
  570. windFielddata: [],
  571. windFieldsituation: [],
  572. lineChartdata: [],
  573. linedata: [],
  574. windStationCardContainerwidth: ''
  575. };
  576. },
  577. created: function() {
  578. uni.setStorageSync('im_show','0');
  579. this.play();
  580. this.timeNow();
  581. this.$nextTick(function() {
  582. this.viewUserid();
  583. });
  584. this.viewUserid();
  585. this.monitoringAuthority();
  586. this.judgeWindfield();
  587. this.address = this.dataprocessing.getWindPowerStationName();
  588. this.FDC = this.dataprocessing.getWindPowerStationId();
  589. this.windPowerStationId = this.dataprocessing.getWindPowerStationId();
  590. },
  591. onLoad: function() {
  592. // let that = this;
  593. // setTimeout(function() {
  594. // that.loading = true;
  595. // }, 500);
  596. // _self = this;
  597. // this.viewUserid();
  598. // this.monitoringAuthority();
  599. // this.judgeWindfield();
  600. // this.address = this.dataprocessing.getWindPowerStationName();
  601. // this.FDC = this.dataprocessing.getWindPowerStationId();
  602. // this.windPowerStationId = this.dataprocessing.getWindPowerStationId();
  603. // this.cWidth = uni.upx2px(750);
  604. // this.cHeight = uni.upx2px(400);
  605. // this.getServerData();
  606. // this.getColumnData();
  607. // this.windStationCardCWidth = 250;
  608. // this.windStationCardCHeight = 150;
  609. // this.target_comprehensive_indicators();
  610. // this.index_electricQuantity();
  611. // this.index_target_basic_indicators();
  612. // this.index_curve_columnar_five_loss();
  613. // this.target_windSpeed_power();
  614. // this.index_windturbine_status();
  615. // this.getWindStationCardData();
  616. // this.index_curve_columnar_windSpeed_power();
  617. // this.index_windStation_card(); /* P6F8与P6F4冲突 */
  618. },
  619. mounted: function() {
  620. let that = this;
  621. setTimeout(function() {
  622. that.loading = true;
  623. }, 500);
  624. _self = this;
  625. this.viewUserid();
  626. this.monitoringAuthority();
  627. this.judgeWindfield();
  628. this.address = this.dataprocessing.getWindPowerStationName();
  629. this.FDC = this.dataprocessing.getWindPowerStationId();
  630. this.windPowerStationId = this.dataprocessing.getWindPowerStationId();
  631. this.cWidth = uni.upx2px(750);
  632. this.cHeight = uni.upx2px(400);
  633. this.getServerData();
  634. this.getColumnData();
  635. this.windStationCardCWidth = 250;
  636. this.windStationCardCHeight = 150;
  637. this.target_comprehensive_indicators();
  638. this.index_electricQuantity();
  639. this.index_target_basic_indicators();
  640. this.index_curve_columnar_five_loss();
  641. this.target_windSpeed_power();
  642. this.index_windturbine_status();
  643. this.getWindStationCardData();
  644. this.index_curve_columnar_windSpeed_power();
  645. this.index_windStation_card(); /* P6F8与P6F4冲突 */
  646. },
  647. computed: {
  648. backStageIp: function() {
  649. return this.$store.state.wholeSituationBackStageIp;
  650. },
  651. backStagePort: function() {
  652. return this.$store.state.wholeSituationBackStagePort;
  653. },
  654. windpowerstationNameToId: function() {
  655. return this.$store.state.windpowerstationNameToId;
  656. }
  657. },
  658. onHide() {
  659. this.$refs.drawer.closeDrawer();
  660. this.hideModal();
  661. },
  662. onShow: function() {
  663. this.viewUserid();
  664. this.monitoringAuthority();
  665. this.judgeWindfield();
  666. this.address = this.dataprocessing.getWindPowerStationName();
  667. this.FDC = this.dataprocessing.getWindPowerStationId();
  668. this.windPowerStationId = this.dataprocessing.getWindPowerStationId();
  669. },
  670. methods: {
  671. play() {
  672. this.time = setInterval(() => {
  673. this.num++;
  674. if (this.num == 3) {
  675. this.num = 0;
  676. }
  677. }, 3000);
  678. },
  679. change(i) {
  680. this.num = i;
  681. },
  682. stop() {
  683. clearInterval(this.time);
  684. },
  685. move() {
  686. this.play();
  687. },
  688. created() {
  689. this.play();
  690. },
  691. timeNow() {
  692. this.getTimeFormat();
  693. this.dateNow = new Date().Format('yyyy年MM月dd hh:mm');
  694. setTimeout(function() {
  695. this.dateNow = new Date().Format('yyyy年MM月dd hh:mm');
  696. }, 60000);
  697. },
  698. viewUserid: function() {
  699. this.plusDrawerList = uni.getStorageSync('plusList');
  700. let _this = this;
  701. // if(_this.$refs.windFarmcard !=undefined)
  702. // {
  703. // for (let i = 0; i < _this.plusDrawerList.length; i++) {
  704. // _this.$refs.windFarmcard[i].getWindfieldid(_this.plusDrawerList[i]);
  705. // }
  706. // }
  707. this.windStationCardContainerwidth = 260 * this.plusDrawerList.length - 260 + 'px';
  708. },
  709. judgeWindfield: function() {
  710. this.plusDrawerList = uni.getStorageSync('plusList');
  711. let _this = this;
  712. // if(_this.$refs.windFarmcard!=undefined)
  713. // {
  714. // for (let i = 0; i < _this.plusDrawerList.length; i++) {
  715. // _this.$refs.windFarmcard[i].getWindfieldid(_this.plusDrawerList[i]);
  716. // }
  717. // }
  718. },
  719. monitoringAuthority: function() {
  720. this.drawerList = uni.getStorageSync('leftlist1');
  721. },
  722. async index_curve_columnar_five_loss() {
  723. Date.prototype.Format = function(fmt) {
  724. var o = {
  725. 'M+': this.getMonth() + 1, //月份
  726. 'd+': this.getDate(), //日
  727. 'h+': this.getHours(), //小时
  728. 'm+': this.getMinutes(), //分
  729. 's+': this.getSeconds(), //秒
  730. 'q+': Math.floor((this.getMonth() + 3) / 3), //季度
  731. S: this.getMilliseconds() //毫秒
  732. };
  733. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length));
  734. for (var k in o) if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, RegExp.$1.length == 1 ? o[k] : ('00' + o[k]).substr(('' + o[k]).length));
  735. return fmt;
  736. };
  737. let _this = this;
  738. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  739. this.socketTask_index_curve_columnar_five_loss = uni.connectSocket({
  740. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  741. url: 'ws://' + this.backStageIp + ':' + this.backStagePort + '/websocket/pageNumber_6/functionNumber_7/all',
  742. success(data) {
  743. console.log('websocket连接成功');
  744. }
  745. });
  746. let windpowerstationid = uni.getStorageSync('windpowerstationName');
  747. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  748. this.socketTask_index_curve_columnar_five_loss.onOpen(res => {
  749. console.log('WebSocket连接正常打开中...!');
  750. this.is_open_socket = true;
  751. // 注:只有连接正常打开中 ,才能正常收到消息
  752. this.socketTask_index_curve_columnar_five_loss.onMessage(res => {
  753. //console.log("收到服务器内容:" + res.data);
  754. _this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule = JSON.parse(res.data);
  755. let ColumnStack = this.c1;
  756. if (this.dayHair) {
  757. ColumnStack = {
  758. categories: ['04/12', '04/13', '04/14', '04/15', '04/16', '04/17', '04/18', '04/19', '04/20'],
  759. series: [
  760. {
  761. name: '日发电量(万kwh)',
  762. data: [18, 13, 12, 17, 13, 7, 11, 15, 13],
  763. color: '#4EB64E'
  764. }
  765. ]
  766. };
  767. ColumnStack.categories = [];
  768. ColumnStack.series[0].data = [];
  769. for (let i = 0; i < this.rifa.length; i++) {
  770. ColumnStack.categories.push(this.Xzuobiao[i]);
  771. // console.log(ColumnStack.categories)
  772. ColumnStack.series[0].data.push(this.rifa[i]);
  773. // console.log(ColumnStack.series[1].data)
  774. }
  775. }
  776. if (this.fault) {
  777. ColumnStack = {
  778. categories: ['04/12', '04/13', '04/14', '04/15', '04/16', '04/17', '04/18', '04/19', '04/20'],
  779. series: [
  780. {
  781. name: '故障损失电量(万kwh)',
  782. data: [17, 15, 17, 21, 16, 8, 10, 17, 11],
  783. color: '#F14E51'
  784. }
  785. ]
  786. };
  787. ColumnStack.categories = [];
  788. ColumnStack.series[0].data = [];
  789. for (let i = 0; i < this.guzhang.length; i++) {
  790. ColumnStack.categories.push(this.Xzuobiao[i]);
  791. // console.log(ColumnStack.categories)
  792. ColumnStack.series[0].data.push(this.guzhang[i]);
  793. // console.log(ColumnStack.series[1].data)
  794. }
  795. }
  796. if (this.overhaul) {
  797. ColumnStack = {
  798. categories: ['04/12', '04/13', '04/14', '04/15', '04/16', '04/17', '04/18', '04/19', '04/20'],
  799. series: [
  800. {
  801. name: '检修损失电量(万kwh)',
  802. data: [14, 17, 19, 20, 6, 14, 12, 14, 10],
  803. color: '#FF6B3E'
  804. }
  805. ]
  806. };
  807. ColumnStack.categories = [];
  808. ColumnStack.series[0].data = [];
  809. for (let i = 0; i < this.jianxiu.length; i++) {
  810. ColumnStack.categories.push(this.Xzuobiao[i]);
  811. // console.log(ColumnStack.categories)
  812. ColumnStack.series[0].data.push(this.jianxiu[i]);
  813. // console.log(ColumnStack.series[1].data)
  814. }
  815. }
  816. if (this.powerLimitation) {
  817. ColumnStack = {
  818. categories: ['04/12', '04/13', '04/14', '04/15', '04/16', '04/17', '04/18', '04/19', '04/20'],
  819. series: [
  820. {
  821. name: '限电损失电量(万kwh)',
  822. data: [14, 17, 19, 20, 6, 14, 12, 14, 10],
  823. color: '#DC62D2'
  824. }
  825. ]
  826. };
  827. ColumnStack.categories = [];
  828. ColumnStack.series[0].data = [];
  829. for (let i = 0; i < this.xiandian.length; i++) {
  830. ColumnStack.categories.push(this.Xzuobiao[i]);
  831. // console.log(ColumnStack.categories)
  832. ColumnStack.series[0].data.push(this.xiandian[i]);
  833. // console.log(ColumnStack.series[1].data)
  834. }
  835. }
  836. if (this.performance) {
  837. ColumnStack = {
  838. categories: ['04/12', '04/13', '04/14', '04/15', '04/16', '04/17', '04/18', '04/19', '04/20'],
  839. series: [
  840. {
  841. name: '性能损失电量(万kwh)',
  842. data: [14, 17, 19, 20, 6, 14, 12, 14, 10],
  843. color: '#9DA3F6'
  844. }
  845. ]
  846. };
  847. ColumnStack.categories = [];
  848. ColumnStack.series[0].data = [];
  849. for (let i = 0; i < this.xingneng.length; i++) {
  850. ColumnStack.categories.push(this.Xzuobiao[i]);
  851. // console.log(ColumnStack.categories)
  852. ColumnStack.series[0].data.push(this.xingneng[i]);
  853. // console.log(ColumnStack.series[1].data)
  854. }
  855. }
  856. if (this.toBeInvolved) {
  857. ColumnStack = {
  858. categories: ['04/12', '04/13', '04/14', '04/15', '04/16', '04/17', '04/18', '04/19', '04/20'],
  859. series: [
  860. {
  861. name: '受累损失电量(万kwh)',
  862. data: [14, 17, 19, 20, 6, 14, 12, 14, 10],
  863. color: '#9E9E9E'
  864. }
  865. ]
  866. };
  867. ColumnStack.categories = [];
  868. ColumnStack.series[0].data = [];
  869. for (let i = 0; i < this.shoulei.length; i++) {
  870. ColumnStack.categories.push(this.Xzuobiao[i]);
  871. // console.log(ColumnStack.categories)
  872. ColumnStack.series[0].data.push(this.shoulei[i]);
  873. // console.log(ColumnStack.series[1].data)
  874. }
  875. }
  876. ColumnStack.categories = [];
  877. //ColumnStack.series[0].data=[];
  878. ColumnStack.series[1].data = [];
  879. ColumnStack.series[2].data = [];
  880. ColumnStack.series[3].data = [];
  881. ColumnStack.series[4].data = [];
  882. ColumnStack.series[5].data = [];
  883. ColumnStack.series[6].data = [];
  884. /* LineA.series[0].name=this.targetName; */
  885. _this.Xzuobiao = [];
  886. _this.rifa = [];
  887. _this.guzhang = [];
  888. _this.jianxiu = [];
  889. _this.xiandian = [];
  890. _this.xingneng = [];
  891. _this.shoulei = [];
  892. for (var i = 0; i < _this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC].length; i++) {
  893. let time = new Date(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].time).Format('MM/dd');
  894. ColumnStack.categories.push(time);
  895. //console.log(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC']['gl'][i].pointValueInDouble);
  896. //ColumnStack.series[0].data.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value7);
  897. ColumnStack.series[1].data.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value1);
  898. ColumnStack.series[2].data.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value2);
  899. ColumnStack.series[3].data.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value3);
  900. ColumnStack.series[4].data.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value4);
  901. ColumnStack.series[5].data.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value5);
  902. ColumnStack.series[6].data.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value6);
  903. _this.Xzuobiao.push(time);
  904. // _this.$set(_this.rifa,i,_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value1);
  905. // _this.$set(_this.guzhang,i,_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value2);
  906. // _this.$set(_this.jianxiu,i,_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value3);
  907. // _this.$set(_this.xiandian,i,_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value4);
  908. // _this.$set(_this.xingneng,i,_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value5);
  909. // _this.$set(_this.shoulei,i,_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value6);
  910. _this.rifa.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value1);
  911. _this.guzhang.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value2);
  912. _this.jianxiu.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value3);
  913. _this.xiandian.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value4);
  914. _this.xingneng.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value5);
  915. _this.shoulei.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value6);
  916. //ColumnStack.series[1].data.push(_this.rifa[i]);
  917. }
  918. _this.showColumnStack('canvasColumnStack', ColumnStack);
  919. });
  920. });
  921. },
  922. /* async index_windStation_card() {
  923. let _this = this;
  924. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  925. this.socketTask_index_windStation_card = uni.connectSocket({
  926. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  927. url: 'ws://' + this.backStageIp + ':' + this.backStagePort + '/websocket/pageNumber_6/functionNumber_8/all',
  928. success(data) {
  929. console.log('websocket连接成功');
  930. }
  931. });
  932. let windpowerstationid = uni.getStorageSync('windpowerstationName');
  933. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  934. this.socketTask_index_windStation_card.onOpen(res => {
  935. console.log('WebSocket连接正常打开中...!');
  936. this.is_open_socket = true;
  937. // 注:只有连接正常打开中 ,才能正常收到消息
  938. this.socketTask_index_windStation_card.onMessage(res => {
  939. //console.log("收到服务器内容:" + res.data);
  940. _this.index_windStation_cardmodule.index_windStation_cardmodule = JSON.parse(res.data);
  941. console.log();
  942. });
  943. });
  944. }, */
  945. async index_windStation_card() {
  946. let _this = this;
  947. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  948. this.socketTask_index_windStation_card = uni.connectSocket({
  949. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  950. url: 'ws://' + this.backStageIp + ':' + this.backStagePort + '/websocket/pageNumber_6/functionNumber_8/all',
  951. success(data) {
  952. console.log('websocket连接成功');
  953. }
  954. });
  955. let windpowerstationid = uni.getStorageSync('windpowerstationName');
  956. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  957. this.socketTask_index_windStation_card.onOpen(res => {
  958. console.log('WebSocket连接正常打开中...!');
  959. this.is_open_socket = true;
  960. // 注:只有连接正常打开中 ,才能正常收到消息
  961. this.socketTask_index_windStation_card.onMessage(res => {
  962. //console.log("收到服务器内容:" + res.data);
  963. let json = JSON.parse(res.data);
  964. for (let x in json) {
  965. _this.windFielddata.push(json[x]);
  966. }
  967. for (let i = 0; i < _this.plusDrawerList.length; i++) {
  968. _this.$refs.windFarmcard[i].getWindfieldid(_this.plusDrawerList[i]);
  969. _this.$refs.windFarmcard[i].getWindfielddata(_this.windFielddata[i]);
  970. }
  971. _this.cardmodule = false;
  972. });
  973. });
  974. },
  975. async index_curve_columnar_windSpeed_power() {
  976. Date.prototype.Format = function(fmt) {
  977. var o = {
  978. 'M+': this.getMonth() + 1, //月份
  979. 'd+': this.getDate(), //日
  980. 'h+': this.getHours(), //小时
  981. 'm+': this.getMinutes(), //分
  982. 's+': this.getSeconds(), //秒
  983. 'q+': Math.floor((this.getMonth() + 3) / 3), //季度
  984. S: this.getMilliseconds() //毫秒
  985. };
  986. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length));
  987. for (var k in o) if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, RegExp.$1.length == 1 ? o[k] : ('00' + o[k]).substr(('' + o[k]).length));
  988. return fmt;
  989. };
  990. let _this = this;
  991. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  992. this.socketTask_index_curve_columnar_windSpeed_power = uni.connectSocket({
  993. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  994. url: 'ws://' + this.backStageIp + ':' + this.backStagePort + '/websocket/pageNumber_6/functionNumber_6/all',
  995. /* url: 'ws://' + this.backStageIp + ':' + this.backStagePort + '/websocket/pageNumber_7/functionNumber_4/all', */
  996. success(data) {
  997. console.log('websocket连接成功');
  998. }
  999. });
  1000. let windpowerstationid = uni.getStorageSync('windpowerstationName');
  1001. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  1002. this.socketTask_index_curve_columnar_windSpeed_power.onOpen(res => {
  1003. console.log('WebSocket连接正常打开中...!');
  1004. this.is_open_socket = true;
  1005. // 注:只有连接正常打开中 ,才能正常收到消息
  1006. this.socketTask_index_curve_columnar_windSpeed_power.onMessage(res => {
  1007. //console.log("收到服务器内容:" + res.data);
  1008. let json = JSON.parse(res.data);
  1009. //console.log(json);
  1010. for (let x in json) {
  1011. if (x == _this.FDC) {
  1012. _this.linedata = json[x];
  1013. }
  1014. _this.lineChartdata.push(json[x]);
  1015. }
  1016. for (let i = 0; i < _this.plusDrawerList.length; i++) {
  1017. _this.$refs.windFarmcard[i].getWindfieldid(_this.plusDrawerList[i]);
  1018. _this.$refs.windFarmcard[i].getUchartData(_this.lineChartdata[i]);
  1019. }
  1020. let Line = {
  1021. categories: [],
  1022. series: [
  1023. {
  1024. name: '预测功率',
  1025. data: [],
  1026. color: '#4BB94B',
  1027. textColor: '#FFFFFF',
  1028. textSize: this.seriesTextSize,
  1029. format: val => {
  1030. return val + 'kwh';
  1031. },
  1032. index: 1,
  1033. legendShape: 'circle'
  1034. },
  1035. {
  1036. name: '风速',
  1037. data: [],
  1038. color: '#E82E2F',
  1039. textColor: '#FFFFFF',
  1040. textSize: this.seriesTextSize,
  1041. format: val => {
  1042. return val + 'm/s';
  1043. },
  1044. index: 0,
  1045. legendShape: 'circle'
  1046. },
  1047. {
  1048. name: '理论功率',
  1049. data: [],
  1050. color: '#F5A83C',
  1051. textColor: '#FFFFFF',
  1052. textSize: this.seriesTextSize,
  1053. format: val => {
  1054. return val + 'kwh';
  1055. },
  1056. index: 1,
  1057. legendShape: 'circle'
  1058. },
  1059. {
  1060. name: '实际功率',
  1061. data: [],
  1062. color: '#4A80B1',
  1063. textColor: '#FFFFFF',
  1064. textSize: this.seriesTextSize,
  1065. format: val => {
  1066. return val + 'kwh';
  1067. },
  1068. index: 1,
  1069. legendShape: 'circle'
  1070. }
  1071. ]
  1072. };
  1073. Line.categories = [];
  1074. Line.series[0].data = [];
  1075. /* LineA.series[0].name=this.targetName; */
  1076. console.log(_this.FDC);
  1077. for (var i = 0; i < _this.linedata.length; i++) {
  1078. let time = new Date(_this.linedata[i].time).Format('hh');
  1079. Line.categories.push(time);
  1080. //console.log(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC']['gl'][i].pointValueInDouble);
  1081. Line.series[0].data.push(_this.linedata[i].value1);
  1082. Line.series[1].data.push(_this.linedata[i].value2);
  1083. Line.series[2].data.push(_this.linedata[i].value3);
  1084. Line.series[3].data.push(_this.linedata[i].value4);
  1085. }
  1086. _this.showLineA('canvasLineA', Line);
  1087. /*
  1088. _this.showWindStationCardLineA4('windStationCanvasLineD', LineD);
  1089. _this.showWindStationCardLineA5('windStationCanvasLineE', LineE); */
  1090. });
  1091. });
  1092. },
  1093. openDrawer: function() {
  1094. if (this.$refs.drawer != undefined) {
  1095. this.$refs.drawer.openDrawer(250, this.drawerList, this.inconList, this.leftNavigationtitle);
  1096. } else {
  1097. //console.log('雷霆嘎巴');
  1098. }
  1099. },
  1100. closeDrawer: function() {
  1101. this.drawerIsShow = false;
  1102. },
  1103. pushWindPowerStationNameToSessionStorage(windpowerstationName) {
  1104. uni.setStorageSync('windpowerstationName', windpowerstationName);
  1105. //sessionStorage.setItem('windpowerstationName', windpowerstationName);
  1106. //alert("v"+ sessionStorage.getItem("windpowerstationName"));
  1107. //this.common.goback('/pages/index/Index');
  1108. },
  1109. getWindPowerStationNameToSessionStorage() {
  1110. uni.getStorageSync('windpowerstationName');
  1111. return uni.getStorageSync('windpowerstationName');
  1112. },
  1113. showModal(e) {
  1114. this.conflict = true;
  1115. this.modalName = e.currentTarget.dataset.target;
  1116. this.viewUserid();
  1117. this.monitoringAuthority();
  1118. this.$refs.plusDrawer.showModal(this.plusDrawerList, this.modalName);
  1119. },
  1120. hideModal() {
  1121. this.conflict = false;
  1122. this.modalName = null;
  1123. this.$refs.plusDrawer.hideModal(this.modalName);
  1124. },
  1125. async target_comprehensive_indicators() {
  1126. let _this = this;
  1127. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  1128. this.socketTask_target_comprehensive_indicators = uni.connectSocket({
  1129. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  1130. url: 'ws://' + this.backStageIp + ':' + this.backStagePort + '/websocket/pageNumber_6/functionNumber_1/all',
  1131. success(data) {
  1132. console.log('websocket连接成功');
  1133. }
  1134. });
  1135. let windpowerstationid = uni.getStorageSync('windpowerstationName');
  1136. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  1137. this.socketTask_target_comprehensive_indicators.onOpen(res => {
  1138. console.log('WebSocket连接正常打开中...!');
  1139. this.is_open_socket = true;
  1140. // 注:只有连接正常打开中 ,才能正常收到消息
  1141. this.socketTask_target_comprehensive_indicators.onMessage(res => {
  1142. //console.log("收到服务器内容:" + res.data);
  1143. _this.windpowerstationdetail.target_comprehensive_indicators = JSON.parse(res.data)[_this.FDC];
  1144. console.log();
  1145. });
  1146. });
  1147. // 这里仅是事件监听【如果socket关闭了会执行】
  1148. /* this.socketTask_comprehensive_target.onClose(() => {
  1149. uni.request({
  1150. url: 'http://'+this.backStageIp+':'+this.backStagePort+'/targetdetail/close_targetdetail_target?pointKey='+this.pointKey,
  1151. success: (res) => {
  1152. }
  1153. });
  1154. }) */
  1155. },
  1156. async target_windSpeed_power() {
  1157. let _this = this;
  1158. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  1159. this.socketTask_target_windSpeed_power = uni.connectSocket({
  1160. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  1161. url: 'ws://' + this.backStageIp + ':' + this.backStagePort + '/websocket/pageNumber_6/functionNumber_2/all',
  1162. success(data) {
  1163. console.log('websocket连接成功');
  1164. }
  1165. });
  1166. let windpowerstationid = uni.getStorageSync('windpowerstationName');
  1167. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  1168. this.socketTask_target_windSpeed_power.onOpen(res => {
  1169. console.log('WebSocket连接正常打开中...!');
  1170. this.is_open_socket = true;
  1171. // 注:只有连接正常打开中 ,才能正常收到消息
  1172. this.socketTask_target_windSpeed_power.onMessage(res => {
  1173. //console.log("收到服务器内容:" + res.data);
  1174. _this.windpowerstationdetail.target_windSpeed_power = JSON.parse(res.data)[_this.FDC];
  1175. });
  1176. });
  1177. // 这里仅是事件监听【如果socket关闭了会执行】
  1178. /* this.socketTask_comprehensive_target.onClose(() => {
  1179. uni.request({
  1180. url: 'http://'+this.backStageIp+':'+this.backStagePort+'/targetdetail/close_targetdetail_target?pointKey='+this.pointKey,
  1181. success: (res) => {
  1182. }
  1183. });
  1184. }) */
  1185. },
  1186. async index_windturbine_status() {
  1187. let _this = this;
  1188. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  1189. this.socketTask_index_windturbine_status = uni.connectSocket({
  1190. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  1191. url: 'ws://' + this.backStageIp + ':' + this.backStagePort + '/websocket/pageNumber_6/functionNumber_3/all',
  1192. success(data) {
  1193. console.log('websocket连接成功');
  1194. }
  1195. });
  1196. let windpowerstationid = uni.getStorageSync('windpowerstationName');
  1197. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  1198. this.socketTask_index_windturbine_status.onOpen(res => {
  1199. console.log('WebSocket连接正常打开中...!');
  1200. this.is_open_socket = true;
  1201. // 注:只有连接正常打开中 ,才能正常收到消息
  1202. this.socketTask_index_windturbine_status.onMessage(res => {
  1203. //console.log("收到服务器内容:" + res.data);
  1204. _this.windpowerstationdetail.index_windturbine_status = JSON.parse(res.data)[_this.FDC];
  1205. // _this.fdcstatusmodule.fdcstatusmodule = JSON.parse(res.data);
  1206. let json = JSON.parse(res.data);
  1207. for (let x in json) {
  1208. _this.windFieldsituation.push(json[x]);
  1209. }
  1210. for (let i = 0; i < _this.plusDrawerList.length; i++) {
  1211. _this.$refs.windFarmcard[i].getWindfieldid(_this.plusDrawerList[i]);
  1212. _this.$refs.windFarmcard[i].getHoursWeatherData(_this.windFieldsituation[i]);
  1213. }
  1214. _this.cardmodule = false;
  1215. _this.module = false;
  1216. });
  1217. });
  1218. // 这里仅是事件监听【如果socket关闭了会执行】
  1219. /* this.socketTask_comprehensive_target.onClose(() => {
  1220. uni.request({
  1221. url: 'http://'+this.backStageIp+':'+this.backStagePort+'/targetdetail/close_targetdetail_target?pointKey='+this.pointKey,
  1222. success: (res) => {
  1223. }
  1224. });
  1225. }) */
  1226. },
  1227. async index_electricQuantity() {
  1228. let _this = this;
  1229. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  1230. this.socketTask_index_electricQuantity = uni.connectSocket({
  1231. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  1232. url: 'ws://' + this.backStageIp + ':' + this.backStagePort + '/websocket/pageNumber_6/functionNumber_4/all',
  1233. success(data) {
  1234. console.log('websocket连接成功');
  1235. }
  1236. });
  1237. let windpowerstationid = uni.getStorageSync('windpowerstationName');
  1238. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  1239. this.socketTask_index_electricQuantity.onOpen(res => {
  1240. console.log('WebSocket连接正常打开中...!');
  1241. this.is_open_socket = true;
  1242. // 注:只有连接正常打开中 ,才能正常收到消息
  1243. this.socketTask_index_electricQuantity.onMessage(res => {
  1244. //console.log("收到服务器内容:" + res.data);
  1245. _this.windpowerstationdetail.index_electricQuantity = JSON.parse(res.data)[_this.FDC];
  1246. _this.monthOlive = (_this.windpowerstationdetail.index_electricQuantity.yfdl / 10000) * 100 + '%';
  1247. _this.monthAngrey = (1 - _this.windpowerstationdetail.index_electricQuantity.yfdl / 10000) * 100 + '%';
  1248. _this.yearOlive = (_this.windpowerstationdetail.index_electricQuantity.nfdl / 100000) * 100 + '%';
  1249. _this.yearAngrey = (1 - _this.windpowerstationdetail.index_electricQuantity.nfdl / 100000) * 100 + '%';
  1250. });
  1251. });
  1252. // 这里仅是事件监听【如果socket关闭了会执行】
  1253. /* this.socketTask_comprehensive_target.onClose(() => {
  1254. uni.request({
  1255. url: 'http://'+this.backStageIp+':'+this.backStagePort+'/targetdetail/close_targetdetail_target?pointKey='+this.pointKey,
  1256. success: (res) => {
  1257. }
  1258. });
  1259. }) */
  1260. },
  1261. async index_target_basic_indicators() {
  1262. let _this = this;
  1263. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  1264. this.socketTask_index_target_basic_indicators = uni.connectSocket({
  1265. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  1266. url: 'ws://' + this.backStageIp + ':' + this.backStagePort + '/websocket/pageNumber_6/functionNumber_5/all',
  1267. success(data) {
  1268. console.log('websocket连接成功');
  1269. }
  1270. });
  1271. let windpowerstationid = uni.getStorageSync('windpowerstationName');
  1272. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  1273. this.socketTask_index_target_basic_indicators.onOpen(res => {
  1274. console.log('WebSocket连接正常打开中...!');
  1275. this.is_open_socket = true;
  1276. // 注:只有连接正常打开中 ,才能正常收到消息
  1277. this.socketTask_index_target_basic_indicators.onMessage(res => {
  1278. //console.log("收到服务器内容:" + res.data);
  1279. _this.windpowerstationdetail.index_target_basic_indicators = JSON.parse(res.data)[_this.FDC];
  1280. console.log(_this.windpowerstationdetail);
  1281. });
  1282. });
  1283. // 这里仅是事件监听【如果socket关闭了会执行】
  1284. /* this.socketTask_comprehensive_target.onClose(() => {
  1285. uni.request({
  1286. url: 'http://'+this.backStageIp+':'+this.backStagePort+'/targetdetail/close_targetdetail_target?pointKey='+this.pointKey,
  1287. success: (res) => {
  1288. }
  1289. });
  1290. }) */
  1291. },
  1292. getServerData() {
  1293. // 折线图
  1294. let LineA = {
  1295. categories: [
  1296. ' 17:26',
  1297. '18:56',
  1298. '19:56',
  1299. '20:56',
  1300. '21:56',
  1301. '22:56',
  1302. '23:56',
  1303. '00:56',
  1304. '01:56',
  1305. '02:56',
  1306. '03:56',
  1307. '04:56',
  1308. '05:56',
  1309. '06:56',
  1310. '07:56',
  1311. '08:56',
  1312. '09:56',
  1313. '10:56',
  1314. '11:56',
  1315. '12:56',
  1316. '13:56',
  1317. '14:56',
  1318. '15:56',
  1319. '16:56',
  1320. '17:56 '
  1321. ],
  1322. series: [
  1323. {
  1324. name: '功率',
  1325. data: [],
  1326. color: '#4BB94B',
  1327. textColor: '#FFFFFF',
  1328. textSize: this.seriesTextSize,
  1329. format: val => {
  1330. return val + 'kwh';
  1331. },
  1332. index: 0,
  1333. legendShape: 'circle'
  1334. },
  1335. {
  1336. name: '风速',
  1337. data: [],
  1338. color: '#E82E2F',
  1339. textColor: '#FFFFFF',
  1340. textSize: this.seriesTextSize,
  1341. format: val => {
  1342. return val + 'm/s';
  1343. },
  1344. index: 1,
  1345. legendShape: 'circle'
  1346. },
  1347. {
  1348. name: '理论功率',
  1349. data: [],
  1350. color: '#F5A83C',
  1351. textColor: '#FFFFFF',
  1352. textSize: this.seriesTextSize,
  1353. format: val => {
  1354. return val + 'kwh';
  1355. },
  1356. index: 0,
  1357. legendShape: 'circle'
  1358. },
  1359. {
  1360. name: '预测功率',
  1361. data: [],
  1362. color: '#4A80B1',
  1363. textColor: '#FFFFFF',
  1364. textSize: this.seriesTextSize,
  1365. format: val => {
  1366. return val + 'kwh';
  1367. },
  1368. index: 1,
  1369. legendShape: 'circle'
  1370. }
  1371. ]
  1372. };
  1373. this.showLineA('canvasLineA', LineA);
  1374. },
  1375. showLineA(canvasId, chartData) {
  1376. var _self = this;
  1377. canvaLineA = new uCharts({
  1378. $this: _self,
  1379. canvasId: canvasId,
  1380. type: 'line',
  1381. fontSize: 11,
  1382. legend: {
  1383. show: true,
  1384. position: 'top',
  1385. float: 'right',
  1386. fontColor: 'silver',
  1387. itemGap: '4',
  1388. itemWidth: '3'
  1389. },
  1390. dataLabel: false,
  1391. dataPointShape: false,
  1392. background: '#FFFFFF',
  1393. pixelRatio: _self.pixelRatio,
  1394. categories: chartData.categories,
  1395. series: chartData.series,
  1396. animation: true,
  1397. xAxis: {
  1398. type: 'grid',
  1399. gridColor: 'silver',
  1400. fontColor: 'silver',
  1401. gridType: 'solid',
  1402. gridColor: '#2E2E2E',
  1403. axisLineColor: '#2E2E2E',
  1404. labelCount: '3'
  1405. // itemCount:"3"
  1406. },
  1407. yAxis: {
  1408. data: [
  1409. {
  1410. type: 'value',
  1411. fontColor: 'silver',
  1412. disabled: false, //y轴轴线
  1413. min: 0,
  1414. max: 40,
  1415. position: 'left',
  1416. axisLineColor: '#2E2E2E',
  1417. title: ' 风速:(m/s)',
  1418. titleFontColor: 'silver'
  1419. },
  1420. {
  1421. fontColor: 'silver',
  1422. disabled: false, //y轴轴线
  1423. min: 0,
  1424. max: 40,
  1425. position: 'right',
  1426. axisLineColor: '#2E2E2E',
  1427. title: '功率:(kwh)',
  1428. titleFontColor: 'silver'
  1429. }
  1430. ],
  1431. gridColor: '#2E2E2E',
  1432. splitNumber: 4,
  1433. gridType: 'solid',
  1434. dashLength: 8,
  1435. showTitle: 'true',
  1436. format: val => {
  1437. return val.toFixed(0) + '元';
  1438. }
  1439. },
  1440. width: _self.cWidth * _self.pixelRatio,
  1441. height: _self.cHeight * _self.pixelRatio,
  1442. extra: {
  1443. line: {
  1444. type: 'line',
  1445. width: '1'
  1446. }
  1447. }
  1448. });
  1449. },
  1450. AffectedPower() {
  1451. (this.toBeInvolved = true), (this.performance = false);
  1452. this.powerLimitation = false;
  1453. this.overhaul = false;
  1454. this.dayHair = false;
  1455. this.fault = false;
  1456. this.clickFlag = 'group';
  1457. this.getColumnData();
  1458. },
  1459. performancePower() {
  1460. this.performance = true;
  1461. this.powerLimitation = false;
  1462. (this.toBeInvolved = false), (this.overhaul = false);
  1463. this.dayHair = false;
  1464. this.fault = false;
  1465. this.clickFlag = 'group';
  1466. this.getColumnData();
  1467. },
  1468. limitedPower() {
  1469. (this.toBeInvolved = false), (this.powerLimitation = true);
  1470. this.performance = false;
  1471. this.overhaul = false;
  1472. this.dayHair = false;
  1473. this.fault = false;
  1474. this.clickFlag = 'group';
  1475. this.getColumnData();
  1476. },
  1477. maintenancePower() {
  1478. (this.toBeInvolved = false), (this.overhaul = true);
  1479. this.performance = false;
  1480. this.dayHair = false;
  1481. this.fault = false;
  1482. this.powerLimitation = false;
  1483. this.clickFlag = 'group';
  1484. this.getColumnData();
  1485. },
  1486. directGeneration() {
  1487. (this.toBeInvolved = false), (this.dayHair = false);
  1488. this.performance = false;
  1489. this.fault = false;
  1490. this.overhaul = false;
  1491. this.powerLimitation = false;
  1492. this.clickFlag = 'stack';
  1493. this.getColumnData();
  1494. },
  1495. powerGeneration() {
  1496. (this.toBeInvolved = false), (this.dayHair = true);
  1497. this.performance = false;
  1498. this.fault = false;
  1499. this.overhaul = false;
  1500. this.powerLimitation = false;
  1501. this.clickFlag = 'group';
  1502. this.getColumnData();
  1503. },
  1504. faultPower() {
  1505. (this.toBeInvolved = false), (this.fault = true);
  1506. this.performance = false;
  1507. this.dayHair = false;
  1508. this.overhaul = false;
  1509. this.powerLimitation = false;
  1510. this.clickFlag = 'group';
  1511. this.getColumnData();
  1512. },
  1513. getColumnData() {
  1514. let ColumnStack = this.c1;
  1515. if (this.dayHair) {
  1516. ColumnStack = {
  1517. categories: ['04/12', '04/13', '04/14', '04/15', '04/16', '04/17', '04/18', '04/19', '04/20'],
  1518. series: [
  1519. {
  1520. name: '日发电量(万kwh)',
  1521. data: [18, 13, 12, 17, 13, 7, 11, 15, 13],
  1522. color: '#4EB64E'
  1523. }
  1524. ]
  1525. };
  1526. ColumnStack.categories = [];
  1527. ColumnStack.series[0].data = [];
  1528. for (let i = 0; i < this.rifa.length; i++) {
  1529. ColumnStack.categories.push(this.Xzuobiao[i]);
  1530. // console.log(ColumnStack.categories)
  1531. ColumnStack.series[0].data.push(this.rifa[i]);
  1532. // console.log(ColumnStack.series[1].data)
  1533. }
  1534. }
  1535. if (this.fault) {
  1536. ColumnStack = {
  1537. categories: ['04/12', '04/13', '04/14', '04/15', '04/16', '04/17', '04/18', '04/19', '04/20'],
  1538. series: [
  1539. {
  1540. name: '故障损失电量(万kwh)',
  1541. data: [17, 15, 17, 21, 16, 8, 10, 17, 11],
  1542. color: '#F14E51'
  1543. }
  1544. ]
  1545. };
  1546. ColumnStack.categories = [];
  1547. ColumnStack.series[0].data = [];
  1548. for (let i = 0; i < this.guzhang.length; i++) {
  1549. ColumnStack.categories.push(this.Xzuobiao[i]);
  1550. // console.log(ColumnStack.categories)
  1551. ColumnStack.series[0].data.push(this.guzhang[i]);
  1552. // console.log(ColumnStack.series[1].data)
  1553. }
  1554. }
  1555. if (this.overhaul) {
  1556. ColumnStack = {
  1557. categories: ['04/12', '04/13', '04/14', '04/15', '04/16', '04/17', '04/18', '04/19', '04/20'],
  1558. series: [
  1559. {
  1560. name: '检修损失电量(万kwh)',
  1561. data: [14, 17, 19, 20, 6, 14, 12, 14, 10],
  1562. color: '#FF6B3E'
  1563. }
  1564. ]
  1565. };
  1566. ColumnStack.categories = [];
  1567. ColumnStack.series[0].data = [];
  1568. for (let i = 0; i < this.jianxiu.length; i++) {
  1569. ColumnStack.categories.push(this.Xzuobiao[i]);
  1570. // console.log(ColumnStack.categories)
  1571. ColumnStack.series[0].data.push(this.jianxiu[i]);
  1572. // console.log(ColumnStack.series[1].data)
  1573. }
  1574. }
  1575. if (this.powerLimitation) {
  1576. ColumnStack = {
  1577. categories: ['04/12', '04/13', '04/14', '04/15', '04/16', '04/17', '04/18', '04/19', '04/20'],
  1578. series: [
  1579. {
  1580. name: '限电损失电量(万kwh)',
  1581. data: [14, 17, 19, 20, 6, 14, 12, 14, 10],
  1582. color: '#DC62D2'
  1583. }
  1584. ]
  1585. };
  1586. ColumnStack.categories = [];
  1587. ColumnStack.series[0].data = [];
  1588. for (let i = 0; i < this.xiandian.length; i++) {
  1589. ColumnStack.categories.push(this.Xzuobiao[i]);
  1590. // console.log(ColumnStack.categories)
  1591. ColumnStack.series[0].data.push(this.xiandian[i]);
  1592. // console.log(ColumnStack.series[1].data)
  1593. }
  1594. }
  1595. if (this.performance) {
  1596. ColumnStack = {
  1597. categories: ['04/12', '04/13', '04/14', '04/15', '04/16', '04/17', '04/18', '04/19', '04/20'],
  1598. series: [
  1599. {
  1600. name: '性能损失电量(万kwh)',
  1601. data: [14, 17, 19, 20, 6, 14, 12, 14, 10],
  1602. color: '#9DA3F6'
  1603. }
  1604. ]
  1605. };
  1606. ColumnStack.categories = [];
  1607. ColumnStack.series[0].data = [];
  1608. for (let i = 0; i < this.xingneng.length; i++) {
  1609. ColumnStack.categories.push(this.Xzuobiao[i]);
  1610. // console.log(ColumnStack.categories)
  1611. ColumnStack.series[0].data.push(this.xingneng[i]);
  1612. // console.log(ColumnStack.series[1].data)
  1613. }
  1614. }
  1615. if (this.toBeInvolved) {
  1616. ColumnStack = {
  1617. categories: ['04/12', '04/13', '04/14', '04/15', '04/16', '04/17', '04/18', '04/19', '04/20'],
  1618. series: [
  1619. {
  1620. name: '受累损失电量(万kwh)',
  1621. data: [14, 17, 19, 20, 6, 14, 12, 14, 10],
  1622. color: '#9E9E9E'
  1623. }
  1624. ]
  1625. };
  1626. ColumnStack.categories = [];
  1627. ColumnStack.series[0].data = [];
  1628. for (let i = 0; i < this.shoulei.length; i++) {
  1629. ColumnStack.categories.push(this.Xzuobiao[i]);
  1630. // console.log(ColumnStack.categories)
  1631. ColumnStack.series[0].data.push(this.shoulei[i]);
  1632. // console.log(ColumnStack.series[1].data)
  1633. }
  1634. }
  1635. this.showColumnStack('canvasColumnStack', ColumnStack);
  1636. },
  1637. showColumnStack(canvasId, chartData) {
  1638. var _self = this;
  1639. canvaColumn = new uCharts({
  1640. $this: _self,
  1641. canvasId: canvasId,
  1642. type: 'column',
  1643. legend: {
  1644. show: false
  1645. },
  1646. fontSize: 11,
  1647. background: '#FFFFFF',
  1648. pixelRatio: _self.pixelRatio,
  1649. animation: true,
  1650. categories: chartData.categories,
  1651. series: chartData.series,
  1652. xAxis: {
  1653. disableGrid: true,
  1654. gridColor: 'silver',
  1655. fontColor: 'silver'
  1656. },
  1657. yAxis: {
  1658. data: [
  1659. {
  1660. type: 'value',
  1661. fontColor: 'silver',
  1662. disabled: false, //y轴轴线
  1663. min: 0,
  1664. max: 60,
  1665. axisLineColor: '#2E2E2E',
  1666. title: ' 电量:(kwh)',
  1667. titleFontColor: 'silver'
  1668. }
  1669. ],
  1670. gridColor: '#2E2E2E',
  1671. splitNumber: 5,
  1672. gridType: 'solid',
  1673. dashLength: 8,
  1674. showTitle: false
  1675. //disabled:true
  1676. },
  1677. dataLabel: false,
  1678. width: _self.cWidth * _self.pixelRatio,
  1679. height: _self.cHeight * _self.pixelRatio,
  1680. extra: {
  1681. column: {
  1682. type: _self.clickFlag,
  1683. width: '13'
  1684. }
  1685. }
  1686. });
  1687. },
  1688. touchColumn(e) {
  1689. let _this = this;
  1690. canvaColumn.showToolTip(e, {
  1691. format: function(item, category) {
  1692. if (item.name == '应发电量(万kwh)') {
  1693. return '';
  1694. } else {
  1695. return category + ' ' + item.name + ':' + item.data;
  1696. }
  1697. }
  1698. });
  1699. },
  1700. touchLineA(e) {
  1701. canvaLineA.showToolTip(e, {
  1702. format: function(item, category) {
  1703. return category + ' ' + item.name + ':' + item.data;
  1704. }
  1705. });
  1706. },
  1707. touchLineB1(e) {
  1708. canvaLineB1.showToolTip(e, {
  1709. format: function(item, category) {
  1710. return category + ' ' + item.name + ':' + item.data;
  1711. }
  1712. });
  1713. },
  1714. touchLineB2(e) {
  1715. canvaLineB2.showToolTip(e, {
  1716. format: function(item, category) {
  1717. return category + ' ' + item.name + ':' + item.data;
  1718. }
  1719. });
  1720. },
  1721. touchLineB3(e) {
  1722. canvaLineB3.showToolTip(e, {
  1723. format: function(item, category) {
  1724. return category + ' ' + item.name + ':' + item.data;
  1725. }
  1726. });
  1727. },
  1728. touchLineB4(e) {
  1729. canvaLineB4.showToolTip(e, {
  1730. format: function(item, category) {
  1731. return category + ' ' + item.name + ':' + item.data;
  1732. }
  1733. });
  1734. },
  1735. touchLineB5(e) {
  1736. canvaLineB5.showToolTip(e, {
  1737. format: function(item, category) {
  1738. return category + ' ' + item.name + ':' + item.data;
  1739. }
  1740. });
  1741. },
  1742. moveLineA(e) {
  1743. canvaLineA.scroll(e);
  1744. },
  1745. getWindStationCardData: function() {}
  1746. }
  1747. };
  1748. </script>
  1749. <style>
  1750. .textSmail {
  1751. font-size: 12px;
  1752. transform: scale(0.8);
  1753. }
  1754. .speedPowerDiagram {
  1755. width: 100px;
  1756. height: 30px;
  1757. user-select: text;
  1758. -webkit-user-select: text;
  1759. -moz-user-select: text;
  1760. -ms-user-select: text;
  1761. color: silver;
  1762. float: left;
  1763. margin-top: 18px;
  1764. margin-left: 9px;
  1765. font-size: 11px;
  1766. }
  1767. .monthlyUtilizationHours {
  1768. width: 160px;
  1769. height: 30px;
  1770. margin-top: 20px;
  1771. /* background-color: #161616; */
  1772. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1773. color: silver;
  1774. margin-left: 9px;
  1775. text-align: center;
  1776. padding-top: 7px;
  1777. font-size: 12px;
  1778. }
  1779. .yearlyUtilizationHours {
  1780. width: 160px;
  1781. height: 30px;
  1782. margin-top: 10px;
  1783. /* background-color: #161616; */
  1784. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1785. color: silver;
  1786. margin-left: 9px;
  1787. text-align: center;
  1788. padding-top: 7px;
  1789. font-size: 12px;
  1790. }
  1791. .comprehensiveServicePowerConsumptionRate {
  1792. width: 160px;
  1793. height: 30px;
  1794. /* margin-top: 10px; */
  1795. /* background-color: #161616; */
  1796. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1797. color: silver;
  1798. margin-left: 200px;
  1799. margin-top: -70px;
  1800. text-align: center;
  1801. padding-top: 7px;
  1802. font-size: 12px;
  1803. float: left;
  1804. }
  1805. .equipmentAvailability {
  1806. width: 160px;
  1807. height: 30px;
  1808. /* margin-top: 10px; */
  1809. /* background-color: #161616; */
  1810. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1811. color: silver;
  1812. margin-left: 200px;
  1813. margin-top: -30px;
  1814. text-align: center;
  1815. padding-top: 7px;
  1816. font-size: 12px;
  1817. float: left;
  1818. }
  1819. .sulfurDioxideEmissionReduction {
  1820. width: 160px;
  1821. height: 30px;
  1822. /* margin-top: 10px; */
  1823. /* background-color: #161616; */
  1824. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1825. color: silver;
  1826. margin-left: 380px;
  1827. margin-top: -70px;
  1828. text-align: center;
  1829. padding-top: 7px;
  1830. font-size: 12px;
  1831. float: left;
  1832. }
  1833. .carbonDioxideReduction {
  1834. width: 160px;
  1835. height: 30px;
  1836. /* margin-top: 10px; */
  1837. /* background-color: #161616; */
  1838. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1839. color: silver;
  1840. margin-left: 380px;
  1841. margin-top: -30px;
  1842. text-align: center;
  1843. padding-top: 7px;
  1844. font-size: 12px;
  1845. float: left;
  1846. }
  1847. .waterSaving {
  1848. width: 160px;
  1849. height: 30px;
  1850. /* margin-top: 10px; */
  1851. /* background-color: #161616; */
  1852. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1853. color: silver;
  1854. margin-left: 560px;
  1855. margin-top: -70px;
  1856. text-align: center;
  1857. padding-top: 7px;
  1858. font-size: 12px;
  1859. float: left;
  1860. }
  1861. .saveStandardCoal {
  1862. width: 160px;
  1863. height: 30px;
  1864. /* margin-top: 10px; */
  1865. /* background-color: #161616; */
  1866. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1867. color: silver;
  1868. margin-left: 560px;
  1869. margin-top: -30px;
  1870. text-align: center;
  1871. padding-top: 7px;
  1872. font-size: 12px;
  1873. float: left;
  1874. }
  1875. .mttr {
  1876. width: 160px;
  1877. height: 30px;
  1878. /* margin-top: 10px; */
  1879. /* background-color: #161616; */
  1880. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1881. color: silver;
  1882. margin-left: 740px;
  1883. margin-top: -70px;
  1884. text-align: center;
  1885. padding-top: 7px;
  1886. font-size: 12px;
  1887. float: left;
  1888. }
  1889. .mtbf {
  1890. width: 160px;
  1891. height: 30px;
  1892. /* margin-top: 10px; */
  1893. /* background-color: #161616; */
  1894. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1895. color: silver;
  1896. margin-left: 740px;
  1897. margin-top: -30px;
  1898. text-align: center;
  1899. padding-top: 7px;
  1900. font-size: 12px;
  1901. float: left;
  1902. }
  1903. .horizontalSlider {
  1904. white-space: nowrap;
  1905. width: 100%;
  1906. height: 100px;
  1907. background-color: #242424;
  1908. clear: both;
  1909. /* margin-top: 540px; */
  1910. }
  1911. .slide {
  1912. width: 920px;
  1913. height: 100px;
  1914. background-color: #242424;
  1915. }
  1916. .qiun-charts {
  1917. width: 750upx;
  1918. height: 400upx;
  1919. }
  1920. .charts {
  1921. width: 750upx;
  1922. height: 400upx;
  1923. }
  1924. .uchartTitle {
  1925. position: absolute;
  1926. left: 9px;
  1927. top: 605px;
  1928. user-select: text;
  1929. -webkit-user-select: text;
  1930. -moz-user-select: text;
  1931. -ms-user-select: text;
  1932. color: silver;
  1933. font-size: 12px;
  1934. }
  1935. .Histogram {
  1936. width: 100%;
  1937. height: 300px;
  1938. background-color: #242424;
  1939. margin-top: 10px;
  1940. float: left;
  1941. }
  1942. .HistogramTitle {
  1943. width: calc(100% - 9px);
  1944. height: 30px;
  1945. line-height: 30px;
  1946. font-size: 11px;
  1947. color: silver;
  1948. margin-left: 9px;
  1949. }
  1950. .lineChart {
  1951. width: 100%;
  1952. height: 225px;
  1953. background-color: #242424;
  1954. margin-top: 10px;
  1955. float: left;
  1956. }
  1957. body {
  1958. font-family: '方正兰亭细黑_GBK';
  1959. font-size: 20px;
  1960. color: silver;
  1961. background: #000;
  1962. }
  1963. @font-face {
  1964. font-family: '方正兰亭细黑_GBK';
  1965. src: url(../../static/fzltxh.TTF);
  1966. }
  1967. page {
  1968. background-color: #1f1f1f;
  1969. font-family: '方正兰亭细黑_GBK';
  1970. overflow-x: hidden;
  1971. }
  1972. .top {
  1973. width: 100%;
  1974. height: 130upx;
  1975. padding-top: 5%;
  1976. background-color: #1f1f1f;
  1977. position: fixed;
  1978. top: 0px;
  1979. left: 0px;
  1980. z-index: 100;
  1981. }
  1982. .threeLine {
  1983. width: 50px;
  1984. height: 45px;
  1985. float: left;
  1986. }
  1987. .text {
  1988. width: calc(100% - 100px);
  1989. height: 45px;
  1990. float: left;
  1991. user-select: text;
  1992. -webkit-user-select: text;
  1993. -moz-user-select: text;
  1994. -ms-user-select: text;
  1995. color: silver;
  1996. line-height: 45px;
  1997. margin-top: 11px;
  1998. font-size: 18px;
  1999. }
  2000. .notice {
  2001. width: 50px;
  2002. height: 45px;
  2003. float: left;
  2004. margin-left: -60%;
  2005. margin-top: 6%;
  2006. }
  2007. .plus {
  2008. width: 30px;
  2009. height: 45px;
  2010. float: right;
  2011. color: white;
  2012. font-size: 35px;
  2013. line-height: 45px;
  2014. text-align: right;
  2015. margin-right: 2.5%;
  2016. }
  2017. .textWindpowerstation {
  2018. width: 180px;
  2019. height: 45px;
  2020. float: left;
  2021. text-align: center;
  2022. margin-left: 18px;
  2023. }
  2024. .time {
  2025. /* clear: both; */
  2026. background-color: #242424;
  2027. width: 100%;
  2028. height: 30px;
  2029. /* float: left; */
  2030. }
  2031. .timeimageshizhong {
  2032. width: 10%;
  2033. height: 20px;
  2034. margin-top: 5px;
  2035. float: left;
  2036. }
  2037. .timeText {
  2038. width: 70%;
  2039. height: 30px;
  2040. float: left;
  2041. line-height: 30px;
  2042. font-size: 15px;
  2043. margin-left: 15px;
  2044. user-select: text;
  2045. -webkit-user-select: text;
  2046. -moz-user-select: text;
  2047. -ms-user-select: text;
  2048. color: silver;
  2049. }
  2050. .timeIcon {
  2051. width: 10%;
  2052. height: 30px;
  2053. float: right;
  2054. margin-right: 2.5%;
  2055. /* margin-left: 5px; */
  2056. }
  2057. .timeIconImage {
  2058. width: 100%;
  2059. height: 25px;
  2060. margin-top: 1px;
  2061. }
  2062. .timeIconText {
  2063. width: 100%;
  2064. height: 25px;
  2065. text-align: center;
  2066. font-size: 12px;
  2067. }
  2068. .cardinstallgreenSecurity {
  2069. margin-left: 9px;
  2070. margin-top: 9px;
  2071. margin-bottom: 9px;
  2072. width: 30%;
  2073. height: 78px;
  2074. background: -webkit-linear-gradient(top, rgba(133, 145, 132, 0.1) 0%, rgba(66, 130, 61, 0.2) 100%);
  2075. border-radius: 5px;
  2076. float: left;
  2077. /* font-family: "STKaiti"; */
  2078. }
  2079. .cardinstalltitle {
  2080. width: 100%;
  2081. height: 40px;
  2082. text-align: center;
  2083. user-select: text;
  2084. -webkit-user-select: text;
  2085. -moz-user-select: text;
  2086. -ms-user-select: text;
  2087. font-size: 14px;
  2088. color: silver;
  2089. line-height: 40px;
  2090. float: left;
  2091. }
  2092. .cardinstallnumber {
  2093. /* font-weight: bold; */
  2094. width: 100%;
  2095. height: 40px;
  2096. text-align: center;
  2097. user-select: text;
  2098. -webkit-user-select: text;
  2099. -moz-user-select: text;
  2100. -ms-user-select: text;
  2101. color: silver;
  2102. font-size: 16px;
  2103. /* color: #449618; */
  2104. line-height: 40px;
  2105. }
  2106. .cardinstallgreenEquipment {
  2107. margin-right: 11px;
  2108. margin-top: 10px;
  2109. width: 30%;
  2110. height: 78px;
  2111. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2112. border-radius: 5px;
  2113. float: right;
  2114. /* font-family: "STKaiti"; */
  2115. }
  2116. .cardinstallgreen {
  2117. margin-left: 9px;
  2118. width: 30%;
  2119. height: 78px;
  2120. background: -webkit-linear-gradient(top, rgba(133, 145, 132, 0.1) 0%, rgba(66, 130, 61, 0.2) 100%);
  2121. border-radius: 5px;
  2122. float: left;
  2123. }
  2124. .cardinstallblue {
  2125. margin-top: 9px;
  2126. margin-left: 9px;
  2127. width: 30%;
  2128. height: 78px;
  2129. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(10, 82, 156, 0.2) 100%);
  2130. border-radius: 5px;
  2131. float: left;
  2132. }
  2133. .cardinstallblueright {
  2134. margin-right: 11px;
  2135. margin-top: 10px;
  2136. width: 30%;
  2137. height: 78px;
  2138. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(10, 82, 156, 0.2) 100%);
  2139. border-radius: 5px;
  2140. float: right;
  2141. }
  2142. .cardinstalltitlegreen {
  2143. width: 100%;
  2144. height: 25px;
  2145. text-align: center;
  2146. /* margin-left: 37px; */
  2147. user-select: text;
  2148. -webkit-user-select: text;
  2149. -moz-user-select: text;
  2150. -ms-user-select: text;
  2151. font-size: 14px;
  2152. color: silver;
  2153. line-height: 25px;
  2154. /* float: left; */
  2155. }
  2156. .cardinstallnumbergreen {
  2157. width: 100%;
  2158. height: 25px;
  2159. text-align: center;
  2160. user-select: text;
  2161. -webkit-user-select: text;
  2162. -moz-user-select: text;
  2163. -ms-user-select: text;
  2164. font-size: 20px;
  2165. color: white;
  2166. /* color: #449618; */
  2167. line-height: 25px;
  2168. float: left;
  2169. }
  2170. .cardinstallnumbergreenmin {
  2171. margin-left: 2px;
  2172. width: 55%;
  2173. height: 20px;
  2174. user-select: text;
  2175. -webkit-user-select: text;
  2176. -moz-user-select: text;
  2177. -ms-user-select: text;
  2178. font-size: 12px;
  2179. color: silver;
  2180. /* color: #449618; */
  2181. float: left;
  2182. }
  2183. .cardinstallnumbergreenmax {
  2184. /* font-weight: bold; */
  2185. margin-right: 2px;
  2186. width: 40%;
  2187. height: 20px;
  2188. user-select: text;
  2189. -webkit-user-select: text;
  2190. -moz-user-select: text;
  2191. -ms-user-select: text;
  2192. font-size: 12px;
  2193. color: silver;
  2194. /* color: #449618; */
  2195. float: right;
  2196. }
  2197. .greenMinText {
  2198. line-height: 20px;
  2199. float: left;
  2200. margin-left: 40px;
  2201. }
  2202. .greenMaxText {
  2203. line-height: 20px;
  2204. float: left;
  2205. }
  2206. .cardinstallnumberred {
  2207. width: 100%;
  2208. height: 25px;
  2209. text-align: center;
  2210. user-select: text;
  2211. -webkit-user-select: text;
  2212. -moz-user-select: text;
  2213. -ms-user-select: text;
  2214. font-size: 20px;
  2215. color: white;
  2216. /* color: #E93131; */
  2217. line-height: 25px;
  2218. float: left;
  2219. }
  2220. .cardinstallnumberredmin {
  2221. margin-left: 2px;
  2222. width: 45%;
  2223. height: 20px;
  2224. user-select: text;
  2225. -webkit-user-select: text;
  2226. -moz-user-select: text;
  2227. -ms-user-select: text;
  2228. font-size: 12px;
  2229. color: silver;
  2230. /* color: #E93131; */
  2231. float: left;
  2232. }
  2233. .cardinstallnumberredmax {
  2234. margin-right: 2px;
  2235. width: 45%;
  2236. height: 20px;
  2237. user-select: text;
  2238. -webkit-user-select: text;
  2239. -moz-user-select: text;
  2240. -ms-user-select: text;
  2241. font-size: 12px;
  2242. color: silver;
  2243. /* color: #E93131; */
  2244. float: right;
  2245. }
  2246. .redMinText {
  2247. line-height: 20px;
  2248. float: right;
  2249. }
  2250. .redMaxText {
  2251. line-height: 20px;
  2252. float: left;
  2253. }
  2254. .electricityCard {
  2255. width: 100%;
  2256. height: 100px;
  2257. background-color: #242424;
  2258. /* height: 185px; */
  2259. float: left;
  2260. margin-top: 20rpx;
  2261. }
  2262. .speedPower {
  2263. width: 100%;
  2264. height: 180px;
  2265. background-color: #242424;
  2266. float: left;
  2267. margin-top: 20rpx;
  2268. }
  2269. .cardinstallgreenSpeed {
  2270. margin-top: 9px;
  2271. margin-left: 9px;
  2272. width: 46%;
  2273. height: 78px;
  2274. background: -webkit-linear-gradient(top, rgba(133, 145, 132, 0.1) 0%, rgba(66, 130, 61, 0.2) 100%);
  2275. border-radius: 5px;
  2276. float: left;
  2277. }
  2278. .cardinstallredSpeed {
  2279. margin-top: 8px;
  2280. margin-left: 2.5%;
  2281. width: 46%;
  2282. height: 78px;
  2283. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2284. border-radius: 5px;
  2285. float: left;
  2286. }
  2287. .cardinstalltitleRed {
  2288. width: 100%;
  2289. height: 25px;
  2290. text-align: center;
  2291. /* margin-left: 45px; */
  2292. user-select: text;
  2293. -webkit-user-select: text;
  2294. -moz-user-select: text;
  2295. -ms-user-select: text;
  2296. font-size: 14px;
  2297. color: silver;
  2298. line-height: 25px;
  2299. /* float: left; */
  2300. }
  2301. .textWhitekuangSpeed {
  2302. color: silver;
  2303. float: right;
  2304. margin-right: 70px;
  2305. }
  2306. .textWhitekuang {
  2307. color: silver;
  2308. float: right;
  2309. margin-right: 85px;
  2310. }
  2311. .textWhite {
  2312. color: white;
  2313. float: right;
  2314. font-size: 10px;
  2315. margin-right: 3.5%;
  2316. transform: scale(0.975);
  2317. /* text-align: right; */
  2318. }
  2319. .textWhite2 {
  2320. color: white;
  2321. float: right;
  2322. margin-right: 15%;
  2323. transform: scale(0.975);
  2324. }
  2325. .textWhite3 {
  2326. color: white;
  2327. float: right;
  2328. margin-right: 3.5%;
  2329. transform: scale(0.975);
  2330. }
  2331. .textSilver {
  2332. user-select: text;
  2333. -webkit-user-select: text;
  2334. -moz-user-select: text;
  2335. -ms-user-select: text;
  2336. color: silver;
  2337. float: left;
  2338. }
  2339. .InformationCard {
  2340. margin-top: 0px;
  2341. width: 100%;
  2342. height: 70px;
  2343. background-color: #242424;
  2344. float: left;
  2345. }
  2346. .informationCardAll {
  2347. width: 95%;
  2348. margin-left: 2.5%;
  2349. margin-top: 10px;
  2350. height: 60px;
  2351. float: left;
  2352. }
  2353. .informationCardTextOne {
  2354. width: 100%;
  2355. height: 35px;
  2356. float: left;
  2357. margin-top: -10px;
  2358. }
  2359. .informationCardTextNo1 {
  2360. /* margin-left: 2%; */
  2361. width: 115px;
  2362. height: 35px;
  2363. font-size: 10px;
  2364. line-height: 35px;
  2365. font-size: 10px;
  2366. transform: scale(0.975);
  2367. float: left;
  2368. }
  2369. .informationCardText {
  2370. /* margin-left: 2%; */
  2371. width: 115px;
  2372. height: 35px;
  2373. line-height: 35px;
  2374. user-select: text;
  2375. -webkit-user-select: text;
  2376. -moz-user-select: text;
  2377. -ms-user-select: text;
  2378. color: silver;
  2379. font-size: 10px;
  2380. transform: scale(0.975);
  2381. float: left;
  2382. }
  2383. .informationCardTextzj {
  2384. /* margin-left: 43%; */
  2385. width: 115px;
  2386. height: 35px;
  2387. line-height: 35px;
  2388. user-select: text;
  2389. -webkit-user-select: text;
  2390. -moz-user-select: text;
  2391. -ms-user-select: text;
  2392. color: silver;
  2393. font-size: 10px;
  2394. transform: scale(0.975);
  2395. float: right;
  2396. }
  2397. .informationCardTextTwo {
  2398. width: 100%;
  2399. height: 35px;
  2400. float: left;
  2401. user-select: text;
  2402. -webkit-user-select: text;
  2403. -moz-user-select: text;
  2404. -ms-user-select: text;
  2405. color: silver;
  2406. }
  2407. .informationCardText2 {
  2408. /* margin-left: 6%; */
  2409. margin-left: calc(50% - 190px);
  2410. width: 115px;
  2411. height: 35px;
  2412. font-size: 10px;
  2413. line-height: 35px;
  2414. transform: scale(0.975);
  2415. float: left;
  2416. }
  2417. .informationCardText3 {
  2418. /* margin-left: 6%; */
  2419. margin-left: calc(50% - 170px);
  2420. width: 130px;
  2421. height: 35px;
  2422. font-size: 10px;
  2423. line-height: 35px;
  2424. transform: scale(0.975);
  2425. float: left;
  2426. }
  2427. .AccessCardNumber {
  2428. width: 30%;
  2429. height: 35px;
  2430. float: left;
  2431. line-height: 35px;
  2432. text-align: center;
  2433. font-size: 12px;
  2434. user-select: text;
  2435. -webkit-user-select: text;
  2436. -moz-user-select: text;
  2437. -ms-user-select: text;
  2438. color: silver;
  2439. }
  2440. .AccessCardText {
  2441. width: 30%;
  2442. height: 35px;
  2443. float: left;
  2444. line-height: 35px;
  2445. text-align: center;
  2446. font-size: 12px;
  2447. user-select: text;
  2448. -webkit-user-select: text;
  2449. -moz-user-select: text;
  2450. -ms-user-select: text;
  2451. color: silver;
  2452. }
  2453. .AccessCardimage {
  2454. margin-left: 5px;
  2455. width: 30%;
  2456. height: 35px;
  2457. float: left;
  2458. }
  2459. .interfaceCard {
  2460. margin-top: 10px;
  2461. width: 100%;
  2462. height: 85px;
  2463. background-color: #242424;
  2464. float: left;
  2465. }
  2466. .interfaceCardSmallTop {
  2467. margin-top: 5px;
  2468. width: 100%;
  2469. height: 35px;
  2470. float: left;
  2471. }
  2472. .interfaceCardSmall {
  2473. margin-left: 8px;
  2474. width: 30%;
  2475. height: 35px;
  2476. float: left;
  2477. }
  2478. .progressBarLeftText {
  2479. user-select: text;
  2480. -webkit-user-select: text;
  2481. -moz-user-select: text;
  2482. -ms-user-select: text;
  2483. color: silver;
  2484. font-size: 12px;
  2485. float: left;
  2486. margin-left: 5px;
  2487. }
  2488. .progressBarRightText {
  2489. user-select: text;
  2490. -webkit-user-select: text;
  2491. -moz-user-select: text;
  2492. -ms-user-select: text;
  2493. color: silver;
  2494. font-size: 12px;
  2495. float: right;
  2496. margin-right: 5px;
  2497. }
  2498. .progressBar {
  2499. margin-top: 10px;
  2500. width: 100%;
  2501. height: 115px;
  2502. background-color: #242424;
  2503. float: left;
  2504. }
  2505. .progressBarAll {
  2506. margin-left: 9px;
  2507. width: calc(100% - 5%);
  2508. height: 60px;
  2509. float: left;
  2510. }
  2511. .progressBarText {
  2512. text-align: center;
  2513. width: 50%;
  2514. height: 30px;
  2515. line-height: 30px;
  2516. user-select: text;
  2517. -webkit-user-select: text;
  2518. -moz-user-select: text;
  2519. -ms-user-select: text;
  2520. color: silver;
  2521. font-size: 12px;
  2522. float: left;
  2523. }
  2524. .progressBarOne {
  2525. width: 100%;
  2526. height: 30px;
  2527. float: left;
  2528. }
  2529. .progressBarLeft {
  2530. width: 25%;
  2531. height: 30px;
  2532. line-height: 30px;
  2533. user-select: text;
  2534. -webkit-user-select: text;
  2535. -moz-user-select: text;
  2536. -ms-user-select: text;
  2537. color: silver;
  2538. font-size: 12px;
  2539. float: left;
  2540. }
  2541. .progressBarRight {
  2542. width: 25%;
  2543. height: 30px;
  2544. user-select: text;
  2545. -webkit-user-select: text;
  2546. -moz-user-select: text;
  2547. -ms-user-select: text;
  2548. color: silver;
  2549. font-size: 12px;
  2550. line-height: 30px;
  2551. float: right;
  2552. }
  2553. /* 风电场卡片css */
  2554. .windStation {
  2555. clear: both;
  2556. width: calc(100% - 18px);
  2557. margin-left: 9px;
  2558. height: 320px;
  2559. color: silver;
  2560. margin-bottom: 135px;
  2561. /* background-color: #242424; */
  2562. }
  2563. .scrollWindStationCard {
  2564. white-space: nowrap;
  2565. }
  2566. .windStationCardContainer {
  2567. /* width: 1295px; */
  2568. height: 350px;
  2569. margin-top: 10px;
  2570. }
  2571. .windStationCard {
  2572. width: 250px;
  2573. height: 100%;
  2574. margin-right: 9px;
  2575. float: left;
  2576. background-color: #242424;
  2577. }
  2578. .windStationTitle {
  2579. width: 90%;
  2580. height: 30px;
  2581. line-height: 30px;
  2582. font-size: 12px;
  2583. margin-left: 5px;
  2584. }
  2585. .powerAndSpeedContainer {
  2586. width: 100%;
  2587. height: 90px;
  2588. }
  2589. .powerAndSpeedRed {
  2590. margin-top: 8px;
  2591. margin-left: 2%;
  2592. margin-right: 2%;
  2593. width: 46%;
  2594. height: 37px;
  2595. line-height: 37px;
  2596. text-align: left;
  2597. font-size: 12px;
  2598. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2599. border-radius: 5px;
  2600. float: left;
  2601. }
  2602. .powerAndSpeedRedText {
  2603. margin-left: 2%;
  2604. float: left;
  2605. }
  2606. .powerAndSpeedRed span {
  2607. color: white;
  2608. }
  2609. .HQChart {
  2610. width: 100%;
  2611. height: 100px;
  2612. margin-top: 8px;
  2613. }
  2614. .UChartContainer {
  2615. width: 250px;
  2616. height: 150px;
  2617. margin-top: 8px;
  2618. }
  2619. .windStationUChart {
  2620. width: 250px;
  2621. height: 150px;
  2622. position: absolute;
  2623. }
  2624. .windStationQiun-charts {
  2625. width: 250px;
  2626. height: 150px;
  2627. background-color: #242424;
  2628. }
  2629. .windStationCharts {
  2630. width: 250px;
  2631. height: 150px;
  2632. background-color: #242424;
  2633. }
  2634. .UChartTitle {
  2635. position: relative;
  2636. top: -2px;
  2637. left: 2px;
  2638. font-size: 12px;
  2639. width: 100px;
  2640. }
  2641. .xTime {
  2642. position: relative;
  2643. top: 90px;
  2644. left: 222px;
  2645. font-size: 8px;
  2646. width: 30px;
  2647. }
  2648. .fanStatusContainer {
  2649. width: 100%;
  2650. height: 70px;
  2651. }
  2652. .fanStatus {
  2653. width: 32%;
  2654. height: 30px;
  2655. margin-top: 5px;
  2656. margin-right: 0.5%;
  2657. margin-left: 0.5%;
  2658. float: left;
  2659. }
  2660. .statusIcon {
  2661. width: 22px;
  2662. height: 30px;
  2663. margin-left: 3px;
  2664. float: left;
  2665. }
  2666. .fanStatus {
  2667. height: 30px;
  2668. line-height: 30px;
  2669. font-size: 12px;
  2670. }
  2671. .AffectedPowerText {
  2672. width: 55px;
  2673. height: 25px;
  2674. float: left;
  2675. margin-left: 2px;
  2676. line-height: 25px;
  2677. }
  2678. .AffectedPower {
  2679. width: 24.5%;
  2680. height: 25px;
  2681. float: left;
  2682. }
  2683. .performancePowerText {
  2684. width: 55px;
  2685. height: 25px;
  2686. float: left;
  2687. margin-left: 2px;
  2688. line-height: 25px;
  2689. }
  2690. .performancePower {
  2691. width: 24.5%;
  2692. height: 25px;
  2693. float: left;
  2694. }
  2695. .limitedPowerText {
  2696. width: 55px;
  2697. height: 25px;
  2698. float: left;
  2699. margin-left: 2px;
  2700. line-height: 25px;
  2701. }
  2702. .limitedPower {
  2703. margin-left: 1.2%;
  2704. width: 24.5%;
  2705. height: 25px;
  2706. float: left;
  2707. }
  2708. .maintenancePowerText {
  2709. width: 55px;
  2710. height: 25px;
  2711. float: left;
  2712. margin-left: 2px;
  2713. line-height: 25px;
  2714. }
  2715. .maintenancePower {
  2716. margin-left: 2px;
  2717. width: 24.5%;
  2718. height: 25px;
  2719. float: left;
  2720. }
  2721. .faultPowerText {
  2722. width: 55px;
  2723. height: 25px;
  2724. float: left;
  2725. margin-left: 2px;
  2726. line-height: 25px;
  2727. }
  2728. .faultPower {
  2729. width: 24.5%;
  2730. height: 25px;
  2731. float: left;
  2732. }
  2733. .powerGenerationText {
  2734. width: 55px;
  2735. height: 25px;
  2736. float: left;
  2737. margin-left: 2px;
  2738. line-height: 25px;
  2739. }
  2740. .powerGeneration {
  2741. width: 24.5%;
  2742. height: 25px;
  2743. float: left;
  2744. }
  2745. .directGenerationText {
  2746. width: 55px;
  2747. height: 25px;
  2748. float: left;
  2749. margin-left: 2px;
  2750. line-height: 25px;
  2751. }
  2752. .directGeneration {
  2753. width: 24.5%;
  2754. height: 25px;
  2755. float: left;
  2756. margin-left: 1.3%;
  2757. }
  2758. .choice {
  2759. width: 100%;
  2760. height: 80px;
  2761. float: left;
  2762. user-select: text;
  2763. -webkit-user-select: text;
  2764. -moz-user-select: text;
  2765. -ms-user-select: text;
  2766. color: silver;
  2767. font-size: 12px;
  2768. }
  2769. .speedPowerDiagram {
  2770. width: 100px;
  2771. height: 30px;
  2772. user-select: text;
  2773. -webkit-user-select: text;
  2774. -moz-user-select: text;
  2775. -ms-user-select: text;
  2776. color: silver;
  2777. float: left;
  2778. margin-top: 18px;
  2779. margin-left: 9px;
  2780. font-size: 11px;
  2781. }
  2782. .qiun-chart {
  2783. margin-top: 50px;
  2784. width: 750upx;
  2785. height: 400upx;
  2786. }
  2787. .chart {
  2788. width: 750upx;
  2789. height: 400upx;
  2790. }
  2791. .DrawerPage {
  2792. position: fixed;
  2793. width: 100vw;
  2794. height: 100vh;
  2795. left: 0vw;
  2796. background-color: #1f1f1f;
  2797. transition: all 0.4s;
  2798. }
  2799. .DrawerPage.show {
  2800. transform: scale(0.9, 0.9);
  2801. left: 85vw;
  2802. box-shadow: 0 0 60upx rgba(0, 0, 0, 0.2);
  2803. transform-origin: 0;
  2804. }
  2805. .DrawerWindow {
  2806. position: absolute;
  2807. width: 85vw;
  2808. height: 100vh;
  2809. left: 0;
  2810. top: 0;
  2811. transform: scale(0.9, 0.9) translateX(-100%);
  2812. opacity: 0;
  2813. pointer-events: none;
  2814. transition: all 0.4s;
  2815. padding: 100upx 0;
  2816. }
  2817. .DrawerWindow.show {
  2818. transform: scale(1, 1) translateX(0%);
  2819. opacity: 1;
  2820. pointer-events: all;
  2821. }
  2822. .DrawerClose {
  2823. position: absolute;
  2824. width: 40vw;
  2825. height: 100vh;
  2826. right: 0;
  2827. top: 0;
  2828. color: transparent;
  2829. padding-bottom: 30upx;
  2830. display: flex;
  2831. align-items: flex-end;
  2832. justify-content: center;
  2833. background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.6));
  2834. letter-spacing: 5px;
  2835. font-size: 50upx;
  2836. opacity: 0;
  2837. pointer-events: none;
  2838. transition: all 0.4s;
  2839. }
  2840. .DrawerClose.show {
  2841. opacity: 1;
  2842. pointer-events: all;
  2843. width: 15vw;
  2844. color: #fff;
  2845. }
  2846. .DrawerPage .cu-bar.tabbar .action button.cuIcon {
  2847. width: 64upx;
  2848. height: 64upx;
  2849. line-height: 64upx;
  2850. margin: 0;
  2851. display: inline-block;
  2852. }
  2853. .DrawerPage .cu-bar.tabbar .action .cu-avatar {
  2854. margin: 0;
  2855. }
  2856. .DrawerPage .nav {
  2857. flex: 1;
  2858. }
  2859. .active {
  2860. opacity: 1;
  2861. }
  2862. /* li div {
  2863. margin-top: -30px;
  2864. } */
  2865. /* .image-enter-active {
  2866. transition: all 0.5s ease;
  2867. }
  2868. .image-leave-active {
  2869. transition: all 0.5s ease;
  2870. } */
  2871. /* .image-enter-to {
  2872. transform: translateY(0);
  2873. }
  2874. .image-enter {
  2875. transform: translateY(0%);
  2876. } */
  2877. /* .image-leave {
  2878. transform: translateY(0);
  2879. }
  2880. .image-leave-to {
  2881. transform: translateY(100%);
  2882. } */
  2883. .app {
  2884. width: 70%;
  2885. height: 30px;
  2886. float: left;
  2887. }
  2888. .DrawerPage .nav .cu-item.cur {
  2889. border-bottom: 0;
  2890. position: relative;
  2891. }
  2892. .DrawerPage .nav .cu-item.cur::after {
  2893. content: '';
  2894. width: 10upx;
  2895. height: 10upx;
  2896. background-color: currentColor;
  2897. position: absolute;
  2898. bottom: 10upx;
  2899. border-radius: 10upx;
  2900. left: 0;
  2901. right: 0;
  2902. margin: auto;
  2903. }
  2904. .DrawerPage .cu-bar.tabbar .action {
  2905. flex: initial;
  2906. }
  2907. </style>