Index.vue 55 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208
  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. inconList: ['form', 'favor', 'question', 'edit'],
  522. minaverageSpeed: '12',
  523. maxaverageSpeed: '25',
  524. loading: false,
  525. cWidth: '',
  526. cHeight: '',
  527. pixelRatio: 1,
  528. serverData: '',
  529. windStationCardCWidth: '',
  530. windStationCardCHeight: '',
  531. windStationCardPixelRatio: 1
  532. };
  533. },
  534. onLoad: function() {
  535. let that = this;
  536. setTimeout(function() {
  537. that.loading = true;
  538. }, 500);
  539. _self = this;
  540. this.cWidth = uni.upx2px(750);
  541. this.cHeight = uni.upx2px(400);
  542. this.getServerData();
  543. this.getColumnData();
  544. this.windStationCardCWidth = 250;
  545. this.windStationCardCHeight = 150;
  546. this.getWindStationCardData();
  547. },
  548. methods: {
  549. openDrawer: function() {
  550. this.$refs.drawer.openDrawer(250, this.drawerList, this.inconList);
  551. },
  552. closeDrawer: function() {
  553. this.drawerIsShow = false;
  554. },
  555. getServerData() {
  556. // 折线图
  557. let LineA = {
  558. categories: [
  559. ' 17:26',
  560. '18:56',
  561. '19:56',
  562. '20:56',
  563. '21:56',
  564. '22:56',
  565. '23:56',
  566. '00:56',
  567. '01:56',
  568. '02:56',
  569. '03:56',
  570. '04:56',
  571. '05:56',
  572. '06:56',
  573. '07:56',
  574. '08:56',
  575. '09:56',
  576. '10:56',
  577. '11:56',
  578. '12:56',
  579. '13:56',
  580. '14:56',
  581. '15:56',
  582. '16:56',
  583. '17:56 '
  584. ],
  585. series: [
  586. {
  587. name: '功率',
  588. 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],
  589. color: '#4BB94B',
  590. textColor: '#FFFFFF',
  591. textSize: this.seriesTextSize,
  592. format: val => {
  593. return val + 'kwh';
  594. },
  595. index: 0,
  596. legendShape: 'circle'
  597. },
  598. {
  599. name: '风速',
  600. 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],
  601. color: '#E82E2F',
  602. textColor: '#FFFFFF',
  603. textSize: this.seriesTextSize,
  604. format: val => {
  605. return val + 'km/h';
  606. },
  607. index: 1,
  608. legendShape: 'circle'
  609. },
  610. {
  611. name: '理论功率',
  612. 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],
  613. color: '#F5A83C',
  614. textColor: '#FFFFFF',
  615. textSize: this.seriesTextSize,
  616. format: val => {
  617. return val + 'kwh';
  618. },
  619. index: 0,
  620. legendShape: 'circle'
  621. },
  622. {
  623. name: '预测功率',
  624. 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],
  625. color: '#4A80B1',
  626. textColor: '#FFFFFF',
  627. textSize: this.seriesTextSize,
  628. format: val => {
  629. return val + 'kwh';
  630. },
  631. index: 1,
  632. legendShape: 'circle'
  633. }
  634. ]
  635. };
  636. this.showLineA('canvasLineA', LineA);
  637. },
  638. showLineA(canvasId, chartData) {
  639. var _self = this;
  640. canvaLineA = new uCharts({
  641. $this: _self,
  642. canvasId: canvasId,
  643. type: 'line',
  644. fontSize: 11,
  645. legend: {
  646. show: true,
  647. position: 'top',
  648. float: 'right',
  649. fontColor: 'silver',
  650. itemGap: '4',
  651. itemWidth: '3'
  652. },
  653. dataLabel: false,
  654. dataPointShape: false,
  655. background: '#FFFFFF',
  656. pixelRatio: _self.pixelRatio,
  657. categories: chartData.categories,
  658. series: chartData.series,
  659. animation: true,
  660. xAxis: {
  661. type: 'grid',
  662. gridColor: 'silver',
  663. fontColor: 'silver',
  664. gridType: 'solid',
  665. gridColor: '#2E2E2E',
  666. axisLineColor: '#2E2E2E',
  667. labelCount: '3'
  668. // itemCount:"3"
  669. },
  670. yAxis: {
  671. data: [
  672. {
  673. type: 'value',
  674. fontColor: 'silver',
  675. disabled: false, //y轴轴线
  676. min: 0,
  677. max: 40,
  678. position: 'left',
  679. axisLineColor: '#2E2E2E',
  680. title: ' 风速:(km/h)',
  681. titleFontColor: 'silver'
  682. },
  683. {
  684. fontColor: 'silver',
  685. disabled: false, //y轴轴线
  686. min: 0,
  687. max: 40,
  688. position: 'right',
  689. axisLineColor: '#2E2E2E',
  690. title: '功率:(kwh)',
  691. titleFontColor: 'silver'
  692. }
  693. ],
  694. gridColor: '#2E2E2E',
  695. splitNumber: 4,
  696. gridType: 'solid',
  697. dashLength: 8,
  698. showTitle: 'true',
  699. format: val => {
  700. return val.toFixed(0) + '元';
  701. }
  702. },
  703. width: _self.cWidth * _self.pixelRatio,
  704. height: _self.cHeight * _self.pixelRatio,
  705. extra: {
  706. line: {
  707. type: 'line',
  708. width: '1'
  709. }
  710. }
  711. });
  712. },
  713. getColumnData() {
  714. let ColumnStack = {
  715. categories: ['04/12', '04/13', '04/14', '04/15', '04/16', '04/17', '04/18', '04/19', '04/20'],
  716. series: [
  717. {
  718. name: '类别一',
  719. data: [18, 13, 12, 17, 13, 7, 11, 15, 13]
  720. },
  721. {
  722. name: '类别二',
  723. data: [17, 15, 17, 21, 6, 8, 10, 17, 11]
  724. },
  725. {
  726. name: '类别三',
  727. data: [14, 17, 19, 20, 6, 4, 12, 4, 5]
  728. },
  729. {
  730. name: '类别三',
  731. data: [14, 17, 19, 20, 6, 4, 12, 4, 5]
  732. },
  733. {
  734. name: '类别三',
  735. data: [14, 17, 19, 20, 6, 4, 12, 4, 5]
  736. }
  737. ]
  738. };
  739. this.showColumnStack('canvasColumnStack', ColumnStack);
  740. },
  741. showColumnStack(canvasId, chartData) {
  742. canvaColumn = new uCharts({
  743. $this: _self,
  744. canvasId: canvasId,
  745. type: 'column',
  746. legend: {
  747. show: false
  748. },
  749. fontSize: 11,
  750. background: '#FFFFFF',
  751. pixelRatio: _self.pixelRatio,
  752. animation: true,
  753. categories: chartData.categories,
  754. series: chartData.series,
  755. xAxis: {
  756. disableGrid: true
  757. },
  758. yAxis: {
  759. data: [
  760. {
  761. type: 'value',
  762. fontColor: 'silver',
  763. disabled: false, //y轴轴线
  764. min: 0,
  765. max: 60,
  766. position: 'left',
  767. axisLineColor: '#2E2E2E',
  768. title: ' 风速:(km/h)',
  769. titleFontColor: 'silver'
  770. }
  771. ],
  772. gridColor: '#2E2E2E',
  773. splitNumber: 4,
  774. gridType: 'solid',
  775. dashLength: 8,
  776. showTitle: 'true'
  777. //disabled:true
  778. },
  779. dataLabel: true,
  780. width: _self.cWidth * _self.pixelRatio,
  781. height: _self.cHeight * _self.pixelRatio,
  782. extra: {
  783. column: {
  784. type: 'stack',
  785. width: (_self.cWidth * _self.pixelRatio * 0.5) / chartData.categories.length
  786. }
  787. }
  788. });
  789. },
  790. touchColumn(e) {
  791. canvaColumn.showToolTip(e, {
  792. format: function(item, category) {
  793. return category + ' ' + item.name + ':' + item.data;
  794. }
  795. });
  796. },
  797. touchLineA(e) {
  798. canvaLineA.showToolTip(e, {
  799. format: function(item, category) {
  800. return category + ' ' + item.name + ':' + item.data;
  801. }
  802. });
  803. },
  804. moveLineA(e) {
  805. canvaLineA.scroll(e);
  806. },
  807. getWindStationCardData: function() {
  808. let LineA1 = {
  809. categories: [
  810. ' 17:26',
  811. '18:56',
  812. '19:56',
  813. '20:56',
  814. '21:56',
  815. '22:56',
  816. '23:56',
  817. '00:56',
  818. '01:56',
  819. '02:56',
  820. '03:56',
  821. '04:56',
  822. '05:56',
  823. '06:56',
  824. '07:56',
  825. '08:56',
  826. '09:56',
  827. '10:56',
  828. '11:56',
  829. '12:56',
  830. '13:56',
  831. '14:56',
  832. '15:56',
  833. '16:56',
  834. '17:56 '
  835. ],
  836. series: [
  837. {
  838. name: '功率',
  839. 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],
  840. color: '#4BB94B',
  841. textColor: '#FFFFFF',
  842. textSize: this.seriesTextSize,
  843. format: val => {
  844. return val + 'kwh';
  845. },
  846. index: 0,
  847. legendShape: 'circle'
  848. },
  849. {
  850. name: '风速',
  851. 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],
  852. color: '#E82E2F',
  853. textColor: '#FFFFFF',
  854. textSize: this.seriesTextSize,
  855. format: val => {
  856. return val + 'km/h';
  857. },
  858. index: 1,
  859. legendShape: 'circle'
  860. },
  861. {
  862. name: '理论功率',
  863. 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],
  864. color: '#F5A83C',
  865. textColor: '#FFFFFF',
  866. textSize: this.seriesTextSize,
  867. format: val => {
  868. return val + 'kwh';
  869. },
  870. index: 0,
  871. legendShape: 'circle'
  872. },
  873. {
  874. name: '预测功率',
  875. 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],
  876. color: '#4A80B1',
  877. textColor: '#FFFFFF',
  878. textSize: this.seriesTextSize,
  879. format: val => {
  880. return val + 'kwh';
  881. },
  882. index: 1,
  883. legendShape: 'circle'
  884. }
  885. ]
  886. };
  887. let LineB = {
  888. categories: [
  889. ' 17:26',
  890. '18:56',
  891. '19:56',
  892. '20:56',
  893. '21:56',
  894. '22:56',
  895. '23:56',
  896. '00:56',
  897. '01:56',
  898. '02:56',
  899. '03:56',
  900. '04:56',
  901. '05:56',
  902. '06:56',
  903. '07:56',
  904. '08:56',
  905. '09:56',
  906. '10:56',
  907. '11:56',
  908. '12:56',
  909. '13:56',
  910. '14:56',
  911. '15:56',
  912. '16:56',
  913. '17:56 '
  914. ],
  915. series: [
  916. {
  917. name: '功率',
  918. 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],
  919. color: '#4BB94B',
  920. textColor: '#FFFFFF',
  921. textSize: this.seriesTextSize,
  922. format: val => {
  923. return val + 'kwh';
  924. },
  925. index: 0,
  926. legendShape: 'circle'
  927. },
  928. {
  929. name: '风速',
  930. 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],
  931. color: '#E82E2F',
  932. textColor: '#FFFFFF',
  933. textSize: this.seriesTextSize,
  934. format: val => {
  935. return val + 'km/h';
  936. },
  937. index: 1,
  938. legendShape: 'circle'
  939. },
  940. {
  941. name: '理论功率',
  942. 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],
  943. color: '#F5A83C',
  944. textColor: '#FFFFFF',
  945. textSize: this.seriesTextSize,
  946. format: val => {
  947. return val + 'kwh';
  948. },
  949. index: 0,
  950. legendShape: 'circle'
  951. },
  952. {
  953. name: '预测功率',
  954. 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],
  955. color: '#4A80B1',
  956. textColor: '#FFFFFF',
  957. textSize: this.seriesTextSize,
  958. format: val => {
  959. return val + 'kwh';
  960. },
  961. index: 1,
  962. legendShape: 'circle'
  963. }
  964. ]
  965. };
  966. let LineC = {
  967. categories: [
  968. ' 17:26',
  969. '18:56',
  970. '19:56',
  971. '20:56',
  972. '21:56',
  973. '22:56',
  974. '23:56',
  975. '00:56',
  976. '01:56',
  977. '02:56',
  978. '03:56',
  979. '04:56',
  980. '05:56',
  981. '06:56',
  982. '07:56',
  983. '08:56',
  984. '09:56',
  985. '10:56',
  986. '11:56',
  987. '12:56',
  988. '13:56',
  989. '14:56',
  990. '15:56',
  991. '16:56',
  992. '17:56 '
  993. ],
  994. series: [
  995. {
  996. name: '功率',
  997. 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],
  998. color: '#4BB94B',
  999. textColor: '#FFFFFF',
  1000. textSize: this.seriesTextSize,
  1001. format: val => {
  1002. return val + 'kwh';
  1003. },
  1004. index: 0,
  1005. legendShape: 'circle'
  1006. },
  1007. {
  1008. name: '风速',
  1009. 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],
  1010. color: '#E82E2F',
  1011. textColor: '#FFFFFF',
  1012. textSize: this.seriesTextSize,
  1013. format: val => {
  1014. return val + 'km/h';
  1015. },
  1016. index: 1,
  1017. legendShape: 'circle'
  1018. },
  1019. {
  1020. name: '理论功率',
  1021. 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],
  1022. color: '#F5A83C',
  1023. textColor: '#FFFFFF',
  1024. textSize: this.seriesTextSize,
  1025. format: val => {
  1026. return val + 'kwh';
  1027. },
  1028. index: 0,
  1029. legendShape: 'circle'
  1030. },
  1031. {
  1032. name: '预测功率',
  1033. 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],
  1034. color: '#4A80B1',
  1035. textColor: '#FFFFFF',
  1036. textSize: this.seriesTextSize,
  1037. format: val => {
  1038. return val + 'kwh';
  1039. },
  1040. index: 1,
  1041. legendShape: 'circle'
  1042. }
  1043. ]
  1044. };
  1045. let LineD = {
  1046. categories: [
  1047. ' 17:26',
  1048. '18:56',
  1049. '19:56',
  1050. '20:56',
  1051. '21:56',
  1052. '22:56',
  1053. '23:56',
  1054. '00:56',
  1055. '01:56',
  1056. '02:56',
  1057. '03:56',
  1058. '04:56',
  1059. '05:56',
  1060. '06:56',
  1061. '07:56',
  1062. '08:56',
  1063. '09:56',
  1064. '10:56',
  1065. '11:56',
  1066. '12:56',
  1067. '13:56',
  1068. '14:56',
  1069. '15:56',
  1070. '16:56',
  1071. '17:56 '
  1072. ],
  1073. series: [
  1074. {
  1075. name: '功率',
  1076. 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],
  1077. color: '#4BB94B',
  1078. textColor: '#FFFFFF',
  1079. textSize: this.seriesTextSize,
  1080. format: val => {
  1081. return val + 'kwh';
  1082. },
  1083. index: 0,
  1084. legendShape: 'circle'
  1085. },
  1086. {
  1087. name: '风速',
  1088. 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],
  1089. color: '#E82E2F',
  1090. textColor: '#FFFFFF',
  1091. textSize: this.seriesTextSize,
  1092. format: val => {
  1093. return val + 'km/h';
  1094. },
  1095. index: 1,
  1096. legendShape: 'circle'
  1097. },
  1098. {
  1099. name: '理论功率',
  1100. 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],
  1101. color: '#F5A83C',
  1102. textColor: '#FFFFFF',
  1103. textSize: this.seriesTextSize,
  1104. format: val => {
  1105. return val + 'kwh';
  1106. },
  1107. index: 0,
  1108. legendShape: 'circle'
  1109. },
  1110. {
  1111. name: '预测功率',
  1112. 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],
  1113. color: '#4A80B1',
  1114. textColor: '#FFFFFF',
  1115. textSize: this.seriesTextSize,
  1116. format: val => {
  1117. return val + 'kwh';
  1118. },
  1119. index: 1,
  1120. legendShape: 'circle'
  1121. }
  1122. ]
  1123. };
  1124. let LineE = {
  1125. categories: [
  1126. ' 17:26',
  1127. '18:56',
  1128. '19:56',
  1129. '20:56',
  1130. '21:56',
  1131. '22:56',
  1132. '23:56',
  1133. '00:56',
  1134. '01:56',
  1135. '02:56',
  1136. '03:56',
  1137. '04:56',
  1138. '05:56',
  1139. '06:56',
  1140. '07:56',
  1141. '08:56',
  1142. '09:56',
  1143. '10:56',
  1144. '11:56',
  1145. '12:56',
  1146. '13:56',
  1147. '14:56',
  1148. '15:56',
  1149. '16:56',
  1150. '17:56 '
  1151. ],
  1152. series: [
  1153. {
  1154. name: '功率',
  1155. 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],
  1156. color: '#4BB94B',
  1157. textColor: '#FFFFFF',
  1158. textSize: this.seriesTextSize,
  1159. format: val => {
  1160. return val + 'kwh';
  1161. },
  1162. index: 0,
  1163. legendShape: 'circle'
  1164. },
  1165. {
  1166. name: '风速',
  1167. 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],
  1168. color: '#E82E2F',
  1169. textColor: '#FFFFFF',
  1170. textSize: this.seriesTextSize,
  1171. format: val => {
  1172. return val + 'km/h';
  1173. },
  1174. index: 1,
  1175. legendShape: 'circle'
  1176. },
  1177. {
  1178. name: '理论功率',
  1179. 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],
  1180. color: '#F5A83C',
  1181. textColor: '#FFFFFF',
  1182. textSize: this.seriesTextSize,
  1183. format: val => {
  1184. return val + 'kwh';
  1185. },
  1186. index: 0,
  1187. legendShape: 'circle'
  1188. },
  1189. {
  1190. name: '预测功率',
  1191. 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],
  1192. color: '#4A80B1',
  1193. textColor: '#FFFFFF',
  1194. textSize: this.seriesTextSize,
  1195. format: val => {
  1196. return val + 'kwh';
  1197. },
  1198. index: 1,
  1199. legendShape: 'circle'
  1200. }
  1201. ]
  1202. };
  1203. this.showWindStationCardLineA('windStationCanvasLineA', LineA1);
  1204. this.showWindStationCardLineA('windStationCanvasLineB', LineB);
  1205. this.showWindStationCardLineA('windStationCanvasLineC', LineC);
  1206. this.showWindStationCardLineA('windStationCanvasLineD', LineD);
  1207. this.showWindStationCardLineA('windStationCanvasLineE', LineE);
  1208. },
  1209. showWindStationCardLineA(canvasId, chartData) {
  1210. var _self = this;
  1211. canvaLineB = new uCharts({
  1212. $this: _self,
  1213. canvasId: canvasId,
  1214. type: 'line',
  1215. fontSize: 11,
  1216. legend: {
  1217. show: true,
  1218. position: 'top',
  1219. float: 'right',
  1220. fontColor: 'silver',
  1221. itemGap: '4',
  1222. itemWidth: '3'
  1223. },
  1224. dataLabel: false,
  1225. dataPointShape: false,
  1226. background: '#FFFFFF',
  1227. pixelRatio: _self.windStationCardPixelRatio,
  1228. categories: chartData.categories,
  1229. series: chartData.series,
  1230. animation: true,
  1231. xAxis: {
  1232. type: 'grid',
  1233. gridColor: 'silver',
  1234. fontColor: 'silver',
  1235. gridType: 'solid',
  1236. gridColor: '#2E2E2E',
  1237. axisLineColor: '#2E2E2E',
  1238. labelCount: '3'
  1239. // itemCount:"3"
  1240. },
  1241. yAxis: {
  1242. data: [
  1243. {
  1244. type: 'value',
  1245. fontColor: 'silver',
  1246. disabled: false, //y轴轴线
  1247. min: 0,
  1248. max: 40,
  1249. position: 'left',
  1250. axisLineColor: '#2E2E2E',
  1251. title: ' 风速:(km/h)',
  1252. titleFontColor: 'silver'
  1253. },
  1254. {
  1255. fontColor: 'silver',
  1256. disabled: false, //y轴轴线
  1257. min: 0,
  1258. max: 40,
  1259. position: 'right',
  1260. axisLineColor: '#2E2E2E',
  1261. title: '功率:(kwh)',
  1262. titleFontColor: 'silver'
  1263. }
  1264. ],
  1265. gridColor: '#2E2E2E',
  1266. splitNumber: 4,
  1267. gridType: 'solid',
  1268. dashLength: 8,
  1269. showTitle: 'true',
  1270. format: val => {
  1271. return val.toFixed(0) + '元';
  1272. }
  1273. },
  1274. width: _self.windStationCardCWidth * _self.windStationCardPixelRatio,
  1275. height: _self.windStationCardCHeight * _self.windStationCardPixelRatio,
  1276. extra: {
  1277. line: {
  1278. type: 'line',
  1279. width: '1'
  1280. }
  1281. }
  1282. });
  1283. },
  1284. }
  1285. };
  1286. </script>
  1287. <style>
  1288. .speedPowerDiagram {
  1289. width: 100px;
  1290. height: 30px;
  1291. user-select: text;
  1292. -webkit-user-select: text;
  1293. -moz-user-select: text;
  1294. -ms-user-select: text;
  1295. color: silver;
  1296. float: left;
  1297. margin-top: 18px;
  1298. margin-left: 9px;
  1299. font-size: 11px;
  1300. }
  1301. .monthlyUtilizationHours {
  1302. width: 160px;
  1303. height: 30px;
  1304. margin-top: 20px;
  1305. /* background-color: #161616; */
  1306. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1307. color: silver;
  1308. margin-left: 20px;
  1309. text-align: center;
  1310. padding-top: 5px;
  1311. }
  1312. .yearlyUtilizationHours {
  1313. width: 160px;
  1314. height: 30px;
  1315. margin-top: 10px;
  1316. /* background-color: #161616; */
  1317. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1318. color: silver;
  1319. margin-left: 20px;
  1320. text-align: center;
  1321. padding-top: 5px;
  1322. }
  1323. .comprehensiveServicePowerConsumptionRate {
  1324. width: 160px;
  1325. height: 30px;
  1326. /* margin-top: 10px; */
  1327. /* background-color: #161616; */
  1328. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1329. color: silver;
  1330. margin-left: 200px;
  1331. margin-top: -70px;
  1332. text-align: center;
  1333. padding-top: 5px;
  1334. float: left;
  1335. }
  1336. .equipmentAvailability {
  1337. width: 160px;
  1338. height: 30px;
  1339. /* margin-top: 10px; */
  1340. /* background-color: #161616; */
  1341. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1342. color: silver;
  1343. margin-left: 200px;
  1344. margin-top: -30px;
  1345. text-align: center;
  1346. padding-top: 5px;
  1347. float: left;
  1348. }
  1349. .sulfurDioxideEmissionReduction {
  1350. width: 160px;
  1351. height: 30px;
  1352. /* margin-top: 10px; */
  1353. /* background-color: #161616; */
  1354. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1355. color: silver;
  1356. margin-left: 380px;
  1357. margin-top: -70px;
  1358. text-align: center;
  1359. padding-top: 5px;
  1360. float: left;
  1361. }
  1362. .carbonDioxideReduction {
  1363. width: 160px;
  1364. height: 30px;
  1365. /* margin-top: 10px; */
  1366. /* background-color: #161616; */
  1367. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1368. color: silver;
  1369. margin-left: 380px;
  1370. margin-top: -30px;
  1371. text-align: center;
  1372. padding-top: 5px;
  1373. float: left;
  1374. }
  1375. .waterSaving {
  1376. width: 160px;
  1377. height: 30px;
  1378. /* margin-top: 10px; */
  1379. /* background-color: #161616; */
  1380. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1381. color: silver;
  1382. margin-left: 560px;
  1383. margin-top: -70px;
  1384. text-align: center;
  1385. padding-top: 5px;
  1386. float: left;
  1387. }
  1388. .saveStandardCoal {
  1389. width: 160px;
  1390. height: 30px;
  1391. /* margin-top: 10px; */
  1392. /* background-color: #161616; */
  1393. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1394. color: silver;
  1395. margin-left: 560px;
  1396. margin-top: -30px;
  1397. text-align: center;
  1398. padding-top: 5px;
  1399. float: left;
  1400. }
  1401. .mttr {
  1402. width: 160px;
  1403. height: 30px;
  1404. /* margin-top: 10px; */
  1405. /* background-color: #161616; */
  1406. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1407. color: silver;
  1408. margin-left: 740px;
  1409. margin-top: -70px;
  1410. text-align: center;
  1411. padding-top: 5px;
  1412. float: left;
  1413. }
  1414. .mtbf {
  1415. width: 160px;
  1416. height: 30px;
  1417. /* margin-top: 10px; */
  1418. /* background-color: #161616; */
  1419. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1420. color: silver;
  1421. margin-left: 740px;
  1422. margin-top: -30px;
  1423. text-align: center;
  1424. padding-top: 5px;
  1425. float: left;
  1426. }
  1427. .horizontalSlider {
  1428. white-space: nowrap;
  1429. width: 100%;
  1430. height: 100px;
  1431. background-color: #242424;
  1432. margin-top: 540px;
  1433. }
  1434. .slide {
  1435. width: 920px;
  1436. height: 100px;
  1437. background-color: #242424;
  1438. }
  1439. .qiun-charts {
  1440. width: 750upx;
  1441. height: 500upx;
  1442. }
  1443. .charts {
  1444. width: 750upx;
  1445. height: 500upx;
  1446. }
  1447. .uchartTitle {
  1448. position: absolute;
  1449. left: 9px;
  1450. top: 605px;
  1451. user-select: text;
  1452. -webkit-user-select: text;
  1453. -moz-user-select: text;
  1454. -ms-user-select: text;
  1455. color: silver;
  1456. font-size: 12px;
  1457. }
  1458. .Histogram {
  1459. width: 100%;
  1460. height: 250px;
  1461. background-color: #242424;
  1462. margin-top: 10px;
  1463. float: left;
  1464. }
  1465. .lineChart {
  1466. width: 100%;
  1467. height: 200px;
  1468. background-color: #242424;
  1469. margin-top: 10px;
  1470. float: left;
  1471. }
  1472. body {
  1473. font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', STHeiti, 'Microsoft Yahei', Tahoma, Simsun, sans-serif;
  1474. font-size: 20px;
  1475. color: silver;
  1476. background: #000;
  1477. }
  1478. page {
  1479. background-color: #1f1f1f;
  1480. overflow-x: hidden;
  1481. }
  1482. .top {
  1483. width: 100%;
  1484. height: 95upx;
  1485. padding-top: 5upx;
  1486. background-color: #1f1f1f;
  1487. }
  1488. .threeLine {
  1489. width: 50px;
  1490. height: 45px;
  1491. float: left;
  1492. }
  1493. .text {
  1494. width: calc(100% - 100px);
  1495. height: 45px;
  1496. float: left;
  1497. user-select: text;
  1498. -webkit-user-select: text;
  1499. -moz-user-select: text;
  1500. -ms-user-select: text;
  1501. color: silver;
  1502. line-height: 45px;
  1503. text-align: center;
  1504. font-size: 18px;
  1505. }
  1506. .notice {
  1507. width: 50px;
  1508. height: 45px;
  1509. float: left;
  1510. }
  1511. .plus {
  1512. width: 50px;
  1513. height: 45px;
  1514. float: right;
  1515. color: white;
  1516. font-size: 35px;
  1517. line-height: 45px;
  1518. text-align: center;
  1519. }
  1520. .time {
  1521. background-color: #242424;
  1522. margin-top: 10px;
  1523. width: 100%;
  1524. height: 30px;
  1525. float: left;
  1526. }
  1527. .timeimageshizhong {
  1528. width: 30px;
  1529. height: 20px;
  1530. margin-top: 5px;
  1531. float: left;
  1532. }
  1533. .timeText {
  1534. width: 62%;
  1535. height: 30px;
  1536. float: left;
  1537. line-height: 30px;
  1538. font-size: 15px;
  1539. margin-left: 15px;
  1540. user-select: text;
  1541. -webkit-user-select: text;
  1542. -moz-user-select: text;
  1543. -ms-user-select: text;
  1544. color: silver;
  1545. }
  1546. .timeIcon {
  1547. width: 21%;
  1548. height: 30px;
  1549. float: left;
  1550. margin-left: 5px;
  1551. }
  1552. .timeIconImage {
  1553. width: 100%;
  1554. height: 25px;
  1555. margin-top: 1px;
  1556. }
  1557. .timeIconText {
  1558. width: 100%;
  1559. height: 25px;
  1560. text-align: center;
  1561. font-size: 12px;
  1562. }
  1563. .cardinstallgreenSecurity {
  1564. margin-left: 9px;
  1565. margin-top: 9px;
  1566. margin-bottom: 9px;
  1567. width: 30%;
  1568. height: 78px;
  1569. background: -webkit-linear-gradient(top, rgba(133, 145, 132, 0.1) 0%, rgba(66, 130, 61, 0.2) 100%);
  1570. border-radius: 5px;
  1571. float: left;
  1572. /* font-family: "STKaiti"; */
  1573. }
  1574. .cardinstalltitle {
  1575. width: 100%;
  1576. height: 40px;
  1577. text-align: center;
  1578. user-select: text;
  1579. -webkit-user-select: text;
  1580. -moz-user-select: text;
  1581. -ms-user-select: text;
  1582. font-size: 14px;
  1583. color: silver;
  1584. line-height: 40px;
  1585. float: left;
  1586. }
  1587. .cardinstallnumber {
  1588. /* font-weight: bold; */
  1589. width: 100%;
  1590. height: 40px;
  1591. text-align: center;
  1592. user-select: text;
  1593. -webkit-user-select: text;
  1594. -moz-user-select: text;
  1595. -ms-user-select: text;
  1596. color: silver;
  1597. font-size: 16px;
  1598. /* color: #449618; */
  1599. line-height: 40px;
  1600. }
  1601. .cardinstallgreenEquipment {
  1602. margin-right: 11px;
  1603. margin-top: 10px;
  1604. width: 30%;
  1605. height: 78px;
  1606. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1607. border-radius: 5px;
  1608. float: right;
  1609. /* font-family: "STKaiti"; */
  1610. }
  1611. .cardinstallgreen {
  1612. margin-left: 9px;
  1613. width: 30%;
  1614. height: 78px;
  1615. background: -webkit-linear-gradient(top, rgba(133, 145, 132, 0.1) 0%, rgba(66, 130, 61, 0.2) 100%);
  1616. border-radius: 5px;
  1617. float: left;
  1618. }
  1619. .cardinstallblue {
  1620. margin-top: 9px;
  1621. margin-left: 9px;
  1622. width: 30%;
  1623. height: 78px;
  1624. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(10, 82, 156, 0.2) 100%);
  1625. border-radius: 5px;
  1626. float: left;
  1627. }
  1628. .cardinstallblueright {
  1629. margin-right: 11px;
  1630. margin-top: 10px;
  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: right;
  1636. }
  1637. .cardinstalltitlegreen {
  1638. width: 100%;
  1639. height: 25px;
  1640. margin-left: 37px;
  1641. user-select: text;
  1642. -webkit-user-select: text;
  1643. -moz-user-select: text;
  1644. -ms-user-select: text;
  1645. font-size: 14px;
  1646. color: silver;
  1647. line-height: 25px;
  1648. float: left;
  1649. }
  1650. .cardinstallnumbergreen {
  1651. width: 100%;
  1652. height: 25px;
  1653. text-align: center;
  1654. user-select: text;
  1655. -webkit-user-select: text;
  1656. -moz-user-select: text;
  1657. -ms-user-select: text;
  1658. font-size: 20px;
  1659. color: silver;
  1660. /* color: #449618; */
  1661. line-height: 25px;
  1662. float: left;
  1663. }
  1664. .cardinstallnumbergreenmin {
  1665. margin-left: 2px;
  1666. width: 45%;
  1667. height: 20px;
  1668. user-select: text;
  1669. -webkit-user-select: text;
  1670. -moz-user-select: text;
  1671. -ms-user-select: text;
  1672. font-size: 12px;
  1673. color: silver;
  1674. /* color: #449618; */
  1675. float: left;
  1676. }
  1677. .cardinstallnumbergreenmax {
  1678. /* font-weight: bold; */
  1679. margin-right: 2px;
  1680. width: 45%;
  1681. height: 20px;
  1682. user-select: text;
  1683. -webkit-user-select: text;
  1684. -moz-user-select: text;
  1685. -ms-user-select: text;
  1686. font-size: 12px;
  1687. color: silver;
  1688. /* color: #449618; */
  1689. float: right;
  1690. }
  1691. .greenMinText {
  1692. line-height: 20px;
  1693. float: right;
  1694. }
  1695. .greenMaxText {
  1696. line-height: 20px;
  1697. float: left;
  1698. }
  1699. .cardinstallnumberred {
  1700. width: 100%;
  1701. height: 25px;
  1702. text-align: center;
  1703. user-select: text;
  1704. -webkit-user-select: text;
  1705. -moz-user-select: text;
  1706. -ms-user-select: text;
  1707. font-size: 20px;
  1708. color: silver;
  1709. /* color: #E93131; */
  1710. line-height: 25px;
  1711. float: left;
  1712. }
  1713. .cardinstallnumberredmin {
  1714. margin-left: 2px;
  1715. width: 45%;
  1716. height: 20px;
  1717. user-select: text;
  1718. -webkit-user-select: text;
  1719. -moz-user-select: text;
  1720. -ms-user-select: text;
  1721. font-size: 12px;
  1722. color: silver;
  1723. /* color: #E93131; */
  1724. float: left;
  1725. }
  1726. .cardinstallnumberredmax {
  1727. margin-right: 2px;
  1728. width: 45%;
  1729. height: 20px;
  1730. user-select: text;
  1731. -webkit-user-select: text;
  1732. -moz-user-select: text;
  1733. -ms-user-select: text;
  1734. font-size: 12px;
  1735. color: silver;
  1736. /* color: #E93131; */
  1737. float: right;
  1738. }
  1739. .redMinText {
  1740. line-height: 20px;
  1741. float: right;
  1742. }
  1743. .redMaxText {
  1744. line-height: 20px;
  1745. float: left;
  1746. }
  1747. .electricityCard {
  1748. width: 100%;
  1749. height: 100px;
  1750. background-color: #242424;
  1751. /* height: 185px; */
  1752. float: left;
  1753. margin-top: 20rpx;
  1754. }
  1755. .speedPower {
  1756. width: 100%;
  1757. height: 180px;
  1758. background-color: #242424;
  1759. float: left;
  1760. margin-top: 20rpx;
  1761. }
  1762. .cardinstallgreenSpeed {
  1763. margin-top: 9px;
  1764. margin-left: 9px;
  1765. width: 46%;
  1766. height: 78px;
  1767. background: -webkit-linear-gradient(top, rgba(133, 145, 132, 0.1) 0%, rgba(66, 130, 61, 0.2) 100%);
  1768. border-radius: 5px;
  1769. float: left;
  1770. }
  1771. .cardinstallredSpeed {
  1772. margin-top: 8px;
  1773. margin-left: 9px;
  1774. width: 46%;
  1775. height: 78px;
  1776. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  1777. border-radius: 5px;
  1778. float: left;
  1779. }
  1780. .cardinstalltitleRed {
  1781. width: 100%;
  1782. height: 25px;
  1783. margin-left: 45px;
  1784. user-select: text;
  1785. -webkit-user-select: text;
  1786. -moz-user-select: text;
  1787. -ms-user-select: text;
  1788. font-size: 14px;
  1789. color: silver;
  1790. line-height: 25px;
  1791. float: left;
  1792. }
  1793. .textWhitekuangSpeed {
  1794. color: white;
  1795. float: right;
  1796. margin-right: 70px;
  1797. }
  1798. .textWhitekuang {
  1799. color: white;
  1800. float: right;
  1801. margin-right: 85px;
  1802. }
  1803. .textWhite {
  1804. color: white;
  1805. float: left;
  1806. }
  1807. .textSilver {
  1808. user-select: text;
  1809. -webkit-user-select: text;
  1810. -moz-user-select: text;
  1811. -ms-user-select: text;
  1812. color: silver;
  1813. float: left;
  1814. }
  1815. .InformationCard {
  1816. margin-top: 10px;
  1817. width: 100%;
  1818. height: 70px;
  1819. background-color: #242424;
  1820. float: left;
  1821. }
  1822. .informationCardAll {
  1823. width: 100%;
  1824. margin-top: 10px;
  1825. height: 60px;
  1826. float: left;
  1827. }
  1828. .informationCardTextOne {
  1829. width: 100%;
  1830. height: 35px;
  1831. float: left;
  1832. }
  1833. .informationCardText {
  1834. margin-left: 15px;
  1835. width: 110px;
  1836. height: 35px;
  1837. line-height: 35px;
  1838. user-select: text;
  1839. -webkit-user-select: text;
  1840. -moz-user-select: text;
  1841. -ms-user-select: text;
  1842. color: silver;
  1843. font-size: 12px;
  1844. float: left;
  1845. }
  1846. .informationCardTextzj {
  1847. margin-left: 141px;
  1848. width: 100px;
  1849. height: 35px;
  1850. line-height: 35px;
  1851. user-select: text;
  1852. -webkit-user-select: text;
  1853. -moz-user-select: text;
  1854. -ms-user-select: text;
  1855. color: silver;
  1856. font-size: 12px;
  1857. float: left;
  1858. }
  1859. .informationCardTextTwo {
  1860. width: 100%;
  1861. height: 35px;
  1862. float: left;
  1863. user-select: text;
  1864. -webkit-user-select: text;
  1865. -moz-user-select: text;
  1866. -ms-user-select: text;
  1867. color: silver;
  1868. }
  1869. .informationCardText2 {
  1870. margin-left: 15px;
  1871. width: 110px;
  1872. height: 35px;
  1873. font-size: 12px;
  1874. line-height: 35px;
  1875. float: left;
  1876. }
  1877. .AccessCardNumber {
  1878. width: 30%;
  1879. height: 35px;
  1880. float: left;
  1881. line-height: 35px;
  1882. text-align: center;
  1883. font-size: 12px;
  1884. user-select: text;
  1885. -webkit-user-select: text;
  1886. -moz-user-select: text;
  1887. -ms-user-select: text;
  1888. color: silver;
  1889. }
  1890. .AccessCardText {
  1891. width: 30%;
  1892. height: 35px;
  1893. float: left;
  1894. line-height: 35px;
  1895. text-align: center;
  1896. font-size: 12px;
  1897. user-select: text;
  1898. -webkit-user-select: text;
  1899. -moz-user-select: text;
  1900. -ms-user-select: text;
  1901. color: silver;
  1902. }
  1903. .AccessCardimage {
  1904. margin-left: 5px;
  1905. width: 30%;
  1906. height: 35px;
  1907. float: left;
  1908. }
  1909. .interfaceCard {
  1910. margin-top: 10px;
  1911. width: 100%;
  1912. height: 85px;
  1913. background-color: #242424;
  1914. float: left;
  1915. }
  1916. .interfaceCardSmallTop {
  1917. margin-top: 5px;
  1918. width: 100%;
  1919. height: 35px;
  1920. float: left;
  1921. }
  1922. .interfaceCardSmall {
  1923. margin-left: 8px;
  1924. width: 30%;
  1925. height: 35px;
  1926. float: left;
  1927. }
  1928. .progressBarLeftText {
  1929. user-select: text;
  1930. -webkit-user-select: text;
  1931. -moz-user-select: text;
  1932. -ms-user-select: text;
  1933. color: silver;
  1934. font-size: 12px;
  1935. float: left;
  1936. margin-left: 5px;
  1937. }
  1938. .progressBarRightText {
  1939. user-select: text;
  1940. -webkit-user-select: text;
  1941. -moz-user-select: text;
  1942. -ms-user-select: text;
  1943. color: silver;
  1944. font-size: 12px;
  1945. float: right;
  1946. margin-right: 5px;
  1947. }
  1948. .progressBar {
  1949. margin-top: 10px;
  1950. width: 100%;
  1951. height: 115px;
  1952. background-color: #242424;
  1953. float: left;
  1954. }
  1955. .progressBarAll {
  1956. margin-left: 9px;
  1957. width: 355px;
  1958. height: 60px;
  1959. float: left;
  1960. }
  1961. .progressBarText {
  1962. text-align: center;
  1963. width: 50%;
  1964. height: 30px;
  1965. line-height: 30px;
  1966. user-select: text;
  1967. -webkit-user-select: text;
  1968. -moz-user-select: text;
  1969. -ms-user-select: text;
  1970. color: silver;
  1971. font-size: 12px;
  1972. float: left;
  1973. }
  1974. .progressBarOne {
  1975. width: 100%;
  1976. height: 30px;
  1977. float: left;
  1978. }
  1979. .progressBarLeft {
  1980. width: 25%;
  1981. height: 30px;
  1982. line-height: 30px;
  1983. user-select: text;
  1984. -webkit-user-select: text;
  1985. -moz-user-select: text;
  1986. -ms-user-select: text;
  1987. color: silver;
  1988. font-size: 12px;
  1989. float: left;
  1990. }
  1991. .progressBarRight {
  1992. width: 25%;
  1993. height: 30px;
  1994. user-select: text;
  1995. -webkit-user-select: text;
  1996. -moz-user-select: text;
  1997. -ms-user-select: text;
  1998. color: silver;
  1999. font-size: 12px;
  2000. line-height: 30px;
  2001. float: right;
  2002. }
  2003. /* 风电场卡片css */
  2004. .windStation {
  2005. clear: both;
  2006. width: calc(100% - 18px);
  2007. margin-left: 9px;
  2008. height: 300px;
  2009. color: silver;
  2010. /* background-color: #242424; */
  2011. }
  2012. .scrollWindStationCard {
  2013. white-space: nowrap;
  2014. }
  2015. .windStationCardContainer {
  2016. width: 1295px;
  2017. height: 350px;
  2018. }
  2019. .windStationCard {
  2020. width: 250px;
  2021. height: 100%;
  2022. margin-right: 9px;
  2023. float: left;
  2024. background-color: #242424;
  2025. }
  2026. .windStationTitle {
  2027. width: 90%;
  2028. height: 30px;
  2029. line-height: 30px;
  2030. font-size: 12px;
  2031. margin-left: 5px;
  2032. }
  2033. .powerAndSpeedContainer {
  2034. width: 100%;
  2035. height: 90px;
  2036. }
  2037. .powerAndSpeedRed {
  2038. margin-top: 8px;
  2039. margin-left: 2%;
  2040. margin-right: 2%;
  2041. width: 46%;
  2042. height: 37px;
  2043. line-height: 37px;
  2044. text-align: center;
  2045. font-size: 12px;
  2046. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2047. border-radius: 5px;
  2048. float: left;
  2049. }
  2050. .powerAndSpeedRed span {
  2051. color: white;
  2052. }
  2053. .HQChart {
  2054. width: 100%;
  2055. height: 100px;
  2056. margin-top: 8px;
  2057. }
  2058. .UChartContainer{
  2059. width: 250px;
  2060. height: 150px;
  2061. margin-top: 8px;
  2062. }
  2063. .windStationUChart{
  2064. width: 250px;
  2065. height: 150px;
  2066. position: absolute;
  2067. }
  2068. .windStationQiun-charts {
  2069. width: 250px;
  2070. height: 150px;
  2071. background-color: #242424;
  2072. }
  2073. .windStationCharts {
  2074. width: 250px;
  2075. height: 150px;
  2076. background-color: #242424;
  2077. }
  2078. .UChartTitle{
  2079. position: relative;
  2080. top: -2px;
  2081. left:2px;
  2082. font-size: 12px;
  2083. width: 100px;
  2084. }
  2085. .xTime{
  2086. position: relative;
  2087. top: 90px;
  2088. left:222px;
  2089. font-size: 8px;
  2090. width: 30px;
  2091. }
  2092. .fanStatusContainer {
  2093. width: 100%;
  2094. height: 70px;
  2095. }
  2096. .fanStatus {
  2097. width: 32%;
  2098. height: 30px;
  2099. margin-top: 5px;
  2100. margin-right: 0.5%;
  2101. margin-left: 0.5%;
  2102. float: left;
  2103. }
  2104. .statusIcon {
  2105. width: 22px;
  2106. height: 30px;
  2107. margin-left: 3px;
  2108. float: left;
  2109. }
  2110. .fanStatus {
  2111. height: 30px;
  2112. line-height: 30px;
  2113. font-size: 12px;
  2114. }
  2115. </style>