Index.vue 55 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216
  1. <template>
  2. <view class="content">
  3. <view class="top">
  4. <view class="threeLine" @tap="openDrawer">
  5. <image src="../../static/picture/fourLine.png" style="width: 30px;height: 30px;margin-top: 8px;margin-left: 10px;"></image>
  6. </view>
  7. <view class="text">
  8. <view class="notice">
  9. <view class="icon cuIcon-notice text-white" v-if="badge != 0">
  10. <view class="cu-tag looknumber">
  11. <block v-if="badge != 1">{{ badge > 99 ? '99+' : badge }}</block>
  12. </view>
  13. </view>
  14. </view>
  15. 宁夏新能源公司
  16. </view>
  17. <view class="plus">+</view>
  18. </view>
  19. <!-- 抽屉组件 -->
  20. <div><drawer ref="drawer"></drawer></div>
  21. <!--时间组件-->
  22. <view class="time">
  23. <view class="timeimageshizhong"><image src="../../static/picture/dafeng.png" style="width: 20px;height: 20px;margin-left: 10px;"></image></view>
  24. <view class="timeText">推荐时间:2020年4月15日ㅤ19:31</view>
  25. <view class="timeIcon"><image src="../../static/picture/qingwhite.png" style="width: 25px;height: 25px;margin-left: 54px;"></image></view>
  26. </view>
  27. <!--电量卡片-->
  28. <view class="InformationCard">
  29. <view class="informationCardAll">
  30. <view class="informationCardTextOne">
  31. <view class="informationCardText">
  32. <view class="textSilver">安全天数</view>
  33. <view class="textWhite">(天)</view>
  34. :15
  35. </view>
  36. <view class="informationCardTextzj">
  37. <view class="textSilver">装机容量</view>
  38. <view class="textWhite">(MV)</view>
  39. :15
  40. </view>
  41. </view>
  42. <view class="informationCardTextTwo">
  43. <view class="informationCardText2">
  44. <view class="textSilver">日发电量</view>
  45. <view class="textWhite">(kwh)</view>
  46. :150
  47. </view>
  48. <view class="informationCardText2">
  49. <view class="textSilver">预测发电量</view>
  50. <view class="textWhite">(kwh)</view>
  51. :15
  52. </view>
  53. <view class="informationCardText2">
  54. <view class="textSilver">上网电量</view>
  55. <view class="textWhite">(kwh)</view>
  56. :15
  57. </view>
  58. </view>
  59. </view>
  60. </view>
  61. <!--风速卡片-->
  62. <view class="speedPower">
  63. <view class="cardinstallredSpeed">
  64. <view class="cardinstalltitlegreen">
  65. 平均风速
  66. <view class="textWhitekuangSpeed">(km/h)</view>
  67. </view>
  68. <view class="cardinstallnumbergreen">5</view>
  69. <view class="cardinstallnumbergreenmin"><view class="greenMinText">min: 5</view></view>
  70. <view class="cardinstallnumbergreenmax"><view class="greenMaxText">max: 25</view></view>
  71. </view>
  72. <view class="cardinstallredSpeed">
  73. <view class="cardinstalltitlegreen">
  74. 预测风速
  75. <view class="textWhitekuangSpeed">(km/h)</view>
  76. </view>
  77. <view class="cardinstallnumbergreen">48</view>
  78. <view class="cardinstallnumbergreenmin"><view class="greenMinText">min: 4</view></view>
  79. <view class="cardinstallnumbergreenmax"><view class="greenMaxText">max: 26</view></view>
  80. </view>
  81. <view class="cardinstallredSpeed">
  82. <view class="cardinstalltitleRed">
  83. 实际功率
  84. <view class="textWhitekuang">(kw)</view>
  85. </view>
  86. <view class="cardinstallnumberred">15</view>
  87. <view class="cardinstallnumberredmin"><view class="redMinText">min: 566</view></view>
  88. <view class="cardinstallnumberredmax"><view class="redMaxText">max: 656</view></view>
  89. </view>
  90. <view class="cardinstallredSpeed">
  91. <view class="cardinstalltitleRed">
  92. 理论功率
  93. <view class="textWhitekuang">(kw)</view>
  94. </view>
  95. <view class="cardinstallnumberred">14</view>
  96. <view class="cardinstallnumberredmin"><view class="redMinText">min: 589</view></view>
  97. <view class="cardinstallnumberredmax"><view class="redMaxText">max: 674</view></view>
  98. </view>
  99. </view>
  100. <!--接入卡片-->
  101. <view class="interfaceCard">
  102. <view class="interfaceCardSmallTop">
  103. <view class="interfaceCardSmall">
  104. <view class="AccessCardimage"><image src="../../static/picture/001.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image></view>
  105. <view class="AccessCardText">接入</view>
  106. <view class="AccessCardNumber">59</view>
  107. </view>
  108. <view class="interfaceCardSmall">
  109. <view class="AccessCardimage"><image src="../../static/picture/002.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image></view>
  110. <view class="AccessCardText">运行</view>
  111. <view class="AccessCardNumber">29</view>
  112. </view>
  113. <view class="interfaceCardSmall">
  114. <view class="AccessCardimage"><image src="../../static/picture/003.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image></view>
  115. <view class="AccessCardText">故障</view>
  116. <view class="AccessCardNumber">18</view>
  117. </view>
  118. </view>
  119. <view class="interfaceCardSmallTop">
  120. <view class="interfaceCardSmall">
  121. <view class="AccessCardimage"><image src="../../static/picture/004.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image></view>
  122. <view class="AccessCardText">待机</view>
  123. <view class="AccessCardNumber">10</view>
  124. </view>
  125. <view class="interfaceCardSmall">
  126. <view class="AccessCardimage"><image src="../../static/picture/005.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image></view>
  127. <view class="AccessCardText">维护</view>
  128. <view class="AccessCardNumber">8</view>
  129. </view>
  130. <view class="interfaceCardSmall">
  131. <view class="AccessCardimage"><image src="../../static/picture/006.png" style="width: 18px;height:19px;margin-top: 9px;margin-left: 7px;"></image></view>
  132. <view class="AccessCardText">离线</view>
  133. <view class="AccessCardNumber">8</view>
  134. </view>
  135. </view>
  136. </view>
  137. <!--进度条-->
  138. <view class="progressBar">
  139. <view class="progressBarAll">
  140. <view class="progressBarOne">
  141. <view class="progressBarLeft"><view class="progressBarLeftText">35kwh</view></view>
  142. <view class="progressBarText">月计划发电量进度条</view>
  143. <view class="progressBarRight"><view class="progressBarRightText">100kwh</view></view>
  144. </view>
  145. <view class="cu-progress round radius striped active">
  146. <view class="bg-olive" :style="[{ width: loading ? '61.8%' : '' }]"></view>
  147. <view class="bg-angrey" :style="[{ width: loading ? '38.2%' : '' }]"></view>
  148. </view>
  149. </view>
  150. <view class="progressBarAll">
  151. <view class="progressBarOne">
  152. <view class="progressBarLeft"><view class="progressBarLeftText">135kwh</view></view>
  153. <view class="progressBarText">年计划发电量进度条</view>
  154. <view class="progressBarRight"><view class="progressBarRightText">200kwh</view></view>
  155. </view>
  156. <view class="cu-progress round radius striped active">
  157. <view class="bg-olive" :style="[{ width: loading ? '70%' : '' }]"></view>
  158. <view class="bg-angrey" :style="[{ width: loading ? '30%' : '' }]"></view>
  159. </view>
  160. </view>
  161. </view>
  162. <scroll-view scroll-x class="horizontalSlider">
  163. <view class="slide">
  164. <view class="monthlyUtilizationHours">月利用小时(h):13</view>
  165. <view class="yearlyUtilizationHours">年利用小时(h):13</view>
  166. <view class="comprehensiveServicePowerConsumptionRate">综合厂用电率(%):20</view>
  167. <view class="equipmentAvailability">设备可利用率(%):90</view>
  168. <view class="sulfurDioxideEmissionReduction">减排二氧化硫(吨):21</view>
  169. <view class="carbonDioxideReduction">减排二氧化碳(吨):5</view>
  170. <view class="waterSaving">节约用水(吨):15</view>
  171. <view class="saveStandardCoal">节约标煤(吨):35</view>
  172. <view class="mttr">mttr(h):22</view>
  173. <view class="mtbf">mtbf(h):24</view>
  174. </view>
  175. </scroll-view>
  176. <!--折线图-->
  177. <view class="lineChart">
  178. <view class="qiun-charts">
  179. <view class="speedPowerDiagram">风速功率曲线图</view>
  180. <canvas canvas-id="canvasLineA" id="canvasLineA" class="charts" @touchstart="touchLineA"></canvas>
  181. </view>
  182. </view>
  183. <!-- 柱状图 -->
  184. <view class="Histogram">
  185. <view class="qiun-charts"><canvas canvas-id="canvasColumnStack" id="canvasColumnStack" class="charts" @touchstart="touchColumn"></canvas></view>
  186. </view>
  187. <!-- 风电场卡片 -->
  188. <view class="windStation">
  189. <scroll-view scroll-x class="scrollWindStationCard">
  190. <view class="windStationCardContainer">
  191. <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '麻黄山')">
  192. <view class="windStationTitle">麻黄山风电场</view>
  193. <view class="powerAndSpeedContainer">
  194. <view class="powerAndSpeedRed">
  195. 预测电量
  196. <span>(kwh)</span>
  197. :15
  198. </view>
  199. <view class="powerAndSpeedRed">
  200. 日发电量
  201. <span>(kwh)</span>
  202. :15
  203. </view>
  204. <view class="powerAndSpeedRed">
  205. 实时风速
  206. <span>(km/h)</span>
  207. :15
  208. </view>
  209. <view class="powerAndSpeedRed">
  210. 实际功率
  211. <span>(km/h)</span>
  212. :15
  213. </view>
  214. </view>
  215. <!-- HQChart图 -->
  216. <!-- <view class="HQChart">
  217. <div class="divchart" ref="divchart"><div id="minute" style="width: 250px; height: 100px;" ref="minute"></div></div>
  218. </view> -->
  219. <view class="UChartContainer">
  220. <view class="windStationUChart">
  221. <view class="windStationQiun-charts"><canvas canvas-id="windStationCanvasLineA" id="windStationCanvasLineA" class="windStationCharts"></canvas></view>
  222. </view>
  223. <view class="UChartTitle">风速功率曲线图</view>
  224. <!-- <view class="xTime">时间</view> -->
  225. </view>
  226. <view class="fanStatusContainer">
  227. <view class="fanStatus">
  228. <view class="statusIcon"><image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  229. <span>接入&nbsp;&nbsp;99</span>
  230. </view>
  231. <view class="fanStatus">
  232. <view class="statusIcon"><image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  233. <span>运行&nbsp;&nbsp;99</span>
  234. </view>
  235. <view class="fanStatus">
  236. <view class="statusIcon"><image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  237. <span>故障&nbsp;&nbsp;99</span>
  238. </view>
  239. <view class="fanStatus">
  240. <view class="statusIcon"><image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  241. <span>待机&nbsp;&nbsp;99</span>
  242. </view>
  243. <view class="fanStatus">
  244. <view class="statusIcon"><image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  245. <span>维护&nbsp;&nbsp;99</span>
  246. </view>
  247. <view class="fanStatus">
  248. <view class="statusIcon"><image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  249. <span>离线&nbsp;&nbsp;99</span>
  250. </view>
  251. </view>
  252. </view>
  253. <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '牛首山')">
  254. <view class="windStationTitle">牛首山风电场</view>
  255. <view class="powerAndSpeedContainer">
  256. <view class="powerAndSpeedRed">
  257. 预测电量
  258. <span>(kwh)</span>
  259. :15
  260. </view>
  261. <view class="powerAndSpeedRed">
  262. 日发电量
  263. <span>(kwh)</span>
  264. :15
  265. </view>
  266. <view class="powerAndSpeedRed">
  267. 实时风速
  268. <span>(km/h)</span>
  269. :15
  270. </view>
  271. <view class="powerAndSpeedRed">
  272. 实际功率
  273. <span>(km/h)</span>
  274. :15
  275. </view>
  276. </view>
  277. <!-- HQChart图 -->
  278. <!-- <view class="HQChart">
  279. <div class="divchart" ref="divchart"><div id="minute" style="width: 250px; height: 100px;" ref="minute"></div></div>
  280. </view> -->
  281. <view class="UChartContainer">
  282. <view class="windStationUChart">
  283. <view class="windStationQiun-charts"><canvas canvas-id="windStationCanvasLineB" id="windStationCanvasLineB" class="windStationCharts"></canvas></view>
  284. </view>
  285. <view class="UChartTitle">风速功率曲线图</view>
  286. <!-- <view class="xTime">时间</view> -->
  287. </view>
  288. <view class="fanStatusContainer">
  289. <view class="fanStatus">
  290. <view class="statusIcon"><image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  291. <span>接入&nbsp;&nbsp;99</span>
  292. </view>
  293. <view class="fanStatus">
  294. <view class="statusIcon"><image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  295. <span>运行&nbsp;&nbsp;99</span>
  296. </view>
  297. <view class="fanStatus">
  298. <view class="statusIcon"><image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  299. <span>故障&nbsp;&nbsp;99</span>
  300. </view>
  301. <view class="fanStatus">
  302. <view class="statusIcon"><image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  303. <span>待机&nbsp;&nbsp;99</span>
  304. </view>
  305. <view class="fanStatus">
  306. <view class="statusIcon"><image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  307. <span>维护&nbsp;&nbsp;99</span>
  308. </view>
  309. <view class="fanStatus">
  310. <view class="statusIcon"><image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  311. <span>离线&nbsp;&nbsp;99</span>
  312. </view>
  313. </view>
  314. </view>
  315. <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '石板泉')">
  316. <view class="windStationTitle">石板泉风电场</view>
  317. <view class="powerAndSpeedContainer">
  318. <view class="powerAndSpeedRed">
  319. 预测电量
  320. <span>(kwh)</span>
  321. :15
  322. </view>
  323. <view class="powerAndSpeedRed">
  324. 日发电量
  325. <span>(kwh)</span>
  326. :15
  327. </view>
  328. <view class="powerAndSpeedRed">
  329. 实时风速
  330. <span>(km/h)</span>
  331. :15
  332. </view>
  333. <view class="powerAndSpeedRed">
  334. 实际功率
  335. <span>(km/h)</span>
  336. :15
  337. </view>
  338. </view>
  339. <!-- HQChart图 -->
  340. <!-- <view class="HQChart">
  341. <div class="divchart" ref="divchart"><div id="minute" style="width: 250px; height: 100px;" ref="minute"></div></div>
  342. </view> -->
  343. <view class="UChartContainer">
  344. <view class="windStationUChart">
  345. <view class="windStationQiun-charts"><canvas canvas-id="windStationCanvasLineC" id="windStationCanvasLineC" class="windStationCharts"></canvas></view>
  346. </view>
  347. <view class="UChartTitle">风速功率曲线图</view>
  348. <!-- <view class="xTime">时间</view> -->
  349. </view>
  350. <view class="fanStatusContainer">
  351. <view class="fanStatus">
  352. <view class="statusIcon"><image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  353. <span>接入&nbsp;&nbsp;99</span>
  354. </view>
  355. <view class="fanStatus">
  356. <view class="statusIcon"><image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  357. <span>运行&nbsp;&nbsp;99</span>
  358. </view>
  359. <view class="fanStatus">
  360. <view class="statusIcon"><image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  361. <span>故障&nbsp;&nbsp;99</span>
  362. </view>
  363. <view class="fanStatus">
  364. <view class="statusIcon"><image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  365. <span>待机&nbsp;&nbsp;99</span>
  366. </view>
  367. <view class="fanStatus">
  368. <view class="statusIcon"><image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  369. <span>维护&nbsp;&nbsp;99</span>
  370. </view>
  371. <view class="fanStatus">
  372. <view class="statusIcon"><image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  373. <span>离线&nbsp;&nbsp;99</span>
  374. </view>
  375. </view>
  376. </view>
  377. <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '青山')">
  378. <view class="windStationTitle">青山风电场</view>
  379. <view class="powerAndSpeedContainer">
  380. <view class="powerAndSpeedRed">
  381. 预测电量
  382. <span>(kwh)</span>
  383. :15
  384. </view>
  385. <view class="powerAndSpeedRed">
  386. 日发电量
  387. <span>(kwh)</span>
  388. :15
  389. </view>
  390. <view class="powerAndSpeedRed">
  391. 实时风速
  392. <span>(km/h)</span>
  393. :15
  394. </view>
  395. <view class="powerAndSpeedRed">
  396. 实际功率
  397. <span>(km/h)</span>
  398. :15
  399. </view>
  400. </view>
  401. <!-- HQChart图 -->
  402. <!-- <view class="HQChart">
  403. <div class="divchart" ref="divchart"><div id="minute" style="width: 250px; height: 100px;" ref="minute"></div></div>
  404. </view> -->
  405. <view class="UChartContainer">
  406. <view class="windStationUChart">
  407. <view class="windStationQiun-charts"><canvas canvas-id="windStationCanvasLineD" id="windStationCanvasLineD" class="windStationCharts"></canvas></view>
  408. </view>
  409. <view class="UChartTitle">风速功率曲线图</view>
  410. <!-- <view class="xTime">时间</view> -->
  411. </view>
  412. <view class="fanStatusContainer">
  413. <view class="fanStatus">
  414. <view class="statusIcon"><image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  415. <span>接入&nbsp;&nbsp;99</span>
  416. </view>
  417. <view class="fanStatus">
  418. <view class="statusIcon"><image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  419. <span>运行&nbsp;&nbsp;99</span>
  420. </view>
  421. <view class="fanStatus">
  422. <view class="statusIcon"><image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  423. <span>故障&nbsp;&nbsp;99</span>
  424. </view>
  425. <view class="fanStatus">
  426. <view class="statusIcon"><image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  427. <span>待机&nbsp;&nbsp;99</span>
  428. </view>
  429. <view class="fanStatus">
  430. <view class="statusIcon"><image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  431. <span>维护&nbsp;&nbsp;99</span>
  432. </view>
  433. <view class="fanStatus">
  434. <view class="statusIcon"><image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  435. <span>离线&nbsp;&nbsp;99</span>
  436. </view>
  437. </view>
  438. </view>
  439. <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '香山')">
  440. <view class="windStationTitle">香山风电场</view>
  441. <view class="powerAndSpeedContainer">
  442. <view class="powerAndSpeedRed">
  443. 预测电量
  444. <span>(kwh)</span>
  445. :15
  446. </view>
  447. <view class="powerAndSpeedRed">
  448. 日发电量
  449. <span>(kwh)</span>
  450. :15
  451. </view>
  452. <view class="powerAndSpeedRed">
  453. 实时风速
  454. <span>(km/h)</span>
  455. :15
  456. </view>
  457. <view class="powerAndSpeedRed">
  458. 实际功率
  459. <span>(km/h)</span>
  460. :15
  461. </view>
  462. </view>
  463. <!-- HQChart图 -->
  464. <!-- <view class="HQChart">
  465. <div class="divchart" ref="divchart"><div id="minute" style="width: 250px; height: 100px;" ref="minute"></div></div>
  466. </view> -->
  467. <view class="UChartContainer">
  468. <view class="windStationUChart">
  469. <view class="windStationQiun-charts"><canvas canvas-id="windStationCanvasLineE" id="windStationCanvasLineE" class="windStationCharts"></canvas></view>
  470. </view>
  471. <view class="UChartTitle">风速功率曲线图</view>
  472. <!-- <view class="xTime">时间</view> -->
  473. </view>
  474. <view class="fanStatusContainer">
  475. <view class="fanStatus">
  476. <view class="statusIcon"><image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  477. <span>接入&nbsp;&nbsp;99</span>
  478. </view>
  479. <view class="fanStatus">
  480. <view class="statusIcon"><image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  481. <span>运行&nbsp;&nbsp;99</span>
  482. </view>
  483. <view class="fanStatus">
  484. <view class="statusIcon"><image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  485. <span>故障&nbsp;&nbsp;99</span>
  486. </view>
  487. <view class="fanStatus">
  488. <view class="statusIcon"><image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  489. <span>待机&nbsp;&nbsp;99</span>
  490. </view>
  491. <view class="fanStatus">
  492. <view class="statusIcon"><image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  493. <span>维护&nbsp;&nbsp;99</span>
  494. </view>
  495. <view class="fanStatus">
  496. <view class="statusIcon"><image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image></view>
  497. <span>离线&nbsp;&nbsp;99</span>
  498. </view>
  499. </view>
  500. </view>
  501. </view>
  502. </scroll-view>
  503. </view>
  504. </view>
  505. </template>
  506. <script>
  507. import drawer from '../../components/drawer/threeLineDrawer.vue';
  508. import uCharts from '../../components/tools/u-charts/u-charts.js';
  509. var _self;
  510. var canvaLineA = null;
  511. var canvaColumn = null;
  512. var canvaLineB = null;
  513. export default {
  514. components: {
  515. drawer: drawer
  516. },
  517. data: function() {
  518. return {
  519. badge: 22,
  520. drawerList: [
  521. {"name":"首页"},
  522. {"name":"状态监视"},
  523. {"name":"矩阵监视"},
  524. {"name":"风场监视"},
  525. {"name":"人员监视"} ,
  526. ],
  527. inconList: ['form', 'favor', 'question', 'edit'],
  528. minaverageSpeed: '12',
  529. maxaverageSpeed: '25',
  530. loading: false,
  531. cWidth: '',
  532. cHeight: '',
  533. pixelRatio: 1,
  534. serverData: '',
  535. windStationCardCWidth: '',
  536. windStationCardCHeight: '',
  537. windStationCardPixelRatio: 1
  538. };
  539. },
  540. onLoad: function() {
  541. let that = this;
  542. setTimeout(function() {
  543. that.loading = true;
  544. }, 500);
  545. _self = this;
  546. this.cWidth = uni.upx2px(750);
  547. this.cHeight = uni.upx2px(400);
  548. this.getServerData();
  549. this.getColumnData();
  550. this.windStationCardCWidth = 250;
  551. this.windStationCardCHeight = 150;
  552. this.getWindStationCardData();
  553. },
  554. onHide() {
  555. this.$refs.drawer.closeDrawer();
  556. },
  557. methods: {
  558. openDrawer: function() {
  559. this.$refs.drawer.openDrawer(250, this.drawerList, this.inconList);
  560. },
  561. closeDrawer: function() {
  562. this.drawerIsShow = false;
  563. },
  564. getServerData() {
  565. // 折线图
  566. let LineA = {
  567. categories: [
  568. ' 17:26',
  569. '18:56',
  570. '19:56',
  571. '20:56',
  572. '21:56',
  573. '22:56',
  574. '23:56',
  575. '00:56',
  576. '01:56',
  577. '02:56',
  578. '03:56',
  579. '04:56',
  580. '05:56',
  581. '06:56',
  582. '07:56',
  583. '08:56',
  584. '09:56',
  585. '10:56',
  586. '11:56',
  587. '12:56',
  588. '13:56',
  589. '14:56',
  590. '15:56',
  591. '16:56',
  592. '17:56 '
  593. ],
  594. series: [
  595. {
  596. name: '功率',
  597. data: [11, 12, 14, 12, 13, 12, 16, 14, 11, 13, 10, 14, 11, 13, 11, 12, 11, 12.1, 12.2, 11.5, 11.7, 11.3, 12.7, 13, 12.8],
  598. color: '#4BB94B',
  599. textColor: '#FFFFFF',
  600. textSize: this.seriesTextSize,
  601. format: val => {
  602. return val + 'kwh';
  603. },
  604. index: 0,
  605. legendShape: 'circle'
  606. },
  607. {
  608. name: '风速',
  609. data: [21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22.1, 22.2, 21.5, 21.7, 21.3, 22.7, 23, 22.8],
  610. color: '#E82E2F',
  611. textColor: '#FFFFFF',
  612. textSize: this.seriesTextSize,
  613. format: val => {
  614. return val + 'km/h';
  615. },
  616. index: 1,
  617. legendShape: 'circle'
  618. },
  619. {
  620. name: '理论功率',
  621. data: [31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32.1, 32.2, 31.5, 31.7, 31.3, 32.7, 33, 32.8],
  622. color: '#F5A83C',
  623. textColor: '#FFFFFF',
  624. textSize: this.seriesTextSize,
  625. format: val => {
  626. return val + 'kwh';
  627. },
  628. index: 0,
  629. legendShape: 'circle'
  630. },
  631. {
  632. name: '预测功率',
  633. data: [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2.1, 2.2, 1.5, 1.7, 1.3, 2.7, 3, 2.8],
  634. color: '#4A80B1',
  635. textColor: '#FFFFFF',
  636. textSize: this.seriesTextSize,
  637. format: val => {
  638. return val + 'kwh';
  639. },
  640. index: 1,
  641. legendShape: 'circle'
  642. }
  643. ]
  644. };
  645. this.showLineA('canvasLineA', LineA);
  646. },
  647. showLineA(canvasId, chartData) {
  648. var _self = this;
  649. canvaLineA = new uCharts({
  650. $this: _self,
  651. canvasId: canvasId,
  652. type: 'line',
  653. fontSize: 11,
  654. legend: {
  655. show: true,
  656. position: 'top',
  657. float: 'right',
  658. fontColor: 'silver',
  659. itemGap: '4',
  660. itemWidth: '3'
  661. },
  662. dataLabel: false,
  663. dataPointShape: false,
  664. background: '#FFFFFF',
  665. pixelRatio: _self.pixelRatio,
  666. categories: chartData.categories,
  667. series: chartData.series,
  668. animation: true,
  669. xAxis: {
  670. type: 'grid',
  671. gridColor: 'silver',
  672. fontColor: 'silver',
  673. gridType: 'solid',
  674. gridColor: '#2E2E2E',
  675. axisLineColor: '#2E2E2E',
  676. labelCount: '3'
  677. // itemCount:"3"
  678. },
  679. yAxis: {
  680. data: [
  681. {
  682. type: 'value',
  683. fontColor: 'silver',
  684. disabled: false, //y轴轴线
  685. min: 0,
  686. max: 40,
  687. position: 'left',
  688. axisLineColor: '#2E2E2E',
  689. title: ' 风速:(km/h)',
  690. titleFontColor: 'silver'
  691. },
  692. {
  693. fontColor: 'silver',
  694. disabled: false, //y轴轴线
  695. min: 0,
  696. max: 40,
  697. position: 'right',
  698. axisLineColor: '#2E2E2E',
  699. title: '功率:(kwh)',
  700. titleFontColor: 'silver'
  701. }
  702. ],
  703. gridColor: '#2E2E2E',
  704. splitNumber: 4,
  705. gridType: 'solid',
  706. dashLength: 8,
  707. showTitle: 'true',
  708. format: val => {
  709. return val.toFixed(0) + '元';
  710. }
  711. },
  712. width: _self.cWidth * _self.pixelRatio,
  713. height: _self.cHeight * _self.pixelRatio,
  714. extra: {
  715. line: {
  716. type: 'line',
  717. width: '1'
  718. }
  719. }
  720. });
  721. },
  722. getColumnData() {
  723. let ColumnStack = {
  724. categories: ['04/12', '04/13', '04/14', '04/15', '04/16', '04/17', '04/18', '04/19', '04/20'],
  725. series: [
  726. {
  727. name: '类别一',
  728. data: [18, 13, 12, 17, 13, 7, 11, 15, 13]
  729. },
  730. {
  731. name: '类别二',
  732. data: [17, 15, 17, 21, 6, 8, 10, 17, 11]
  733. },
  734. {
  735. name: '类别三',
  736. data: [14, 17, 19, 20, 6, 4, 12, 4, 5]
  737. },
  738. {
  739. name: '类别三',
  740. data: [14, 17, 19, 20, 6, 4, 12, 4, 5]
  741. },
  742. {
  743. name: '类别三',
  744. data: [14, 17, 19, 20, 6, 4, 12, 4, 5]
  745. }
  746. ]
  747. };
  748. this.showColumnStack('canvasColumnStack', ColumnStack);
  749. },
  750. showColumnStack(canvasId, chartData) {
  751. canvaColumn = new uCharts({
  752. $this: _self,
  753. canvasId: canvasId,
  754. type: 'column',
  755. legend: {
  756. show: false
  757. },
  758. fontSize: 11,
  759. background: '#FFFFFF',
  760. pixelRatio: _self.pixelRatio,
  761. animation: true,
  762. categories: chartData.categories,
  763. series: chartData.series,
  764. xAxis: {
  765. disableGrid: true
  766. },
  767. yAxis: {
  768. data: [
  769. {
  770. type: 'value',
  771. fontColor: 'silver',
  772. disabled: false, //y轴轴线
  773. min: 0,
  774. max: 60,
  775. position: 'left',
  776. axisLineColor: '#2E2E2E',
  777. title: ' 风速:(km/h)',
  778. titleFontColor: 'silver'
  779. }
  780. ],
  781. gridColor: '#2E2E2E',
  782. splitNumber: 4,
  783. gridType: 'solid',
  784. dashLength: 8,
  785. showTitle: 'true'
  786. //disabled:true
  787. },
  788. dataLabel: true,
  789. width: _self.cWidth * _self.pixelRatio,
  790. height: _self.cHeight * _self.pixelRatio,
  791. extra: {
  792. column: {
  793. type: 'stack',
  794. width: (_self.cWidth * _self.pixelRatio * 0.5) / chartData.categories.length
  795. }
  796. }
  797. });
  798. },
  799. touchColumn(e) {
  800. canvaColumn.showToolTip(e, {
  801. format: function(item, category) {
  802. return category + ' ' + item.name + ':' + item.data;
  803. }
  804. });
  805. },
  806. touchLineA(e) {
  807. canvaLineA.showToolTip(e, {
  808. format: function(item, category) {
  809. return category + ' ' + item.name + ':' + item.data;
  810. }
  811. });
  812. },
  813. moveLineA(e) {
  814. canvaLineA.scroll(e);
  815. },
  816. getWindStationCardData: function() {
  817. let LineA1 = {
  818. categories: [
  819. ' 17:26',
  820. '18:56',
  821. '19:56',
  822. '20:56',
  823. '21:56',
  824. '22:56',
  825. '23:56',
  826. '00:56',
  827. '01:56',
  828. '02:56',
  829. '03:56',
  830. '04:56',
  831. '05:56',
  832. '06:56',
  833. '07:56',
  834. '08:56',
  835. '09:56',
  836. '10:56',
  837. '11:56',
  838. '12:56',
  839. '13:56',
  840. '14:56',
  841. '15:56',
  842. '16:56',
  843. '17:56 '
  844. ],
  845. series: [
  846. {
  847. name: '功率',
  848. data: [11, 12, 14, 12, 13, 12, 16, 14, 11, 13, 10, 14, 11, 13, 11, 12, 11, 12.1, 12.2, 11.5, 11.7, 11.3, 12.7, 13, 12.8],
  849. color: '#4BB94B',
  850. textColor: '#FFFFFF',
  851. textSize: this.seriesTextSize,
  852. format: val => {
  853. return val + 'kwh';
  854. },
  855. index: 0,
  856. legendShape: 'circle'
  857. },
  858. {
  859. name: '风速',
  860. data: [21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22.1, 22.2, 21.5, 21.7, 21.3, 22.7, 23, 22.8],
  861. color: '#E82E2F',
  862. textColor: '#FFFFFF',
  863. textSize: this.seriesTextSize,
  864. format: val => {
  865. return val + 'km/h';
  866. },
  867. index: 1,
  868. legendShape: 'circle'
  869. },
  870. {
  871. name: '理论功率',
  872. data: [31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32.1, 32.2, 31.5, 31.7, 31.3, 32.7, 33, 32.8],
  873. color: '#F5A83C',
  874. textColor: '#FFFFFF',
  875. textSize: this.seriesTextSize,
  876. format: val => {
  877. return val + 'kwh';
  878. },
  879. index: 0,
  880. legendShape: 'circle'
  881. },
  882. {
  883. name: '预测功率',
  884. data: [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2.1, 2.2, 1.5, 1.7, 1.3, 2.7, 3, 2.8],
  885. color: '#4A80B1',
  886. textColor: '#FFFFFF',
  887. textSize: this.seriesTextSize,
  888. format: val => {
  889. return val + 'kwh';
  890. },
  891. index: 1,
  892. legendShape: 'circle'
  893. }
  894. ]
  895. };
  896. let LineB = {
  897. categories: [
  898. ' 17:26',
  899. '18:56',
  900. '19:56',
  901. '20:56',
  902. '21:56',
  903. '22:56',
  904. '23:56',
  905. '00:56',
  906. '01:56',
  907. '02:56',
  908. '03:56',
  909. '04:56',
  910. '05:56',
  911. '06:56',
  912. '07:56',
  913. '08:56',
  914. '09:56',
  915. '10:56',
  916. '11:56',
  917. '12:56',
  918. '13:56',
  919. '14:56',
  920. '15:56',
  921. '16:56',
  922. '17:56 '
  923. ],
  924. series: [
  925. {
  926. name: '功率',
  927. data: [11, 12, 14, 12, 13, 12, 16, 14, 11, 13, 10, 14, 11, 13, 11, 12, 11, 12.1, 12.2, 11.5, 11.7, 11.3, 12.7, 13, 12.8],
  928. color: '#4BB94B',
  929. textColor: '#FFFFFF',
  930. textSize: this.seriesTextSize,
  931. format: val => {
  932. return val + 'kwh';
  933. },
  934. index: 0,
  935. legendShape: 'circle'
  936. },
  937. {
  938. name: '风速',
  939. data: [21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22.1, 22.2, 21.5, 21.7, 21.3, 22.7, 23, 22.8],
  940. color: '#E82E2F',
  941. textColor: '#FFFFFF',
  942. textSize: this.seriesTextSize,
  943. format: val => {
  944. return val + 'km/h';
  945. },
  946. index: 1,
  947. legendShape: 'circle'
  948. },
  949. {
  950. name: '理论功率',
  951. data: [31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32.1, 32.2, 31.5, 31.7, 31.3, 32.7, 33, 32.8],
  952. color: '#F5A83C',
  953. textColor: '#FFFFFF',
  954. textSize: this.seriesTextSize,
  955. format: val => {
  956. return val + 'kwh';
  957. },
  958. index: 0,
  959. legendShape: 'circle'
  960. },
  961. {
  962. name: '预测功率',
  963. data: [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2.1, 2.2, 1.5, 1.7, 1.3, 2.7, 3, 2.8],
  964. color: '#4A80B1',
  965. textColor: '#FFFFFF',
  966. textSize: this.seriesTextSize,
  967. format: val => {
  968. return val + 'kwh';
  969. },
  970. index: 1,
  971. legendShape: 'circle'
  972. }
  973. ]
  974. };
  975. let LineC = {
  976. categories: [
  977. ' 17:26',
  978. '18:56',
  979. '19:56',
  980. '20:56',
  981. '21:56',
  982. '22:56',
  983. '23:56',
  984. '00:56',
  985. '01:56',
  986. '02:56',
  987. '03:56',
  988. '04:56',
  989. '05:56',
  990. '06:56',
  991. '07:56',
  992. '08:56',
  993. '09:56',
  994. '10:56',
  995. '11:56',
  996. '12:56',
  997. '13:56',
  998. '14:56',
  999. '15:56',
  1000. '16:56',
  1001. '17:56 '
  1002. ],
  1003. series: [
  1004. {
  1005. name: '功率',
  1006. data: [11, 12, 14, 12, 13, 12, 16, 14, 11, 13, 10, 14, 11, 13, 11, 12, 11, 12.1, 12.2, 11.5, 11.7, 11.3, 12.7, 13, 12.8],
  1007. color: '#4BB94B',
  1008. textColor: '#FFFFFF',
  1009. textSize: this.seriesTextSize,
  1010. format: val => {
  1011. return val + 'kwh';
  1012. },
  1013. index: 0,
  1014. legendShape: 'circle'
  1015. },
  1016. {
  1017. name: '风速',
  1018. data: [21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22.1, 22.2, 21.5, 21.7, 21.3, 22.7, 23, 22.8],
  1019. color: '#E82E2F',
  1020. textColor: '#FFFFFF',
  1021. textSize: this.seriesTextSize,
  1022. format: val => {
  1023. return val + 'km/h';
  1024. },
  1025. index: 1,
  1026. legendShape: 'circle'
  1027. },
  1028. {
  1029. name: '理论功率',
  1030. data: [31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32.1, 32.2, 31.5, 31.7, 31.3, 32.7, 33, 32.8],
  1031. color: '#F5A83C',
  1032. textColor: '#FFFFFF',
  1033. textSize: this.seriesTextSize,
  1034. format: val => {
  1035. return val + 'kwh';
  1036. },
  1037. index: 0,
  1038. legendShape: 'circle'
  1039. },
  1040. {
  1041. name: '预测功率',
  1042. data: [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2.1, 2.2, 1.5, 1.7, 1.3, 2.7, 3, 2.8],
  1043. color: '#4A80B1',
  1044. textColor: '#FFFFFF',
  1045. textSize: this.seriesTextSize,
  1046. format: val => {
  1047. return val + 'kwh';
  1048. },
  1049. index: 1,
  1050. legendShape: 'circle'
  1051. }
  1052. ]
  1053. };
  1054. let LineD = {
  1055. categories: [
  1056. ' 17:26',
  1057. '18:56',
  1058. '19:56',
  1059. '20:56',
  1060. '21:56',
  1061. '22:56',
  1062. '23:56',
  1063. '00:56',
  1064. '01:56',
  1065. '02:56',
  1066. '03:56',
  1067. '04:56',
  1068. '05:56',
  1069. '06:56',
  1070. '07:56',
  1071. '08:56',
  1072. '09:56',
  1073. '10:56',
  1074. '11:56',
  1075. '12:56',
  1076. '13:56',
  1077. '14:56',
  1078. '15:56',
  1079. '16:56',
  1080. '17:56 '
  1081. ],
  1082. series: [
  1083. {
  1084. name: '功率',
  1085. data: [11, 12, 14, 12, 13, 12, 16, 14, 11, 13, 10, 14, 11, 13, 11, 12, 11, 12.1, 12.2, 11.5, 11.7, 11.3, 12.7, 13, 12.8],
  1086. color: '#4BB94B',
  1087. textColor: '#FFFFFF',
  1088. textSize: this.seriesTextSize,
  1089. format: val => {
  1090. return val + 'kwh';
  1091. },
  1092. index: 0,
  1093. legendShape: 'circle'
  1094. },
  1095. {
  1096. name: '风速',
  1097. data: [21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22.1, 22.2, 21.5, 21.7, 21.3, 22.7, 23, 22.8],
  1098. color: '#E82E2F',
  1099. textColor: '#FFFFFF',
  1100. textSize: this.seriesTextSize,
  1101. format: val => {
  1102. return val + 'km/h';
  1103. },
  1104. index: 1,
  1105. legendShape: 'circle'
  1106. },
  1107. {
  1108. name: '理论功率',
  1109. data: [31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32.1, 32.2, 31.5, 31.7, 31.3, 32.7, 33, 32.8],
  1110. color: '#F5A83C',
  1111. textColor: '#FFFFFF',
  1112. textSize: this.seriesTextSize,
  1113. format: val => {
  1114. return val + 'kwh';
  1115. },
  1116. index: 0,
  1117. legendShape: 'circle'
  1118. },
  1119. {
  1120. name: '预测功率',
  1121. data: [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2.1, 2.2, 1.5, 1.7, 1.3, 2.7, 3, 2.8],
  1122. color: '#4A80B1',
  1123. textColor: '#FFFFFF',
  1124. textSize: this.seriesTextSize,
  1125. format: val => {
  1126. return val + 'kwh';
  1127. },
  1128. index: 1,
  1129. legendShape: 'circle'
  1130. }
  1131. ]
  1132. };
  1133. let LineE = {
  1134. categories: [
  1135. ' 17:26',
  1136. '18:56',
  1137. '19:56',
  1138. '20:56',
  1139. '21:56',
  1140. '22:56',
  1141. '23:56',
  1142. '00:56',
  1143. '01:56',
  1144. '02:56',
  1145. '03:56',
  1146. '04:56',
  1147. '05:56',
  1148. '06:56',
  1149. '07:56',
  1150. '08:56',
  1151. '09:56',
  1152. '10:56',
  1153. '11:56',
  1154. '12:56',
  1155. '13:56',
  1156. '14:56',
  1157. '15:56',
  1158. '16:56',
  1159. '17:56 '
  1160. ],
  1161. series: [
  1162. {
  1163. name: '功率',
  1164. data: [11, 12, 14, 12, 13, 12, 16, 14, 11, 13, 10, 14, 11, 13, 11, 12, 11, 12.1, 12.2, 11.5, 11.7, 11.3, 12.7, 13, 12.8],
  1165. color: '#4BB94B',
  1166. textColor: '#FFFFFF',
  1167. textSize: this.seriesTextSize,
  1168. format: val => {
  1169. return val + 'kwh';
  1170. },
  1171. index: 0,
  1172. legendShape: 'circle'
  1173. },
  1174. {
  1175. name: '风速',
  1176. data: [21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22.1, 22.2, 21.5, 21.7, 21.3, 22.7, 23, 22.8],
  1177. color: '#E82E2F',
  1178. textColor: '#FFFFFF',
  1179. textSize: this.seriesTextSize,
  1180. format: val => {
  1181. return val + 'km/h';
  1182. },
  1183. index: 1,
  1184. legendShape: 'circle'
  1185. },
  1186. {
  1187. name: '理论功率',
  1188. data: [31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32.1, 32.2, 31.5, 31.7, 31.3, 32.7, 33, 32.8],
  1189. color: '#F5A83C',
  1190. textColor: '#FFFFFF',
  1191. textSize: this.seriesTextSize,
  1192. format: val => {
  1193. return val + 'kwh';
  1194. },
  1195. index: 0,
  1196. legendShape: 'circle'
  1197. },
  1198. {
  1199. name: '预测功率',
  1200. data: [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2.1, 2.2, 1.5, 1.7, 1.3, 2.7, 3, 2.8],
  1201. color: '#4A80B1',
  1202. textColor: '#FFFFFF',
  1203. textSize: this.seriesTextSize,
  1204. format: val => {
  1205. return val + 'kwh';
  1206. },
  1207. index: 1,
  1208. legendShape: 'circle'
  1209. }
  1210. ]
  1211. };
  1212. this.showWindStationCardLineA('windStationCanvasLineA', LineA1);
  1213. this.showWindStationCardLineA('windStationCanvasLineB', LineB);
  1214. this.showWindStationCardLineA('windStationCanvasLineC', LineC);
  1215. this.showWindStationCardLineA('windStationCanvasLineD', LineD);
  1216. this.showWindStationCardLineA('windStationCanvasLineE', LineE);
  1217. },
  1218. showWindStationCardLineA(canvasId, chartData) {
  1219. var _self = this;
  1220. canvaLineB = new uCharts({
  1221. $this: _self,
  1222. canvasId: canvasId,
  1223. type: 'line',
  1224. fontSize: 11,
  1225. legend: {
  1226. show: true,
  1227. position: 'top',
  1228. float: 'right',
  1229. fontColor: 'silver',
  1230. itemGap: '4',
  1231. itemWidth: '3'
  1232. },
  1233. dataLabel: false,
  1234. dataPointShape: false,
  1235. background: '#FFFFFF',
  1236. pixelRatio: _self.windStationCardPixelRatio,
  1237. categories: chartData.categories,
  1238. series: chartData.series,
  1239. animation: true,
  1240. xAxis: {
  1241. type: 'grid',
  1242. gridColor: 'silver',
  1243. fontColor: 'silver',
  1244. gridType: 'solid',
  1245. gridColor: '#2E2E2E',
  1246. axisLineColor: '#2E2E2E',
  1247. labelCount: '3'
  1248. // itemCount:"3"
  1249. },
  1250. yAxis: {
  1251. data: [
  1252. {
  1253. type: 'value',
  1254. fontColor: 'silver',
  1255. disabled: false, //y轴轴线
  1256. min: 0,
  1257. max: 40,
  1258. position: 'left',
  1259. axisLineColor: '#2E2E2E',
  1260. title: ' 风速:(km/h)',
  1261. titleFontColor: 'silver'
  1262. },
  1263. {
  1264. fontColor: 'silver',
  1265. disabled: false, //y轴轴线
  1266. min: 0,
  1267. max: 40,
  1268. position: 'right',
  1269. axisLineColor: '#2E2E2E',
  1270. title: '功率:(kwh)',
  1271. titleFontColor: 'silver'
  1272. }
  1273. ],
  1274. gridColor: '#2E2E2E',
  1275. splitNumber: 4,
  1276. gridType: 'solid',
  1277. dashLength: 8,
  1278. showTitle: 'true',
  1279. format: val => {
  1280. return val.toFixed(0) + '元';
  1281. }
  1282. },
  1283. width: _self.windStationCardCWidth * _self.windStationCardPixelRatio,
  1284. height: _self.windStationCardCHeight * _self.windStationCardPixelRatio,
  1285. extra: {
  1286. line: {
  1287. type: 'line',
  1288. width: '1'
  1289. }
  1290. }
  1291. });
  1292. },
  1293. }
  1294. };
  1295. </script>
  1296. <style>
  1297. .speedPowerDiagram {
  1298. width: 100px;
  1299. height: 30px;
  1300. user-select: text;
  1301. -webkit-user-select: text;
  1302. -moz-user-select: text;
  1303. -ms-user-select: text;
  1304. color: silver;
  1305. float: left;
  1306. margin-top: 18px;
  1307. margin-left: 9px;
  1308. font-size: 11px;
  1309. }
  1310. .monthlyUtilizationHours {
  1311. width: 160px;
  1312. height: 30px;
  1313. margin-top: 20px;
  1314. /* background-color: #161616; */
  1315. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1316. color: silver;
  1317. margin-left: 20px;
  1318. text-align: center;
  1319. padding-top: 5px;
  1320. }
  1321. .yearlyUtilizationHours {
  1322. width: 160px;
  1323. height: 30px;
  1324. margin-top: 10px;
  1325. /* background-color: #161616; */
  1326. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1327. color: silver;
  1328. margin-left: 20px;
  1329. text-align: center;
  1330. padding-top: 5px;
  1331. }
  1332. .comprehensiveServicePowerConsumptionRate {
  1333. width: 160px;
  1334. height: 30px;
  1335. /* margin-top: 10px; */
  1336. /* background-color: #161616; */
  1337. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1338. color: silver;
  1339. margin-left: 200px;
  1340. margin-top: -70px;
  1341. text-align: center;
  1342. padding-top: 5px;
  1343. float: left;
  1344. }
  1345. .equipmentAvailability {
  1346. width: 160px;
  1347. height: 30px;
  1348. /* margin-top: 10px; */
  1349. /* background-color: #161616; */
  1350. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1351. color: silver;
  1352. margin-left: 200px;
  1353. margin-top: -30px;
  1354. text-align: center;
  1355. padding-top: 5px;
  1356. float: left;
  1357. }
  1358. .sulfurDioxideEmissionReduction {
  1359. width: 160px;
  1360. height: 30px;
  1361. /* margin-top: 10px; */
  1362. /* background-color: #161616; */
  1363. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1364. color: silver;
  1365. margin-left: 380px;
  1366. margin-top: -70px;
  1367. text-align: center;
  1368. padding-top: 5px;
  1369. float: left;
  1370. }
  1371. .carbonDioxideReduction {
  1372. width: 160px;
  1373. height: 30px;
  1374. /* margin-top: 10px; */
  1375. /* background-color: #161616; */
  1376. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1377. color: silver;
  1378. margin-left: 380px;
  1379. margin-top: -30px;
  1380. text-align: center;
  1381. padding-top: 5px;
  1382. float: left;
  1383. }
  1384. .waterSaving {
  1385. width: 160px;
  1386. height: 30px;
  1387. /* margin-top: 10px; */
  1388. /* background-color: #161616; */
  1389. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1390. color: silver;
  1391. margin-left: 560px;
  1392. margin-top: -70px;
  1393. text-align: center;
  1394. padding-top: 5px;
  1395. float: left;
  1396. }
  1397. .saveStandardCoal {
  1398. width: 160px;
  1399. height: 30px;
  1400. /* margin-top: 10px; */
  1401. /* background-color: #161616; */
  1402. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1403. color: silver;
  1404. margin-left: 560px;
  1405. margin-top: -30px;
  1406. text-align: center;
  1407. padding-top: 5px;
  1408. float: left;
  1409. }
  1410. .mttr {
  1411. width: 160px;
  1412. height: 30px;
  1413. /* margin-top: 10px; */
  1414. /* background-color: #161616; */
  1415. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1416. color: silver;
  1417. margin-left: 740px;
  1418. margin-top: -70px;
  1419. text-align: center;
  1420. padding-top: 5px;
  1421. float: left;
  1422. }
  1423. .mtbf {
  1424. width: 160px;
  1425. height: 30px;
  1426. /* margin-top: 10px; */
  1427. /* background-color: #161616; */
  1428. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1429. color: silver;
  1430. margin-left: 740px;
  1431. margin-top: -30px;
  1432. text-align: center;
  1433. padding-top: 5px;
  1434. float: left;
  1435. }
  1436. .horizontalSlider {
  1437. white-space: nowrap;
  1438. width: 100%;
  1439. height: 100px;
  1440. background-color: #242424;
  1441. margin-top: 540px;
  1442. }
  1443. .slide {
  1444. width: 920px;
  1445. height: 100px;
  1446. background-color: #242424;
  1447. }
  1448. .qiun-charts {
  1449. width: 750upx;
  1450. height: 500upx;
  1451. }
  1452. .charts {
  1453. width: 750upx;
  1454. height: 500upx;
  1455. }
  1456. .uchartTitle {
  1457. position: absolute;
  1458. left: 9px;
  1459. top: 605px;
  1460. user-select: text;
  1461. -webkit-user-select: text;
  1462. -moz-user-select: text;
  1463. -ms-user-select: text;
  1464. color: silver;
  1465. font-size: 12px;
  1466. }
  1467. .Histogram {
  1468. width: 100%;
  1469. height: 250px;
  1470. background-color: #242424;
  1471. margin-top: 10px;
  1472. float: left;
  1473. }
  1474. .lineChart {
  1475. width: 100%;
  1476. height: 200px;
  1477. background-color: #242424;
  1478. margin-top: 10px;
  1479. float: left;
  1480. }
  1481. body {
  1482. font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', STHeiti, 'Microsoft Yahei', Tahoma, Simsun, sans-serif;
  1483. font-size: 20px;
  1484. color: silver;
  1485. background: #000;
  1486. }
  1487. page {
  1488. background-color: #1f1f1f;
  1489. overflow-x: hidden;
  1490. }
  1491. .top {
  1492. width: 100%;
  1493. height: 95upx;
  1494. padding-top: 5upx;
  1495. background-color: #1f1f1f;
  1496. }
  1497. .threeLine {
  1498. width: 50px;
  1499. height: 45px;
  1500. float: left;
  1501. }
  1502. .text {
  1503. width: calc(100% - 100px);
  1504. height: 45px;
  1505. float: left;
  1506. user-select: text;
  1507. -webkit-user-select: text;
  1508. -moz-user-select: text;
  1509. -ms-user-select: text;
  1510. color: silver;
  1511. line-height: 45px;
  1512. text-align: center;
  1513. font-size: 18px;
  1514. }
  1515. .notice {
  1516. width: 50px;
  1517. height: 45px;
  1518. float: left;
  1519. }
  1520. .plus {
  1521. width: 50px;
  1522. height: 45px;
  1523. float: right;
  1524. color: white;
  1525. font-size: 35px;
  1526. line-height: 45px;
  1527. text-align: center;
  1528. }
  1529. .time {
  1530. background-color: #242424;
  1531. margin-top: 10px;
  1532. width: 100%;
  1533. height: 30px;
  1534. float: left;
  1535. }
  1536. .timeimageshizhong {
  1537. width: 30px;
  1538. height: 20px;
  1539. margin-top: 5px;
  1540. float: left;
  1541. }
  1542. .timeText {
  1543. width: 62%;
  1544. height: 30px;
  1545. float: left;
  1546. line-height: 30px;
  1547. font-size: 15px;
  1548. margin-left: 15px;
  1549. user-select: text;
  1550. -webkit-user-select: text;
  1551. -moz-user-select: text;
  1552. -ms-user-select: text;
  1553. color: silver;
  1554. }
  1555. .timeIcon {
  1556. width: 21%;
  1557. height: 30px;
  1558. float: left;
  1559. margin-left: 5px;
  1560. }
  1561. .timeIconImage {
  1562. width: 100%;
  1563. height: 25px;
  1564. margin-top: 1px;
  1565. }
  1566. .timeIconText {
  1567. width: 100%;
  1568. height: 25px;
  1569. text-align: center;
  1570. font-size: 12px;
  1571. }
  1572. .cardinstallgreenSecurity {
  1573. margin-left: 9px;
  1574. margin-top: 9px;
  1575. margin-bottom: 9px;
  1576. width: 30%;
  1577. height: 78px;
  1578. background: -webkit-linear-gradient(top, rgba(133, 145, 132, 0.1) 0%, rgba(66, 130, 61, 0.2) 100%);
  1579. border-radius: 5px;
  1580. float: left;
  1581. /* font-family: "STKaiti"; */
  1582. }
  1583. .cardinstalltitle {
  1584. width: 100%;
  1585. height: 40px;
  1586. text-align: center;
  1587. user-select: text;
  1588. -webkit-user-select: text;
  1589. -moz-user-select: text;
  1590. -ms-user-select: text;
  1591. font-size: 14px;
  1592. color: silver;
  1593. line-height: 40px;
  1594. float: left;
  1595. }
  1596. .cardinstallnumber {
  1597. /* font-weight: bold; */
  1598. width: 100%;
  1599. height: 40px;
  1600. text-align: center;
  1601. user-select: text;
  1602. -webkit-user-select: text;
  1603. -moz-user-select: text;
  1604. -ms-user-select: text;
  1605. color: silver;
  1606. font-size: 16px;
  1607. /* color: #449618; */
  1608. line-height: 40px;
  1609. }
  1610. .cardinstallgreenEquipment {
  1611. margin-right: 11px;
  1612. margin-top: 10px;
  1613. width: 30%;
  1614. height: 78px;
  1615. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1616. border-radius: 5px;
  1617. float: right;
  1618. /* font-family: "STKaiti"; */
  1619. }
  1620. .cardinstallgreen {
  1621. margin-left: 9px;
  1622. width: 30%;
  1623. height: 78px;
  1624. background: -webkit-linear-gradient(top, rgba(133, 145, 132, 0.1) 0%, rgba(66, 130, 61, 0.2) 100%);
  1625. border-radius: 5px;
  1626. float: left;
  1627. }
  1628. .cardinstallblue {
  1629. margin-top: 9px;
  1630. margin-left: 9px;
  1631. width: 30%;
  1632. height: 78px;
  1633. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(10, 82, 156, 0.2) 100%);
  1634. border-radius: 5px;
  1635. float: left;
  1636. }
  1637. .cardinstallblueright {
  1638. margin-right: 11px;
  1639. margin-top: 10px;
  1640. width: 30%;
  1641. height: 78px;
  1642. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(10, 82, 156, 0.2) 100%);
  1643. border-radius: 5px;
  1644. float: right;
  1645. }
  1646. .cardinstalltitlegreen {
  1647. width: 100%;
  1648. height: 25px;
  1649. margin-left: 37px;
  1650. user-select: text;
  1651. -webkit-user-select: text;
  1652. -moz-user-select: text;
  1653. -ms-user-select: text;
  1654. font-size: 14px;
  1655. color: silver;
  1656. line-height: 25px;
  1657. float: left;
  1658. }
  1659. .cardinstallnumbergreen {
  1660. width: 100%;
  1661. height: 25px;
  1662. text-align: center;
  1663. user-select: text;
  1664. -webkit-user-select: text;
  1665. -moz-user-select: text;
  1666. -ms-user-select: text;
  1667. font-size: 20px;
  1668. color: silver;
  1669. /* color: #449618; */
  1670. line-height: 25px;
  1671. float: left;
  1672. }
  1673. .cardinstallnumbergreenmin {
  1674. margin-left: 2px;
  1675. width: 45%;
  1676. height: 20px;
  1677. user-select: text;
  1678. -webkit-user-select: text;
  1679. -moz-user-select: text;
  1680. -ms-user-select: text;
  1681. font-size: 12px;
  1682. color: silver;
  1683. /* color: #449618; */
  1684. float: left;
  1685. }
  1686. .cardinstallnumbergreenmax {
  1687. /* font-weight: bold; */
  1688. margin-right: 2px;
  1689. width: 45%;
  1690. height: 20px;
  1691. user-select: text;
  1692. -webkit-user-select: text;
  1693. -moz-user-select: text;
  1694. -ms-user-select: text;
  1695. font-size: 12px;
  1696. color: silver;
  1697. /* color: #449618; */
  1698. float: right;
  1699. }
  1700. .greenMinText {
  1701. line-height: 20px;
  1702. float: right;
  1703. }
  1704. .greenMaxText {
  1705. line-height: 20px;
  1706. float: left;
  1707. }
  1708. .cardinstallnumberred {
  1709. width: 100%;
  1710. height: 25px;
  1711. text-align: center;
  1712. user-select: text;
  1713. -webkit-user-select: text;
  1714. -moz-user-select: text;
  1715. -ms-user-select: text;
  1716. font-size: 20px;
  1717. color: silver;
  1718. /* color: #E93131; */
  1719. line-height: 25px;
  1720. float: left;
  1721. }
  1722. .cardinstallnumberredmin {
  1723. margin-left: 2px;
  1724. width: 45%;
  1725. height: 20px;
  1726. user-select: text;
  1727. -webkit-user-select: text;
  1728. -moz-user-select: text;
  1729. -ms-user-select: text;
  1730. font-size: 12px;
  1731. color: silver;
  1732. /* color: #E93131; */
  1733. float: left;
  1734. }
  1735. .cardinstallnumberredmax {
  1736. margin-right: 2px;
  1737. width: 45%;
  1738. height: 20px;
  1739. user-select: text;
  1740. -webkit-user-select: text;
  1741. -moz-user-select: text;
  1742. -ms-user-select: text;
  1743. font-size: 12px;
  1744. color: silver;
  1745. /* color: #E93131; */
  1746. float: right;
  1747. }
  1748. .redMinText {
  1749. line-height: 20px;
  1750. float: right;
  1751. }
  1752. .redMaxText {
  1753. line-height: 20px;
  1754. float: left;
  1755. }
  1756. .electricityCard {
  1757. width: 100%;
  1758. height: 100px;
  1759. background-color: #242424;
  1760. /* height: 185px; */
  1761. float: left;
  1762. margin-top: 20rpx;
  1763. }
  1764. .speedPower {
  1765. width: 100%;
  1766. height: 180px;
  1767. background-color: #242424;
  1768. float: left;
  1769. margin-top: 20rpx;
  1770. }
  1771. .cardinstallgreenSpeed {
  1772. margin-top: 9px;
  1773. margin-left: 9px;
  1774. width: 46%;
  1775. height: 78px;
  1776. background: -webkit-linear-gradient(top, rgba(133, 145, 132, 0.1) 0%, rgba(66, 130, 61, 0.2) 100%);
  1777. border-radius: 5px;
  1778. float: left;
  1779. }
  1780. .cardinstallredSpeed {
  1781. margin-top: 8px;
  1782. margin-left: 9px;
  1783. width: 46%;
  1784. height: 78px;
  1785. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1786. border-radius: 5px;
  1787. float: left;
  1788. }
  1789. .cardinstalltitleRed {
  1790. width: 100%;
  1791. height: 25px;
  1792. margin-left: 45px;
  1793. user-select: text;
  1794. -webkit-user-select: text;
  1795. -moz-user-select: text;
  1796. -ms-user-select: text;
  1797. font-size: 14px;
  1798. color: silver;
  1799. line-height: 25px;
  1800. float: left;
  1801. }
  1802. .textWhitekuangSpeed {
  1803. color: white;
  1804. float: right;
  1805. margin-right: 70px;
  1806. }
  1807. .textWhitekuang {
  1808. color: white;
  1809. float: right;
  1810. margin-right: 85px;
  1811. }
  1812. .textWhite {
  1813. color: white;
  1814. float: left;
  1815. }
  1816. .textSilver {
  1817. user-select: text;
  1818. -webkit-user-select: text;
  1819. -moz-user-select: text;
  1820. -ms-user-select: text;
  1821. color: silver;
  1822. float: left;
  1823. }
  1824. .InformationCard {
  1825. margin-top: 10px;
  1826. width: 100%;
  1827. height: 70px;
  1828. background-color: #242424;
  1829. float: left;
  1830. }
  1831. .informationCardAll {
  1832. width: 100%;
  1833. margin-top: 10px;
  1834. height: 60px;
  1835. float: left;
  1836. }
  1837. .informationCardTextOne {
  1838. width: 100%;
  1839. height: 35px;
  1840. float: left;
  1841. }
  1842. .informationCardText {
  1843. margin-left: 15px;
  1844. width: 110px;
  1845. height: 35px;
  1846. line-height: 35px;
  1847. user-select: text;
  1848. -webkit-user-select: text;
  1849. -moz-user-select: text;
  1850. -ms-user-select: text;
  1851. color: silver;
  1852. font-size: 12px;
  1853. float: left;
  1854. }
  1855. .informationCardTextzj {
  1856. margin-left: 141px;
  1857. width: 100px;
  1858. height: 35px;
  1859. line-height: 35px;
  1860. user-select: text;
  1861. -webkit-user-select: text;
  1862. -moz-user-select: text;
  1863. -ms-user-select: text;
  1864. color: silver;
  1865. font-size: 12px;
  1866. float: left;
  1867. }
  1868. .informationCardTextTwo {
  1869. width: 100%;
  1870. height: 35px;
  1871. float: left;
  1872. user-select: text;
  1873. -webkit-user-select: text;
  1874. -moz-user-select: text;
  1875. -ms-user-select: text;
  1876. color: silver;
  1877. }
  1878. .informationCardText2 {
  1879. margin-left: 15px;
  1880. width: 110px;
  1881. height: 35px;
  1882. font-size: 12px;
  1883. line-height: 35px;
  1884. float: left;
  1885. }
  1886. .AccessCardNumber {
  1887. width: 30%;
  1888. height: 35px;
  1889. float: left;
  1890. line-height: 35px;
  1891. text-align: center;
  1892. font-size: 12px;
  1893. user-select: text;
  1894. -webkit-user-select: text;
  1895. -moz-user-select: text;
  1896. -ms-user-select: text;
  1897. color: silver;
  1898. }
  1899. .AccessCardText {
  1900. width: 30%;
  1901. height: 35px;
  1902. float: left;
  1903. line-height: 35px;
  1904. text-align: center;
  1905. font-size: 12px;
  1906. user-select: text;
  1907. -webkit-user-select: text;
  1908. -moz-user-select: text;
  1909. -ms-user-select: text;
  1910. color: silver;
  1911. }
  1912. .AccessCardimage {
  1913. margin-left: 5px;
  1914. width: 30%;
  1915. height: 35px;
  1916. float: left;
  1917. }
  1918. .interfaceCard {
  1919. margin-top: 10px;
  1920. width: 100%;
  1921. height: 85px;
  1922. background-color: #242424;
  1923. float: left;
  1924. }
  1925. .interfaceCardSmallTop {
  1926. margin-top: 5px;
  1927. width: 100%;
  1928. height: 35px;
  1929. float: left;
  1930. }
  1931. .interfaceCardSmall {
  1932. margin-left: 8px;
  1933. width: 30%;
  1934. height: 35px;
  1935. float: left;
  1936. }
  1937. .progressBarLeftText {
  1938. user-select: text;
  1939. -webkit-user-select: text;
  1940. -moz-user-select: text;
  1941. -ms-user-select: text;
  1942. color: silver;
  1943. font-size: 12px;
  1944. float: left;
  1945. margin-left: 5px;
  1946. }
  1947. .progressBarRightText {
  1948. user-select: text;
  1949. -webkit-user-select: text;
  1950. -moz-user-select: text;
  1951. -ms-user-select: text;
  1952. color: silver;
  1953. font-size: 12px;
  1954. float: right;
  1955. margin-right: 5px;
  1956. }
  1957. .progressBar {
  1958. margin-top: 10px;
  1959. width: 100%;
  1960. height: 115px;
  1961. background-color: #242424;
  1962. float: left;
  1963. }
  1964. .progressBarAll {
  1965. margin-left: 9px;
  1966. width: 355px;
  1967. height: 60px;
  1968. float: left;
  1969. }
  1970. .progressBarText {
  1971. text-align: center;
  1972. width: 50%;
  1973. height: 30px;
  1974. line-height: 30px;
  1975. user-select: text;
  1976. -webkit-user-select: text;
  1977. -moz-user-select: text;
  1978. -ms-user-select: text;
  1979. color: silver;
  1980. font-size: 12px;
  1981. float: left;
  1982. }
  1983. .progressBarOne {
  1984. width: 100%;
  1985. height: 30px;
  1986. float: left;
  1987. }
  1988. .progressBarLeft {
  1989. width: 25%;
  1990. height: 30px;
  1991. line-height: 30px;
  1992. user-select: text;
  1993. -webkit-user-select: text;
  1994. -moz-user-select: text;
  1995. -ms-user-select: text;
  1996. color: silver;
  1997. font-size: 12px;
  1998. float: left;
  1999. }
  2000. .progressBarRight {
  2001. width: 25%;
  2002. height: 30px;
  2003. user-select: text;
  2004. -webkit-user-select: text;
  2005. -moz-user-select: text;
  2006. -ms-user-select: text;
  2007. color: silver;
  2008. font-size: 12px;
  2009. line-height: 30px;
  2010. float: right;
  2011. }
  2012. /* 风电场卡片css */
  2013. .windStation {
  2014. clear: both;
  2015. width: calc(100% - 18px);
  2016. margin-left: 9px;
  2017. height: 300px;
  2018. color: silver;
  2019. /* background-color: #242424; */
  2020. }
  2021. .scrollWindStationCard {
  2022. white-space: nowrap;
  2023. }
  2024. .windStationCardContainer {
  2025. width: 1295px;
  2026. height: 350px;
  2027. }
  2028. .windStationCard {
  2029. width: 250px;
  2030. height: 100%;
  2031. margin-right: 9px;
  2032. float: left;
  2033. background-color: #242424;
  2034. }
  2035. .windStationTitle {
  2036. width: 90%;
  2037. height: 30px;
  2038. line-height: 30px;
  2039. font-size: 12px;
  2040. margin-left: 5px;
  2041. }
  2042. .powerAndSpeedContainer {
  2043. width: 100%;
  2044. height: 90px;
  2045. }
  2046. .powerAndSpeedRed {
  2047. margin-top: 8px;
  2048. margin-left: 2%;
  2049. margin-right: 2%;
  2050. width: 46%;
  2051. height: 37px;
  2052. line-height: 37px;
  2053. text-align: center;
  2054. font-size: 12px;
  2055. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2056. border-radius: 5px;
  2057. float: left;
  2058. }
  2059. .powerAndSpeedRed span {
  2060. color: white;
  2061. }
  2062. .HQChart {
  2063. width: 100%;
  2064. height: 100px;
  2065. margin-top: 8px;
  2066. }
  2067. .UChartContainer{
  2068. width: 250px;
  2069. height: 150px;
  2070. margin-top: 8px;
  2071. }
  2072. .windStationUChart{
  2073. width: 250px;
  2074. height: 150px;
  2075. position: absolute;
  2076. }
  2077. .windStationQiun-charts {
  2078. width: 250px;
  2079. height: 150px;
  2080. background-color: #242424;
  2081. }
  2082. .windStationCharts {
  2083. width: 250px;
  2084. height: 150px;
  2085. background-color: #242424;
  2086. }
  2087. .UChartTitle{
  2088. position: relative;
  2089. top: -2px;
  2090. left:2px;
  2091. font-size: 12px;
  2092. width: 100px;
  2093. }
  2094. .xTime{
  2095. position: relative;
  2096. top: 90px;
  2097. left:222px;
  2098. font-size: 8px;
  2099. width: 30px;
  2100. }
  2101. .fanStatusContainer {
  2102. width: 100%;
  2103. height: 70px;
  2104. }
  2105. .fanStatus {
  2106. width: 32%;
  2107. height: 30px;
  2108. margin-top: 5px;
  2109. margin-right: 0.5%;
  2110. margin-left: 0.5%;
  2111. float: left;
  2112. }
  2113. .statusIcon {
  2114. width: 22px;
  2115. height: 30px;
  2116. margin-left: 3px;
  2117. float: left;
  2118. }
  2119. .fanStatus {
  2120. height: 30px;
  2121. line-height: 30px;
  2122. font-size: 12px;
  2123. }
  2124. </style>