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