Index.vue 84 KB

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