Index.vue 84 KB

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