windView.vue 63 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103
  1. <template>
  2. <div class="windView">
  3. <div class="btnms">
  4. <aside class="sidebar-left-top btnms1">
  5. <div class="stat-block-lefttop" @click="backStations">
  6. <p class="label">返回</p>
  7. </div>
  8. </aside>
  9. <aside class="sidebar-left-top btnms2">
  10. <div class="stat-block-lefttop" @click="showWeatherMes">
  11. <p class="label" v-if="showWeatherDB">隐藏天气详情</p>
  12. <p class="label" v-else>查看天气详情</p>
  13. </div>
  14. </aside>
  15. <aside class="sidebar-left-top btnms3">
  16. <div class="stat-block-lefttop" @click="showWindMes">
  17. <p class="label" v-if="showWindDB">隐藏风机详情</p>
  18. <p class="label" v-else>查看风机详情</p>
  19. </div>
  20. </aside>
  21. </div>
  22. <div class="btnms">
  23. <aside class="sidebar-left-top btnms4">
  24. <!-- <div class="stat-block-lefttop" @click="initView">
  25. <p class="label">初始化</p>
  26. </div> -->
  27. <el-select
  28. class="windSty"
  29. v-model="windvalue"
  30. filterable
  31. clearable
  32. placeholder="选择风机"
  33. size="small"
  34. style="width: 250px"
  35. @change="switchWind"
  36. >
  37. <el-option
  38. v-for="(item, index) in fjLonLatJsonArr"
  39. :key="index"
  40. :label="item.name"
  41. :value="index"
  42. />
  43. </el-select>
  44. </aside>
  45. </div>
  46. <!-- Left Sidebar -->
  47. <aside class="sidebar-left panel" v-if="showWindDB">
  48. <div class="stat-block">
  49. <p class="label">总装机容量:</p>
  50. <p class="value">
  51. 2541<span
  52. style="
  53. font-size: 18px;
  54. font-weight: 400;
  55. color: #6c757d;
  56. margin-left: 4px;
  57. "
  58. >MW</span
  59. >
  60. </p>
  61. <!-- <div class="progress-bar"><div class="progress-bar-inner" style="width: 100%;"></div></div> -->
  62. </div>
  63. <div
  64. class="stat-block"
  65. style="display: flex; justify-content: space-between"
  66. >
  67. <p>
  68. <span class="labels">风电 </span
  69. ><span class="values"
  70. >1245<span
  71. style="
  72. font-size: 14px;
  73. font-weight: 400;
  74. color: #6c757d;
  75. margin-left: 4px;
  76. "
  77. >MW</span
  78. ></span
  79. >
  80. </p>
  81. <p>
  82. <span class="labels">光伏 </span
  83. ><span class="values"
  84. >1296<span
  85. style="
  86. font-size: 14px;
  87. font-weight: 400;
  88. color: #6c757d;
  89. margin-left: 4px;
  90. "
  91. >MW</span
  92. ></span
  93. >
  94. </p>
  95. </div>
  96. <div class="stat-block" style="margin-bottom: 0">
  97. <p class="label">安全天数:</p>
  98. <p class="value">1258天</p>
  99. </div>
  100. </aside>
  101. <aside class="sidebar-left2 panel" v-if="showWeatherDB && !showWindDetail">
  102. <div class="stat-block2">
  103. <span class="labels">数据 </span>
  104. <span class="values"
  105. >{{ showCover }} @ 目前高度:{{ progressHeight }}m; 气压: 0hpa;
  106. </span>
  107. </div>
  108. <div class="stat-block2">
  109. <span class="labels">模式 </span>
  110. <span class="covercheck">
  111. <el-check-tag
  112. v-for="(it, index) in windmodelArr"
  113. :key="index"
  114. type="primary"
  115. :disabled="it.disabled"
  116. :checked="it.check"
  117. >{{ it.value }}</el-check-tag
  118. >
  119. </span>
  120. </div>
  121. <div class="stat-block2">
  122. <span class="labels">范围 </span>
  123. <span class="values">{{ scopeNumMin() }}</span
  124. ><span class="values">{{ scopeUnit() }}</span>
  125. <span :class="scopeColor()"></span>
  126. <span class="values">{{ scopeNumMax() }}</span
  127. ><span class="values">{{ scopeUnit() }}</span>
  128. </div>
  129. <div class="stat-block2">
  130. <span class="labels">高度 </span>
  131. <!-- <span class="values">地表 </span>
  132. <span class="heightcheck">
  133. <el-check-tag v-for="(it, index) in heightArr" :key="index" type="primary"
  134. :checked="it.check" @change="valueOnChange(it)">{{it.value}}</el-check-tag>
  135. </span>
  136. <span class="values">hpa </span> -->
  137. <span class="values">0(m)</span>
  138. <div class="op-progress-bar">
  139. <div
  140. class="op-progress-bar-inner"
  141. :style="`width: ${progressPoint > 100 ? 100 : progressPoint}` + '%'"
  142. ></div>
  143. </div>
  144. <span class="values"> 10000(m)</span>
  145. </div>
  146. <div class="stat-block2">
  147. <span class="labels">覆盖模式 </span>
  148. <span class="covercheck">
  149. <el-check-tag
  150. v-for="(it, index) in coverArr"
  151. :key="index"
  152. type="primary"
  153. :disabled="it.disabled"
  154. :checked="it.check"
  155. @change="coverOnChange(it)"
  156. >{{ it.value }}</el-check-tag
  157. >
  158. </span>
  159. </div>
  160. <div class="stat-block2">
  161. <span class="labels">
  162. <span
  163. style="
  164. font-size: 15px;
  165. color: #6c757d;
  166. font-weight: 600;
  167. position: relative;
  168. top: 20px;
  169. "
  170. >场站类型</span
  171. >
  172. </span>
  173. <div style="display: flex; width: 405px">
  174. <div class="windStatus">
  175. <img :src="bw" style="width: 60px; height: 60px" />
  176. <p class="values windVal">并网</p>
  177. </div>
  178. <div class="windStatus">
  179. <img :src="dj" style="width: 60px; height: 60px" />
  180. <p class="values windVal">待机</p>
  181. </div>
  182. <div class="windStatus">
  183. <img :src="gz" style="width: 60px; height: 60px" />
  184. <p class="values windVal">故障</p>
  185. </div>
  186. <div class="windStatus">
  187. <img :src="jx" style="width: 60px; height: 60px" />
  188. <p class="values windVal">检修</p>
  189. </div>
  190. <div class="windStatus">
  191. <img :src="xd" style="width: 60px; height: 60px" />
  192. <p class="values windVal">限电</p>
  193. </div>
  194. <div class="windStatus">
  195. <img :src="lx" style="width: 60px; height: 60px" />
  196. <p class="values windVal">离线</p>
  197. </div>
  198. <div class="windStatus">
  199. <img :src="sl" style="width: 60px; height: 60px" />
  200. <p class="values windVal">受累</p>
  201. </div>
  202. </div>
  203. </div>
  204. <div class="stat-block2" v-if="viewer?.clock?.currentTime?.secondsOfDay">
  205. <span
  206. class="labels"
  207. style="display: flex; justify-content: center; align-items: center"
  208. >
  209. <span style="font-size: 15px; color: #6c757d; font-weight: 600"
  210. >UTC地球时间</span
  211. >
  212. </span>
  213. <div
  214. style="
  215. display: flex;
  216. justify-content: center;
  217. align-items: center;
  218. width: 405px;
  219. "
  220. >
  221. <el-slider
  222. class="currentSlider"
  223. style="width: 97.5%; margin-left: 2.5%"
  224. v-model="currentTime"
  225. :min="0"
  226. :max="1440"
  227. :marks="marks"
  228. size="small"
  229. :show-tooltip="false"
  230. :format-tooltip="sliderFormatTooltip"
  231. @input="changeClockTime"
  232. @change="resetClockTimmer"
  233. />
  234. </div>
  235. </div>
  236. </aside>
  237. <aside class="sidebar-right panel" v-if="showWindDB">
  238. <div class="info-section">
  239. <h3>风场信息</h3>
  240. <div class="info-item">
  241. <span class="label">场站名称</span><span class="value">某某风场</span>
  242. </div>
  243. <div class="info-item">
  244. <span class="label">场站类型</span><span class="value">风场</span>
  245. </div>
  246. <div class="info-item">
  247. <span class="label">安全运行天数(天)</span
  248. ><span class="value">27</span>
  249. </div>
  250. <div class="info-item">
  251. <span class="label">接入台数</span><span class="value">29</span>
  252. </div>
  253. <div class="info-item">
  254. <span class="label">装机容量(MW)</span><span class="value">1245</span>
  255. </div>
  256. <!-- <div class="info-item">
  257. <span class="label">经纬度</span><span class="value">106.2341, 37.2343</span>
  258. </div> -->
  259. <div class="info-item">
  260. <span class="label">并网时间</span
  261. ><span class="value">2025-08-28</span>
  262. </div>
  263. <div class="info-item">
  264. <span class="label">风机详情</span>
  265. <span
  266. class="value"
  267. id="windBtn"
  268. @click="showMsg"
  269. style="color: #4b55ae; cursor: pointer"
  270. >{{ showWindMsg ? "关闭详情" : "查看详情" }}</span
  271. >
  272. </div>
  273. <div class="info-item">
  274. <span class="label">电量详情</span>
  275. <span
  276. class="value"
  277. @click="showDetail"
  278. style="color: #4b55ae; cursor: pointer"
  279. >{{ showWindDetail ? "关闭详情" : "查看详情" }}</span
  280. >
  281. </div>
  282. </div>
  283. <!-- 实时负荷 -->
  284. <div class="info-section">
  285. <h3>实时负荷</h3>
  286. <PowerReviewHome
  287. :data="powerDataHome"
  288. :id="wpIds"
  289. :type="activeTab"
  290. @chartClick="showPowerChart"
  291. />
  292. </div>
  293. <!-- 清洁能源公司总装机容量 -->
  294. <div class="energy-system-content clearfix">
  295. <div class="title">
  296. <span class="title-name">清洁能源公司</span>
  297. <span class="title-all-title">总装机容量 :</span>
  298. <span class="title-all-content">{{
  299. Number(StationinformationData?.cblpoint?.qjny_zzjrl) || 0
  300. }}</span>
  301. <span class="title-all-unit">MW</span>
  302. </div>
  303. <div style="display: flex">
  304. <div
  305. class="left-content float-left"
  306. :class="activeTab == -1 ? 'piggy-bank' : ''"
  307. >
  308. <div class="img-num clearfix">
  309. <div class="img float-left">
  310. <img src="@/assets/windimgs/fc_b_1.png" alt="" />
  311. </div>
  312. <div class="num float-left">
  313. <span>风电场数量</span> <br />
  314. <span>{{ StationinformationData?.cblpoint?.qjny_fcts }}</span>
  315. <span>个</span>
  316. </div>
  317. </div>
  318. <div class="capacity">
  319. <div class="item">
  320. <el-row align="middle">
  321. <el-col :span="8"><span>装机容量</span></el-col>
  322. <el-col :span="9"
  323. ><span>{{
  324. StationinformationData?.cblpoint?.qjny_fd_zjrl
  325. }}</span></el-col
  326. >
  327. <el-col :span="7"><span>MW</span></el-col>
  328. </el-row>
  329. </div>
  330. </div>
  331. </div>
  332. <div
  333. class="right-content float-left"
  334. :class="activeTab == -2 ? 'piggy-bank' : ''"
  335. >
  336. <div class="img-num clearfix">
  337. <div class="img float-left">
  338. <img src="@/assets/windimgs/gf_b_1.png" alt="" />
  339. </div>
  340. <div class="num float-left">
  341. <span>光伏电站数量</span> <br />
  342. <span>{{ StationinformationData?.cblpoint?.qjny_gfts }}</span>
  343. <span>个</span>
  344. </div>
  345. </div>
  346. <div class="capacity">
  347. <div class="item">
  348. <el-row>
  349. <el-col :span="8"><span>装机容量</span></el-col>
  350. <el-col :span="9"
  351. ><span>{{
  352. StationinformationData?.cblpoint?.qjny_gf_zjrl
  353. }}</span></el-col
  354. >
  355. <el-col :span="7"><span>MW</span></el-col>
  356. </el-row>
  357. </div>
  358. </div>
  359. </div>
  360. </div>
  361. </div>
  362. <!-- 系统接入情况 -->
  363. <div class="energy-system-content clearfix">
  364. <div class="title">
  365. <span class="title-name">系统接入情况</span>
  366. <span class="title-all-title">总装机容量 :</span>
  367. <span class="title-all-content">{{
  368. Number(StationinformationData?.cblpoint?.jr_zzjrl) || 0
  369. }}</span>
  370. <span class="title-all-unit">MW</span>
  371. </div>
  372. <div style="display: flex">
  373. <div
  374. class="left-content float-left"
  375. :class="activeTab == -1 ? 'piggy-bank' : ''"
  376. >
  377. <div class="img-num clearfix">
  378. <div class="img float-left">
  379. <img src="@/assets/windimgs/fc_b_1.png" alt="" />
  380. </div>
  381. <div class="num float-left">
  382. <span>风电场数量</span> <br />
  383. <span>{{ StationinformationData?.cblpoint?.jr_fcts }}</span>
  384. <span>个</span>
  385. </div>
  386. </div>
  387. <div class="capacity">
  388. <div class="item">
  389. <el-row>
  390. <el-col :span="8"><span>装机容量</span></el-col>
  391. <el-col :span="9"
  392. ><span>{{
  393. StationinformationData?.cblpoint?.jr_fd_zjrl
  394. }}</span></el-col
  395. >
  396. <el-col :span="7"><span>MW</span></el-col>
  397. </el-row>
  398. </div>
  399. <div class="item">
  400. <el-row>
  401. <el-col :span="8"><span>风机台数</span></el-col>
  402. <el-col :span="9"
  403. ><span>{{
  404. StationinformationData?.cblpoint?.jr_fj_ts
  405. }}</span></el-col
  406. >
  407. <el-col :span="7"><span>台</span></el-col>
  408. </el-row>
  409. </div>
  410. </div>
  411. </div>
  412. <div
  413. class="right-content float-left"
  414. :class="activeTab == -1 ? 'piggy-bank' : ''"
  415. >
  416. <div class="img-num clearfix">
  417. <div class="img float-left">
  418. <img src="@/assets/windimgs/gf_b_1.png" alt="" />
  419. </div>
  420. <div class="num float-left">
  421. <span>光伏电站数量</span> <br />
  422. <span>{{ StationinformationData?.cblpoint?.jr_gfts }}</span>
  423. <span>个</span>
  424. </div>
  425. </div>
  426. <div class="capacity">
  427. <div class="item">
  428. <el-row>
  429. <el-col :span="8"><span>装机容量</span></el-col>
  430. <el-col :span="9"
  431. ><span>{{
  432. StationinformationData?.cblpoint?.jr_gf_zjrl || 0
  433. }}</span></el-col
  434. >
  435. <el-col :span="7"><span>MW</span></el-col>
  436. </el-row>
  437. </div>
  438. <div class="item">
  439. <el-row>
  440. <el-col :span="8"><span>集中式</span></el-col>
  441. <el-col :span="9"
  442. ><span>{{
  443. StationinformationData?.cblpoint?.jr_gf_jzts || 0
  444. }}</span></el-col
  445. >
  446. <el-col :span="7"><span>台</span></el-col>
  447. </el-row>
  448. </div>
  449. <div class="item">
  450. <el-row>
  451. <el-col :span="8"><span>组串式</span></el-col>
  452. <el-col :span="9"
  453. ><span>{{
  454. StationinformationData?.cblpoint?.jr_gf_zcts || 0
  455. }}</span></el-col
  456. >
  457. <el-col :span="7"><span>台</span></el-col>
  458. </el-row>
  459. </div>
  460. </div>
  461. </div>
  462. </div>
  463. </div>
  464. <!-- 节能减排 -->
  465. <!-- <div class="model-bg">
  466. <div class="titles">
  467. <div class="name">节能减排</div>
  468. <div class="unit">(单位: 万吨)</div>
  469. </div>
  470. <div class="save">
  471. <div class="save-item">
  472. <div
  473. class="jnjp-icon svg-icon svg-icon-green"
  474. style="width:20px,height:20px"
  475. >
  476. <svg height="16px" viewBox="0 0 1024 1024"><path d="M565.49844 517.552322c0-0.348009-0.063274-0.66438-0.063274-1.012389-4.998671 42.172336-23.601322 83.079186-56.187598 115.475639l-0.253097 0.253097c-77.099762 76.372107-202.034912 76.34047-279.0714-0.126549l0 0c-77.099762-76.498656-77.099762-200.547966 0.031637-277.046622-77.131399 76.498656-115.665462 176.788457-115.665462 277.046622 0 50.366361 9.744246 100.732722 29.2011 148.093552 40.653752 20.311058 86.622548 31.478975 135.248865 30.751321 160.811691-2.467699 289.258566-133.825192 286.75923-293.434671z" fill="#4b55ae" p-id="2660"></path><path d="M788.318967 355.095499l0 0c-15.407298-15.280749-31.795347-28.97964-48.942689-41.191584-31.637161-22.588933-65.742021-40.527204-101.365465-52.707511-31.225878-8.795131-60.711713-25.309729-85.325424-49.733618-19.456854-19.298668-33.978311-41.666141-43.596008-65.488924-18.887385-46.728087-18.887385-99.214138-0.031637-145.942225-16.103315 8.731857-31.289153 19.741589-44.924769 33.250657-59.034943 58.560386-72.702197 144.929836-41.34977 216.588006 9.491148 21.703093 23.031853 42.077425 40.811938 59.889146-0.031637 0.063274-0.063274 0.094911-0.094911 0.126549l46.126981 45.81061c3.796459 3.796459 7.24491 7.751105 10.661723 11.800661-0.348009-0.569469-0.66438-1.138938-1.012389-1.67677 53.561714 56.345784 86.907282 131.9586 88.204406 215.512343 2.752433 177.452838-139.994439 323.521612-318.839312 326.242407-22.462385 0.348009-44.418574-1.613495-65.64711-5.631415 2.309513 2.404424 4.555751 4.90376 6.960175 7.24491 77.099762 76.56193 178.117218 114.811258 279.166311 114.811258s202.129824-38.249328 279.197949-114.747984c50.872555-50.461272 84.819229-111.299533 102.156394-175.617882 8.921679-33.187382 13.509068-67.292242 13.509068-101.428739 0-100.289801-38.5657-200.547966-115.665462-277.046622z" fill="#4b55ae" p-id="2661"></path>
  477. </svg>
  478. </div>
  479. <div class="save-value">
  480. {{
  481. Number(Number(StationinformationData?.qt?.jym)).toFixed(2)
  482. }}
  483. </div>
  484. <div class="save-name">煤</div>
  485. </div>
  486. <div class="save-item">
  487. <div class="jnjp-icon svg-icon svg-icon-green">
  488. <svg height="16px" viewBox="0 0 1024 1024"><path d="M512 1024a358.4 358.4 0 0 1-358.4-358.4c0-131.9424 119.4496-353.792 358.4-665.6 238.9504 311.808 358.4 533.6576 358.4 665.6a358.4 358.4 0 0 1-358.4 358.4z m-281.6-358.4A281.6 281.6 0 0 0 512 947.2a25.6 25.6 0 1 0 0-51.2A230.4 230.4 0 0 1 281.6 665.6a25.6 25.6 0 1 0-51.2 0z" fill="#4b55ae" p-id="8243"></path>
  489. </svg>
  490. </div>
  491. <div class="save-value">
  492. {{
  493. Number(Number(StationinformationData?.qt?.jys)).toFixed(2)
  494. }}
  495. </div>
  496. <div class="save-name">水</div>
  497. </div>
  498. <div class="save-item">
  499. <div class="kind">
  500. <div class=" svg-icon svg-icon-green co2">
  501. <svg height="16px" viewBox="0 0 1024 1024"><path d="M707.52 692.48a124.16 124.16 0 0 1 2.88-28.16 104 104 0 0 1 9.28-24.96 133.76 133.76 0 0 1 15.68-23.04 238.72 238.72 0 0 1 22.08-23.04l18.56-17.28c4.48-3.776 8.672-7.968 12.48-12.48 2.944-3.488 5.408-7.36 7.36-11.52a43.52 43.52 0 0 0 3.2-12.48c0.32-5.12 0.32-10.24 0-15.36a22.72 22.72 0 0 0-22.4-28.16 20.8 20.8 0 0 0-21.44 13.12 45.44 45.44 0 0 0-3.52 14.08v16.96h-44.16v-7.68a65.92 65.92 0 0 1 16.96-48.64 72.96 72.96 0 0 1 53.44-16.96 71.68 71.68 0 0 1 51.2 16c11.712 12.256 17.728 28.864 16.64 45.76a101.76 101.76 0 0 1-1.92 20.16 77.12 77.12 0 0 1-6.08 17.92 84.48 84.48 0 0 1-10.88 16.96 160 160 0 0 1-16.32 16.64l-25.6 23.68a96 96 0 0 0-16 17.92 52.48 52.48 0 0 0-7.36 15.36h84.48v35.2h-139.52 0.96z m-197.12-120c0.64 14.24 2.976 28.32 7.04 41.92 2.56 9.312 7.904 17.6 15.36 23.68a50.56 50.56 0 0 0 52.8 0c7.456-6.08 12.8-14.368 15.36-23.68 4.032-13.632 6.4-27.68 7.04-41.92 1.28-17.28 1.92-38.592 1.92-64 0-25.376-0.64-46.72-1.92-64a178.24 178.24 0 0 0-7.04-41.92 46.72 46.72 0 0 0-15.36-23.68 50.56 50.56 0 0 0-52.8 0c-7.456 6.144-12.8 14.4-15.36 23.68a177.28 177.28 0 0 0-7.04 41.92c-1.28 17.088-1.92 38.4-1.92 64s0.64 46.944 1.92 64z m-71.68-139.2a169.28 169.28 0 0 1 16.96-60.16 96 96 0 0 1 37.76-39.04 161.92 161.92 0 0 1 132.16 0 96 96 0 0 1 37.76 39.04 169.28 169.28 0 0 1 16.96 60.16 768 768 0 0 1 0 153.28 168.96 168.96 0 0 1-16.96 59.84 89.92 89.92 0 0 1-37.76 38.4 170.56 170.56 0 0 1-132.16 0 89.92 89.92 0 0 1-37.76-38.4 168.96 168.96 0 0 1-16.96-59.84 768 768 0 0 1 0-153.28z m-124.48-40.96a35.52 35.52 0 0 0-34.56-18.24 34.56 34.56 0 0 0-22.72 7.36 49.28 49.28 0 0 0-14.08 24 205.44 205.44 0 0 0-7.04 43.52c-1.28 17.92-1.92 39.904-1.92 65.92a634.88 634.88 0 0 0 2.88 67.2c1.056 13.568 3.936 26.944 8.64 39.68 2.624 7.808 7.808 14.464 14.72 18.88 6.4 3.36 13.568 5.024 20.8 4.8 6.208 0.128 12.416-0.96 18.24-3.2a32 32 0 0 0 14.72-13.44 86.72 86.72 0 0 0 9.6-28.16 257.92 257.92 0 0 0 3.52-48h73.6a329.28 329.28 0 0 1-4.48 56.32 128 128 0 0 1-17.28 46.72 85.12 85.12 0 0 1-35.2 32 133.76 133.76 0 0 1-59.2 11.2 139.2 139.2 0 0 1-65.92-13.44 89.92 89.92 0 0 1-37.76-38.4 168.96 168.96 0 0 1-16.96-59.84 768 768 0 0 1 0-153.28 169.28 169.28 0 0 1 16.96-60.16 96 96 0 0 1 37.76-39.04 132.8 132.8 0 0 1 65.92-14.08 128 128 0 0 1 62.08 12.8c14.016 7.392 25.728 18.464 33.92 32 7.488 13.12 12.288 27.584 14.08 42.56 1.824 14.24 2.784 28.544 2.88 42.88h-73.6a132.8 132.8 0 0 0-9.6-58.56z" fill="#4b55ae" p-id="9468"></path>
  502. </svg>
  503. </div>
  504. </div>
  505. <div class="save-value">
  506. {{
  507. Number(Number(StationinformationData?.qt?.co2)).toFixed(2)
  508. }}
  509. </div>
  510. <div class="save-name">二氧化碳</div>
  511. </div>
  512. <div class="save-item">
  513. <div class="kind">
  514. <div class=" svg-icon svg-icon-green so2">
  515. <svg height="16px" viewBox="0 0 1024 1024"><path d="M703.904 692.48c0-9.472 1.056-18.88 3.2-28.16a101.44 101.44 0 0 1 9.28-24.96 134.4 134.4 0 0 1 15.68-23.04 244.8 244.8 0 0 1 22.08-23.04l18.56-17.28a102.4 102.4 0 0 0 12.16-12.48c2.848-3.52 5.216-7.36 7.04-11.52a42.56 42.56 0 0 0 3.52-12.48c0.32-5.12 0.32-10.24 0-15.36a22.72 22.72 0 0 0-22.4-28.16 20.8 20.8 0 0 0-21.44 13.12 45.44 45.44 0 0 0-3.52 14.08v16.96h-44.16v-7.68a65.92 65.92 0 0 1 16.96-48.64 72.96 72.96 0 0 1 53.44-16.96 71.68 71.68 0 0 1 51.2 16 60.8 60.8 0 0 1 16.64 45.76 101.76 101.76 0 0 1-1.92 20.16 76.16 76.16 0 0 1-6.08 17.92 84.48 84.48 0 0 1-10.88 16.96 163.52 163.52 0 0 1-16.32 16.64l-25.6 23.68a96 96 0 0 0-16 17.92 53.12 53.12 0 0 0-7.36 15.36h85.44v35.2h-139.52z m-471.04-103.36c-0.096 7.84 0.544 15.68 1.92 23.36 1.12 6.4 3.744 12.448 7.68 17.6 4 4.96 9.184 8.8 15.04 11.2 7.552 2.976 15.584 4.384 23.68 4.16a47.04 47.04 0 0 0 32-10.88 41.28 41.28 0 0 0 13.44-33.92 61.12 61.12 0 0 0-3.2-21.12 41.92 41.92 0 0 0-10.88-16 77.76 77.76 0 0 0-20.16-13.12 288 288 0 0 0-32-12.16 264.64 264.64 0 0 1-42.56-17.92 114.24 114.24 0 0 1-30.08-22.72 81.28 81.28 0 0 1-17.6-30.08 128 128 0 0 1-5.76-39.68 102.08 102.08 0 0 1 30.08-80.96 120.96 120.96 0 0 1 82.88-26.56 180.48 180.48 0 0 1 45.44 5.44 96 96 0 0 1 35.84 17.28c10.4 8.576 18.56 19.552 23.68 32 5.92 14.176 8.768 29.44 8.32 44.8v10.24h-70.72a73.28 73.28 0 0 0-9.28-40.32 33.92 33.92 0 0 0-32-14.08 51.2 51.2 0 0 0-20.48 3.52 34.56 34.56 0 0 0-13.12 9.6 32 32 0 0 0-6.72 13.44 70.08 70.08 0 0 0-1.92 16c-0.384 9.984 2.048 19.84 7.04 28.48a64 64 0 0 0 32 21.12l56.96 24.64c12.096 5.12 23.584 11.552 34.24 19.2 8.16 5.984 15.296 13.216 21.12 21.44 5.248 7.68 8.928 16.256 10.88 25.28 2.272 10.56 3.36 21.28 3.2 32a100.8 100.8 0 0 1-32 84.16 147.84 147.84 0 0 1-93.44 26.24 122.24 122.24 0 0 1-89.28-27.2 105.92 105.92 0 0 1-26.88-77.76v-14.72h73.6v10.88l-0.96-2.88z m202.88-155.84a169.28 169.28 0 0 1 16.96-60.16 96 96 0 0 1 37.76-39.04 161.92 161.92 0 0 1 132.16 0 96 96 0 0 1 37.12 38.4 169.92 169.92 0 0 1 16.96 60.16 768 768 0 0 1 0 153.28 169.6 169.6 0 0 1-16.96 59.84 89.6 89.6 0 0 1-37.76 38.4 170.56 170.56 0 0 1-132.16 0 89.92 89.92 0 0 1-37.76-38.4 168.96 168.96 0 0 1-16.96-59.84 768 768 0 0 1 0.64-152.64z m71.68 139.2c0.64 14.24 3.008 28.288 7.04 41.92 2.56 9.28 7.936 17.6 15.36 23.68a50.56 50.56 0 0 0 52.8 0c7.456-6.08 12.8-14.4 15.36-23.68 4.064-13.6 6.4-27.68 7.04-41.92 1.28-17.28 1.92-38.592 1.92-64 0-25.376-0.64-46.72-1.92-64a176.64 176.64 0 0 0-7.04-41.92 46.72 46.72 0 0 0-15.36-23.68 50.56 50.56 0 0 0-52.8 0c-7.424 6.144-12.8 14.4-15.36 23.68a178.24 178.24 0 0 0-7.04 41.92c-1.28 17.088-1.92 38.4-1.92 64s0.448 46.944 1.28 64h0.64z" fill="#4b55ae" p-id="10598"></path>
  516. </svg>
  517. </div>
  518. </div>
  519. <div class="save-value">
  520. {{
  521. Number(Number(StationinformationData?.qt?.so2)).toFixed(2)
  522. }}
  523. </div>
  524. <div class="save-name">二氧化硫</div>
  525. </div>
  526. </div>
  527. </div> -->
  528. </aside>
  529. <!-- Bottom Bar -->
  530. <div class="bottom-bar" v-if="showWindDetail && showWindDB">
  531. <!-- 损失电量 -->
  532. <div class="panel">
  533. <div class="indicator-title">
  534. <div class="status-title">
  535. <h3>损失电量</h3>
  536. <div class="date">
  537. <div
  538. class="day"
  539. :class="dates === 'D' ? 'active' : ''"
  540. @click="handleChange('D')"
  541. >
  542. </div>
  543. <div
  544. class="mouth"
  545. :class="dates === 'M' ? 'active' : ''"
  546. @click="handleChange('M')"
  547. >
  548. </div>
  549. <div
  550. class="year"
  551. :class="dates === 'Y' ? 'active' : ''"
  552. @click="handleChange('Y')"
  553. >
  554. </div>
  555. </div>
  556. </div>
  557. </div>
  558. <div class="status-concent">
  559. <PieChart
  560. width="100%"
  561. height="100%"
  562. :ratio="10000"
  563. unit="万kWh"
  564. :lossPower="lossPower"
  565. ></PieChart>
  566. </div>
  567. </div>
  568. <!-- 风电场 -->
  569. <div class="panel">
  570. <div class="model-bg-new-right">
  571. <div class="infos">
  572. <div class="titles">
  573. <div class="amount">
  574. <div
  575. class="icon fengji-icon svg-icon svg-icon-white"
  576. :class="
  577. $store.state.moreSty === 'greenSty'
  578. ? 'fengji-icon-box-green'
  579. : 'fengji-icon-box-blue'
  580. "
  581. ></div>
  582. <img
  583. class="amount-image"
  584. src="@/assets/windimgs/wind.png"
  585. alt=""
  586. />
  587. <div class="amount-nums">
  588. <text class="num-item">{{
  589. StationinformationData?.cblpoint?.jr_fj_ts
  590. }}</text>
  591. </div>
  592. </div>
  593. <div class="info-nums">
  594. 风电场<text class="nums">{{
  595. StationinformationData?.cblpoint?.jr_fcts
  596. }}</text>
  597. </div>
  598. </div>
  599. <div class="types">
  600. <div class="type-model">
  601. <div class="type-name" style="color: #1d99ff">待机</div>
  602. <div class="type-num">
  603. {{ StationinformationData?.mxztmap?.fd_djnum || 0 }}
  604. </div>
  605. </div>
  606. <div class="type-model">
  607. <div class="type-name" style="color: #05bb4c">运行</div>
  608. <div class="type-num">
  609. {{ StationinformationData?.mxztmap?.fd_yxnum || 0 }}
  610. </div>
  611. </div>
  612. <div class="type-model">
  613. <div class="type-name" style="color: #ba3237">故障</div>
  614. <div class="type-num">
  615. {{ StationinformationData?.mxztmap?.fd_gznum || 0 }}
  616. </div>
  617. </div>
  618. <div class="type-model">
  619. <div class="type-name" style="color: #e17e23">检修</div>
  620. <div class="type-num">
  621. {{ StationinformationData?.mxztmap?.fd_jxnum || 0 }}
  622. </div>
  623. </div>
  624. <div class="type-model">
  625. <div class="type-name" style="color: #c531c7">限电</div>
  626. <div class="type-num">
  627. {{ StationinformationData?.mxztmap?.fd_xdnum || 0 }}
  628. </div>
  629. </div>
  630. <div class="type-model">
  631. <div class="type-name" style="color: #fff">受累</div>
  632. <div class="type-num">
  633. {{ StationinformationData?.mxztmap?.fd_slnum || 0 }}
  634. </div>
  635. </div>
  636. <div class="type-model">
  637. <div class="type-name" style="color: #606769">离线</div>
  638. <div class="type-num">
  639. {{ StationinformationData?.mxztmap?.fd_lxnum || 0 }}
  640. </div>
  641. </div>
  642. </div>
  643. <div class="tabSwitchover">
  644. <div class="unit"><span>(单位: 万kWh)</span></div>
  645. </div>
  646. <div v-for="(item, index) in ForecastPowerNewHome_fc" :key="index">
  647. <div class="power-charts">
  648. <div class="power-name">{{ item[0].name }}</div>
  649. <div class="power-item">
  650. <div class="power-value">
  651. <span
  652. :style="
  653. item[0].color === 1
  654. ? 'background-color:#4B55AE'
  655. : 'background-color:#05BB4C'
  656. "
  657. ></span>
  658. <span style="color: #606769">{{ item[0].total }}</span>
  659. </div>
  660. <list-bar-chart-2-home
  661. :list="item"
  662. height="55px"
  663. width="250px"
  664. @click="
  665. handleElectricDetail(item[0].id, item[0].name, 'fc')
  666. "
  667. />
  668. </div>
  669. </div>
  670. </div>
  671. </div>
  672. </div>
  673. </div>
  674. <!-- 光伏电站 -->
  675. <div class="panel">
  676. <div class="model-bg-new-right">
  677. <div class="infos">
  678. <div class="titles">
  679. <div class="amount">
  680. <div class="icon fengji-icon fengji-icon-box-blue"></div>
  681. <img
  682. class="amount-image"
  683. src="@/assets/windimgs/sy-sun.png"
  684. alt=""
  685. />
  686. <div class="amount-nums">
  687. <text class="num-item">{{
  688. Number(
  689. StationinformationData?.cblpoint?.jr_gf_jzts +
  690. StationinformationData?.cblpoint?.jr_gf_zcts
  691. ) || 0
  692. }}</text>
  693. </div>
  694. </div>
  695. <div class="info-nums">
  696. 电站<text class="nums">{{
  697. StationinformationData?.cblpoint?.jr_gfts
  698. }}</text>
  699. </div>
  700. </div>
  701. <div class="types">
  702. <div class="type-model">
  703. <div class="type-name" style="color: #1d99ff">待机</div>
  704. <div class="type-num">
  705. {{ StationinformationData?.mxztmap?.gf_djnum || 0 }}
  706. </div>
  707. </div>
  708. <div class="type-model">
  709. <div class="type-name" style="color: #05bb4c">运行</div>
  710. <div class="type-num">
  711. {{ StationinformationData?.mxztmap?.gf_yxnum || 0 }}
  712. </div>
  713. </div>
  714. <div class="type-model">
  715. <div class="type-name" style="color: #ba3237">故障</div>
  716. <div class="type-num">
  717. {{ StationinformationData?.mxztmap?.gf_gznum || 0 }}
  718. </div>
  719. </div>
  720. <div class="type-model">
  721. <div class="type-name" style="color: #e17e23">检修</div>
  722. <div class="type-num">
  723. {{ StationinformationData?.mxztmap?.gf_jxnum || 0 }}
  724. </div>
  725. </div>
  726. <div class="type-model">
  727. <div class="type-name" style="color: #c531c7">限电</div>
  728. <div class="type-num">
  729. {{ StationinformationData?.mxztmap?.gf_xdnum || 0 }}
  730. </div>
  731. </div>
  732. <div class="type-model">
  733. <div class="type-name" style="color: #fff">受累</div>
  734. <div class="type-num">
  735. {{ StationinformationData?.mxztmap?.gf_slnum || 0 }}
  736. </div>
  737. </div>
  738. <div class="type-model">
  739. <div class="type-name" style="color: #606769">离线</div>
  740. <div class="type-num">
  741. {{ StationinformationData?.mxztmap?.gf_lxnum || 0 }}
  742. </div>
  743. </div>
  744. </div>
  745. <div class="tabSwitchover">
  746. <div class="unit"><span>(单位: 万kWh)</span></div>
  747. </div>
  748. <div v-for="(item, index) in ForecastPowerNewHome_gf" :key="index">
  749. <div class="power-charts">
  750. <div class="power-name">{{ item[0].name }}</div>
  751. <div class="power-item">
  752. <div class="power-value">
  753. <span
  754. :style="
  755. index % 2 === 0
  756. ? 'background-color:#4B55AE'
  757. : 'background-color:#05BB4C'
  758. "
  759. ></span>
  760. <span style="color: #606769">{{ item[0].total }}</span>
  761. </div>
  762. <list-bar-chart-2-home
  763. :list="item"
  764. height="55px"
  765. width="250px"
  766. @click="
  767. handleElectricDetail(item[0].id, item[0].name, 'gf')
  768. "
  769. />
  770. </div>
  771. </div>
  772. </div>
  773. </div>
  774. </div>
  775. </div>
  776. </div>
  777. </div>
  778. </template>
  779. <script>
  780. import * as Cesium from "../../Cesium";
  781. import PowerReviewHome from "@/components/windNeedCharts/power-review-home.vue";
  782. import ListBarChart2Home from "@/components/windNeedCharts/list-bar-chart2-home.vue";
  783. import PieChart from "@/components/windNeedCharts/pieChart.vue";
  784. import dataJson from "./mapdataJson.json";
  785. import dataJson2 from "./dataJson.json";
  786. import dayjs from "dayjs";
  787. //并网
  788. import bw from "@/assets/windimgs/fanSvg/bw.svg";
  789. //故障
  790. import gz from "@/assets/windimgs/fanSvg/gz.svg";
  791. //待机
  792. import dj from "@/assets/windimgs/fanSvg/dj.svg";
  793. //检修
  794. import jx from "@/assets/windimgs/fanSvg/jx.svg";
  795. //限电
  796. import xd from "@/assets/windimgs/fanSvg/xd.svg";
  797. //离线
  798. import lx from "@/assets/windimgs/fanSvg/lx.svg";
  799. //受累
  800. import sl from "@/assets/windimgs/fanSvg/sl.svg";
  801. export default {
  802. components: {
  803. PowerReviewHome,
  804. ListBarChart2Home,
  805. PieChart,
  806. },
  807. props: {
  808. showWeather: {
  809. type: Boolean,
  810. default: false,
  811. },
  812. currentHeight: {
  813. type: Number,
  814. default: 0,
  815. },
  816. fjLonLatJsonArr: {
  817. type: Array,
  818. default: () => {
  819. return []
  820. },
  821. },
  822. cesiumViewer: {
  823. type: Object,
  824. default: () => {
  825. return {
  826. clock: null,
  827. };
  828. },
  829. },
  830. },
  831. watch: {
  832. currentHeight: {
  833. handler(val) {
  834. if (val) {
  835. this.progressHeight = Math.ceil(val);
  836. this.progressPoint = Math.ceil((Math.ceil(val) / 10000) * 100);
  837. }
  838. },
  839. },
  840. cesiumViewer(val) {
  841. this.viewer = val || {};
  842. this.getViewerClock();
  843. },
  844. },
  845. data() {
  846. return {
  847. bw,
  848. gz,
  849. jx,
  850. dj,
  851. xd,
  852. lx,
  853. sl,
  854. windvalue: "",
  855. showWindDB: true,
  856. showWeatherDB:true,
  857. progressHeight: 0,
  858. progressPoint: 0,
  859. windmodelArr: [
  860. {
  861. value: "大气层",
  862. check: true,
  863. },
  864. {
  865. value: "地表层",
  866. check: false,
  867. disabled: true,
  868. },
  869. ],
  870. showHeight: 1000,
  871. heightArr: [
  872. {
  873. value: 1000,
  874. check: true,
  875. },
  876. {
  877. value: 850,
  878. check: false,
  879. },
  880. {
  881. value: 700,
  882. check: false,
  883. },
  884. {
  885. value: 500,
  886. check: false,
  887. },
  888. {
  889. value: 250,
  890. check: false,
  891. },
  892. {
  893. value: 70,
  894. check: false,
  895. },
  896. {
  897. value: 10,
  898. check: false,
  899. },
  900. ],
  901. showCover: "风场",
  902. coverArr: [
  903. {
  904. value: "风场",
  905. check: false,
  906. },
  907. {
  908. value: "云层",
  909. check: false,
  910. },
  911. {
  912. value: "降雨",
  913. check: false,
  914. },
  915. {
  916. value: "温度",
  917. check: false,
  918. },
  919. {
  920. value: "湿度",
  921. check: false,
  922. disabled: true,
  923. },
  924. {
  925. value: "3小时累计降雨量",
  926. check: false,
  927. disabled: true,
  928. },
  929. {
  930. value: "水汽含量",
  931. check: false,
  932. disabled: true,
  933. },
  934. {
  935. value: "云中总水量",
  936. check: false,
  937. disabled: true,
  938. },
  939. {
  940. value: "平均海平面压力",
  941. check: false,
  942. disabled: true,
  943. },
  944. ],
  945. activeTab: -1,
  946. wpIds: "KGDL_FGS0",
  947. powerDataHome: {},
  948. StationinformationData: [],
  949. ForecastPowerNewHome_fc: [],
  950. ForecastPowerNewHome_gf: [],
  951. wpInfos: {},
  952. lossPower: {},
  953. dates: "D",
  954. showWindDetail: false,
  955. showWindMsg: true,
  956. marks: {},
  957. currentTime: 0,
  958. cesiumClockTimmer: null,
  959. timeArray: [22, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22],
  960. // timeArray: [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 0],
  961. };
  962. },
  963. mounted() {
  964. this.StationinformationData = dataJson.StationinformationData;
  965. this.powerDataHome = dataJson.powerDataHome;
  966. this.wpInfos = dataJson2.wpInfosdata;
  967. this.findProjectPlan();
  968. let marks = {};
  969. for (let i = 0; i <= 12; i++) {
  970. const timeItem = this.timeArray[i];
  971. marks[i * 120] = timeItem < 10 ? `0${timeItem}` : `${timeItem}`;
  972. }
  973. this.marks = marks;
  974. this.viewer = this.cesiumViewer;
  975. this.cesiumClockTimmer = setInterval(() => {
  976. this.getViewerClock();
  977. }, 1000);
  978. },
  979. unmounted() {
  980. clearInterval(this.cesiumClockTimmer);
  981. this.cesiumClockTimmer = null;
  982. },
  983. methods: {
  984. switchWind(value) {
  985. let data = this.fjLonLatJsonArr[value]
  986. this.$emit("resetChangeWind", data)
  987. },
  988. getViewerClock() {
  989. let currentTime = 0;
  990. if (this?.viewer?.clock?.currentTime) {
  991. currentTime = parseInt(this.viewer.clock.currentTime.secondsOfDay / 60);
  992. }
  993. this.currentTime = currentTime;
  994. },
  995. sliderFormatTooltip(value) {
  996. let m = value % 60;
  997. let h = parseInt(value / 60);
  998. return `当前时间: ${h < 10 ? "0" + h : h}:${m < 10 ? "0" + m : m}`;
  999. },
  1000. changeClockTime() {
  1001. if (this?.viewer?.clock?.currentTime) {
  1002. if (this.cesiumClockTimmer) {
  1003. clearInterval(this.cesiumClockTimmer);
  1004. this.cesiumClockTimmer = null;
  1005. }
  1006. const h = parseInt(this.currentTime / 60);
  1007. const m = this.currentTime % 60;
  1008. const changeUtc = dayjs(
  1009. dayjs().format("YYYY-MM-DD") + ` ${h}:${m}:00`
  1010. ).subtract(4, "hour");
  1011. this.viewer.clock.currentTime = Cesium.JulianDate.fromDate(
  1012. new Date(changeUtc)
  1013. );
  1014. }
  1015. },
  1016. resetClockTimmer() {
  1017. if (!this.cesiumClockTimmer) {
  1018. this.cesiumClockTimmer = setInterval(() => {
  1019. this.getViewerClock();
  1020. }, 1000);
  1021. }
  1022. },
  1023. scopeColor() {
  1024. if (this.showCover === "风场" || this.showCover === "温度") {
  1025. return "valuess";
  1026. } else if (this.showCover === "云层") {
  1027. return "valuessColund";
  1028. } else if (this.showCover === "降雨") {
  1029. return "valuessTemp";
  1030. }
  1031. },
  1032. scopeUnit() {
  1033. if (this.showCover === "风场") {
  1034. return "(m/s)";
  1035. } else if (this.showCover === "温度") {
  1036. return "(°C)";
  1037. } else if (this.showCover === "云层") {
  1038. return "(%)";
  1039. } else if (this.showCover === "降雨") {
  1040. return "(mm)";
  1041. }
  1042. },
  1043. scopeNumMin() {
  1044. if (this.showCover === "风场") {
  1045. return "0.0";
  1046. } else if (this.showCover === "温度") {
  1047. return "-12";
  1048. } else if (this.showCover === "云层") {
  1049. return "0.0";
  1050. } else if (this.showCover === "降雨") {
  1051. return "0.0";
  1052. }
  1053. },
  1054. scopeNumMax() {
  1055. if (this.showCover === "风场") {
  1056. return "25.0";
  1057. } else if (this.showCover === "温度") {
  1058. return "40";
  1059. } else if (this.showCover === "云层") {
  1060. return "100.0";
  1061. } else if (this.showCover === "降雨") {
  1062. return "50";
  1063. }
  1064. },
  1065. backStations() {
  1066. // this.$emit("backStations")
  1067. this.$router.push({
  1068. path: "/",
  1069. });
  1070. },
  1071. showWeatherMes() {
  1072. this.showWeatherDB = !this.showWeatherDB;
  1073. },
  1074. showWindMes() {
  1075. this.showWindDB = !this.showWindDB;
  1076. },
  1077. initView() {
  1078. this.$emit("initView")
  1079. },
  1080. valueOnChange(it) {
  1081. this.heightArr.forEach((it) => {
  1082. it.check = false;
  1083. });
  1084. it.check = true;
  1085. this.showHeight = it.value;
  1086. },
  1087. coverOnChange(itv) {
  1088. this.coverArr.forEach((it) => {
  1089. if (itv === it) {
  1090. it.check = !it.check;
  1091. } else {
  1092. it.check = false;
  1093. }
  1094. });
  1095. this.showCover = itv.value;
  1096. this.$emit("coverOnChange", itv);
  1097. },
  1098. showDetail() {
  1099. this.showWindDetail = !this.showWindDetail;
  1100. this.findProjectPlan();
  1101. this.$emit("showDetail", this.showWindDetail);
  1102. },
  1103. showMsg() {
  1104. this.showWindMsg = !this.showWindMsg;
  1105. },
  1106. // 发电量
  1107. findProjectPlan() {
  1108. let data = dataJson.FindProjectplanData;
  1109. this.ForecastPowerNewHome_fc = [
  1110. [
  1111. {
  1112. name: "日发电量",
  1113. id: "day",
  1114. value: data?.proplanmap
  1115. ? data?.proplanmap?.fd_r_sjdl < 0
  1116. ? 0
  1117. : (data?.proplanmap?.fd_r_sjdl / 10000).toFixed(2)
  1118. : 0,
  1119. color: this.$store.state.moreSty === "greenSty" ? 0 : 1,
  1120. total: data?.proplanmap
  1121. ? data?.proplanmap?.fd_r_jhdl < 0
  1122. ? 0
  1123. : data?.proplanmap?.fd_r_jhdl
  1124. : 0,
  1125. },
  1126. ],
  1127. [
  1128. {
  1129. name: "月发电量",
  1130. id: "month",
  1131. value: data?.proplanmap
  1132. ? data?.proplanmap?.fd_y_sjdl < 0
  1133. ? 0
  1134. : (data?.proplanmap?.fd_y_sjdl / 10000).toFixed(2)
  1135. : 0,
  1136. color: this.$store.state.moreSty === "greenSty" ? 0 : 1,
  1137. total: data?.proplanmap
  1138. ? data?.proplanmap?.fd_y_jhdl < 0
  1139. ? 0
  1140. : data?.proplanmap?.fd_y_jhdl
  1141. : 0,
  1142. },
  1143. ],
  1144. [
  1145. {
  1146. name: "年发电量",
  1147. id: "year",
  1148. value: data?.proplanmap
  1149. ? data?.proplanmap?.fd_n_sjdl < 0
  1150. ? 0
  1151. : (data?.proplanmap?.fd_n_sjdl / 10000).toFixed(2)
  1152. : 0,
  1153. color: this.$store.state.moreSty === "greenSty" ? 0 : 1,
  1154. total: data?.proplanmap
  1155. ? data?.proplanmap?.fd_n_jhdl < 0
  1156. ? 0
  1157. : data?.proplanmap?.fd_n_jhdl
  1158. : 0,
  1159. },
  1160. ],
  1161. ];
  1162. this.ForecastPowerNewHome_gf = [
  1163. [
  1164. {
  1165. name: "日发电量",
  1166. id: "day",
  1167. value: data?.proplanmap
  1168. ? data?.proplanmap?.gf_r_sjdl < 0
  1169. ? 0
  1170. : (data?.proplanmap?.gf_r_sjdl / 10000).toFixed(2)
  1171. : 0,
  1172. color: this.$store.state.moreSty === "greenSty" ? 0 : 1,
  1173. total: data?.proplanmap
  1174. ? data?.proplanmap?.gf_r_jhdl < 0
  1175. ? 0
  1176. : data?.proplanmap?.gf_r_jhdl
  1177. : 0,
  1178. },
  1179. ],
  1180. [
  1181. {
  1182. name: "月发电量",
  1183. id: "month",
  1184. value: data?.proplanmap
  1185. ? data?.proplanmap?.gf_y_sjdl < 0
  1186. ? 0
  1187. : (data?.proplanmap?.gf_y_sjdl / 10000).toFixed(2)
  1188. : 0,
  1189. color: this.$store.state.moreSty === "greenSty" ? 0 : 1,
  1190. total: data?.proplanmap
  1191. ? data?.proplanmap?.gf_y_jhdl < 0
  1192. ? 0
  1193. : data?.proplanmap?.gf_y_jhdl
  1194. : 0,
  1195. },
  1196. ],
  1197. [
  1198. {
  1199. name: "年发电量",
  1200. id: "year",
  1201. value: data?.proplanmap
  1202. ? data?.proplanmap?.gf_n_sjdl < 0
  1203. ? 0
  1204. : (data?.proplanmap?.gf_n_sjdl / 10000).toFixed(2)
  1205. : 0,
  1206. color: this.$store.state.moreSty === "greenSty" ? 0 : 1,
  1207. total: data?.proplanmap
  1208. ? data?.proplanmap?.gf_n_jhdl < 0
  1209. ? 0
  1210. : data?.proplanmap?.gf_n_jhdl
  1211. : 0,
  1212. },
  1213. ],
  1214. ];
  1215. this.lossPower = {
  1216. SFDL: this.wpInfos.rfdl,
  1217. GZSS: this.wpInfos.rgzssdl,
  1218. WHSS: this.wpInfos.rwhssdl,
  1219. SLSS: this.wpInfos.rslssdl,
  1220. XDSS: this.wpInfos.rxdssdl,
  1221. XNSS: this.wpInfos.rxnssdl,
  1222. SUM:
  1223. this.wpInfos.rfdl +
  1224. this.wpInfos.rgzssdl +
  1225. this.wpInfos.rwhssdl +
  1226. this.wpInfos.rslssdl +
  1227. this.wpInfos.rxdssdl +
  1228. this.wpInfos.rxnssdl,
  1229. };
  1230. },
  1231. // 损失电量切换
  1232. handleChange(val) {
  1233. this.dates = val;
  1234. this.getLossValuesAnalyse(val);
  1235. },
  1236. // 改变损失电量数据
  1237. getLossValuesAnalyse(date) {
  1238. if (Object.values(this.wpInfos).length) {
  1239. if (date == "D") {
  1240. this.lossPower = {
  1241. SFDL: this.wpInfos.rfdl,
  1242. GZSS: this.wpInfos.rgzssdl,
  1243. WHSS: this.wpInfos.rwhssdl,
  1244. SLSS: this.wpInfos.rslssdl,
  1245. XDSS: this.wpInfos.rxdssdl,
  1246. XNSS: this.wpInfos.rxnssdl,
  1247. SUM:
  1248. this.wpInfos.rfdl +
  1249. this.wpInfos.rgzssdl +
  1250. this.wpInfos.rwhssdl +
  1251. this.wpInfos.rslssdl +
  1252. this.wpInfos.rxdssdl +
  1253. this.wpInfos.rxnssdl,
  1254. };
  1255. } else if (date == "M") {
  1256. this.lossPower = {
  1257. SFDL: this.wpInfos.yfdl,
  1258. GZSS: this.wpInfos.ygzssdl,
  1259. WHSS: this.wpInfos.ywhssdl,
  1260. SLSS: this.wpInfos.yslssdl,
  1261. XDSS: this.wpInfos.yxdssdl,
  1262. XNSS: this.wpInfos.yxnssdl,
  1263. SUM:
  1264. this.wpInfos.yfdl +
  1265. this.wpInfos.ygzssdl +
  1266. this.wpInfos.ywhssdl +
  1267. this.wpInfos.yslssdl +
  1268. this.wpInfos.yxdssdl +
  1269. this.wpInfos.yxnssdl,
  1270. };
  1271. } else if (date == "Y") {
  1272. this.lossPower = {
  1273. SFDL: this.wpInfos.nfdl,
  1274. GZSS: this.wpInfos.ngzssdl,
  1275. WHSS: this.wpInfos.nwhssdl,
  1276. SLSS: this.wpInfos.nslssdl,
  1277. XDSS: this.wpInfos.nxdssdl,
  1278. XNSS: this.wpInfos.nxnssdl,
  1279. SUM:
  1280. this.wpInfos.nfdl +
  1281. this.wpInfos.ngzssdl +
  1282. this.wpInfos.nwhssdl +
  1283. this.wpInfos.nslssdl +
  1284. this.wpInfos.nxdssdl +
  1285. this.wpInfos.nxnssdl,
  1286. };
  1287. } else {
  1288. this.lossPower = {};
  1289. }
  1290. }
  1291. },
  1292. },
  1293. };
  1294. </script>
  1295. <style lang="less" scoped>
  1296. .panel {
  1297. background: rgba(248, 249, 252, 0.85);
  1298. backdrop-filter: blur(15px);
  1299. -webkit-backdrop-filter: blur(15px);
  1300. border: 1px solid rgba(255, 255, 255, 0.2);
  1301. border-radius: 12px;
  1302. box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
  1303. padding: 20px;
  1304. }
  1305. .btnms {
  1306. display: flex;
  1307. }
  1308. /* --- Left Sidebar --- */
  1309. .sidebar-left,
  1310. .sidebar-left-top {
  1311. position: absolute;
  1312. left: 20px;
  1313. }
  1314. .btnms1 {
  1315. left: 20px;
  1316. top: 80px;
  1317. }
  1318. .btnms2 {
  1319. left: 75px;
  1320. top: 80px;
  1321. }
  1322. .btnms3{
  1323. left: 186px;
  1324. top: 80px;
  1325. }
  1326. .btnms4{
  1327. left: 20px;
  1328. top: 120px;
  1329. }
  1330. .sidebar-left-top {
  1331. padding: 3px 10px;
  1332. border-radius: 8px;
  1333. backdrop-filter: blur(10px);
  1334. border: 1px solid rgba(255, 255, 255, 0.2);
  1335. background: rgba(255, 255, 255, 0.15);
  1336. }
  1337. .sidebar-left {
  1338. top: 160px;
  1339. width: 260px;
  1340. }
  1341. .stat-block-lefttop {
  1342. text-align: center;
  1343. cursor: pointer;
  1344. .label {
  1345. font-size: 14px;
  1346. color: #fff;
  1347. }
  1348. }
  1349. .stat-block {
  1350. margin-bottom: 15px;
  1351. }
  1352. .stat-block .label {
  1353. font-size: 26px;
  1354. color: #6c757d;
  1355. margin-bottom: 5px;
  1356. }
  1357. .stat-block .value {
  1358. font-size: 32px;
  1359. font-weight: 600;
  1360. color: #4b55ae;
  1361. }
  1362. .stat-block .labels {
  1363. font-size: 14px;
  1364. color: #6c757d;
  1365. margin-bottom: 5px;
  1366. }
  1367. .stat-block .values {
  1368. font-size: 16px;
  1369. font-weight: 600;
  1370. color: #4b55ae;
  1371. }
  1372. .progress-bar {
  1373. height: 4px;
  1374. background: #e9ecef;
  1375. border-radius: 2px;
  1376. margin-top: 10px;
  1377. }
  1378. .progress-bar-inner {
  1379. height: 100%;
  1380. background: #6c757d;
  1381. border-radius: 2px;
  1382. }
  1383. /* --- Right Sidebar --- */
  1384. .sidebar-right {
  1385. position: absolute;
  1386. top: 20px;
  1387. right: 20px;
  1388. width: 380px;
  1389. height: calc(100% - 40px);
  1390. display: flex;
  1391. flex-direction: column;
  1392. gap: 20px;
  1393. .info-section {
  1394. h3 {
  1395. font-size: 16px;
  1396. font-weight: 600;
  1397. text-transform: uppercase;
  1398. color: #6c757d;
  1399. margin-bottom: 5px;
  1400. }
  1401. }
  1402. .energy-system-content {
  1403. padding: 5px 5px 15px 5px;
  1404. .title-all {
  1405. margin-left: 5px;
  1406. margin-bottom: 8px;
  1407. }
  1408. .title-all-content {
  1409. font-weight: bold;
  1410. font-size: 19px;
  1411. color: #4b55ae;
  1412. }
  1413. .title-all-title {
  1414. font-size: 13px;
  1415. }
  1416. .title-all-unit {
  1417. font-size: 12px;
  1418. color: #b1b1b1;
  1419. margin-left: 5px;
  1420. }
  1421. .title {
  1422. color: #6c757d;
  1423. text-align: right;
  1424. .title-name {
  1425. float: left;
  1426. font-size: 16px;
  1427. font-weight: 600;
  1428. text-transform: uppercase;
  1429. }
  1430. }
  1431. .right-content,
  1432. .left-content {
  1433. width: 50%;
  1434. .img-num {
  1435. display: flex;
  1436. justify-content: left;
  1437. align-items: center;
  1438. padding-left: 10px;
  1439. .img {
  1440. margin-right: 10px;
  1441. }
  1442. .num {
  1443. span {
  1444. font-size: 12px;
  1445. font-weight: 400;
  1446. color: #6c757d;
  1447. }
  1448. span:nth-child(3) {
  1449. font-size: 19px;
  1450. font-weight: bold;
  1451. line-height: 27px;
  1452. color: #4b55ae;
  1453. }
  1454. span:nth-child(4) {
  1455. margin-left: 15px;
  1456. }
  1457. }
  1458. }
  1459. .capacity {
  1460. .item {
  1461. margin-top: 9px;
  1462. .el-row {
  1463. text-align: center;
  1464. .el-col:nth-child(1) {
  1465. font-size: 12px;
  1466. font-weight: 400;
  1467. color: #6c757d;
  1468. }
  1469. .el-col:nth-child(2) {
  1470. font-size: 16px;
  1471. font-weight: bold;
  1472. color: #4b55ae;
  1473. }
  1474. .el-col:nth-child(3) {
  1475. font-size: 14px;
  1476. font-weight: 400;
  1477. color: #6c757d;
  1478. }
  1479. }
  1480. }
  1481. }
  1482. }
  1483. .left-content {
  1484. }
  1485. .right-content {
  1486. border-left: 1px dashed #4e4040;
  1487. padding-left: 10px;
  1488. }
  1489. }
  1490. .clearfix::after {
  1491. content: "";
  1492. clear: both;
  1493. height: 0;
  1494. line-height: 0;
  1495. visibility: hidden;
  1496. display: block;
  1497. }
  1498. .clearfix {
  1499. zoom: 1;
  1500. }
  1501. .model-bg {
  1502. width: 100%;
  1503. min-height: 135px;
  1504. // background-color: rgba(3, 5, 9, 0.5);
  1505. border-radius: 6px;
  1506. display: flex;
  1507. flex-direction: column;
  1508. padding: 0 2%;
  1509. .titles {
  1510. height: 45px;
  1511. display: flex;
  1512. flex-direction: row;
  1513. align-items: center;
  1514. justify-content: space-between;
  1515. .name {
  1516. font-size: 16px;
  1517. font-weight: 600;
  1518. text-transform: uppercase;
  1519. color: #6c757d;
  1520. }
  1521. .unit {
  1522. font-size: 12px;
  1523. color: #b1b1b1;
  1524. }
  1525. }
  1526. .save {
  1527. display: flex;
  1528. flex-direction: row;
  1529. align-items: center;
  1530. width: 100%;
  1531. margin: 17px 0;
  1532. .save-item {
  1533. width: 25%;
  1534. display: flex;
  1535. flex-direction: column;
  1536. align-items: center;
  1537. .kind {
  1538. width: 20px;
  1539. height: 22px;
  1540. .co2,
  1541. .so2 {
  1542. svg {
  1543. width: 24px;
  1544. height: 24px;
  1545. }
  1546. }
  1547. .jnjp-icon1 {
  1548. margin-left: -8px;
  1549. }
  1550. .kind-img {
  1551. width: 100%;
  1552. height: 100%;
  1553. }
  1554. }
  1555. .save-value {
  1556. font-size: 16px;
  1557. color: #6c757d;
  1558. margin: 10px 0;
  1559. }
  1560. .save-name {
  1561. font-size: 12px;
  1562. color: #b3b3b3;
  1563. }
  1564. }
  1565. }
  1566. }
  1567. }
  1568. .sidebar-left2 {
  1569. position: absolute;
  1570. left: 20px;
  1571. bottom: 20px;
  1572. width: 500px;
  1573. .windStatus {
  1574. display: flex;
  1575. flex-direction: column;
  1576. .windVal {
  1577. position: relative;
  1578. top: 5px;
  1579. left: 10px;
  1580. }
  1581. }
  1582. .covercheck {
  1583. display: inline-block;
  1584. width: 100%;
  1585. .el-check-tag {
  1586. margin: 0 5px 3px 0;
  1587. padding: 5px 8px;
  1588. }
  1589. .is-disabled {
  1590. background: #d4d4d4;
  1591. color: #909090;
  1592. }
  1593. }
  1594. }
  1595. .stat-block2 {
  1596. margin-bottom: 10px;
  1597. display: flex;
  1598. .op-progress-bar {
  1599. width: 240px;
  1600. height: 6px;
  1601. background: #e9ecef;
  1602. border-radius: 3px;
  1603. margin-top: 8px;
  1604. margin: 8px 5px 0 5px;
  1605. .op-progress-bar-inner {
  1606. height: 100%;
  1607. background: #134ac0;
  1608. border-radius: 3px;
  1609. overflow: hidden;
  1610. }
  1611. }
  1612. .labels {
  1613. font-size: 15px;
  1614. color: #6c757d;
  1615. width: 40px;
  1616. font-weight: 600;
  1617. display: block;
  1618. border-right: 2px solid #6c757d;
  1619. }
  1620. .values {
  1621. font-size: 15px;
  1622. font-weight: 600;
  1623. color: #4b55ae;
  1624. margin-left: 8px;
  1625. }
  1626. .valuess {
  1627. margin-left: 5px;
  1628. display: inline-block;
  1629. width: 230px;
  1630. height: 10px;
  1631. background: linear-gradient(
  1632. 90deg,
  1633. rgb(36, 104, 180),
  1634. rgb(60, 157, 194),
  1635. rgb(151, 218, 168),
  1636. rgb(198, 231, 181),
  1637. rgb(238, 247, 217),
  1638. rgb(255, 238, 159),
  1639. rgb(252, 217, 125),
  1640. rgb(255, 182, 100),
  1641. rgb(252, 150, 75),
  1642. rgb(250, 112, 52),
  1643. rgb(245, 64, 32),
  1644. rgb(237, 45, 28),
  1645. rgb(220, 24, 32),
  1646. rgb(180, 0, 35)
  1647. );
  1648. position: relative;
  1649. top: 6px;
  1650. }
  1651. .valuessColund {
  1652. margin-left: 5px;
  1653. display: inline-block;
  1654. width: 230px;
  1655. height: 10px;
  1656. background: linear-gradient(
  1657. 90deg,
  1658. rgba(255, 255, 255, 0),
  1659. rgb(255, 255, 255, 1)
  1660. );
  1661. position: relative;
  1662. top: 6px;
  1663. }
  1664. .valuessTemp {
  1665. margin-left: 5px;
  1666. display: inline-block;
  1667. width: 230px;
  1668. height: 10px;
  1669. background: linear-gradient(
  1670. 90deg,
  1671. rgba(255, 255, 255, 0),
  1672. rgb(0, 110, 255)
  1673. );
  1674. position: relative;
  1675. top: 6px;
  1676. }
  1677. .heightcheck,
  1678. .covercheck {
  1679. display: inline-block;
  1680. margin-left: 5px;
  1681. .el-check-tag {
  1682. padding: 5px 8px;
  1683. margin-right: 3px;
  1684. }
  1685. }
  1686. .covercheck {
  1687. width: 380px;
  1688. margin-left: 5px;
  1689. .el-check-tag {
  1690. margin: 0 2px 3px 0;
  1691. margin-right: 5px;
  1692. }
  1693. }
  1694. }
  1695. /* --- Bottom Bar --- */
  1696. .bottom-bar {
  1697. position: absolute;
  1698. bottom: 20px;
  1699. left: 20px;
  1700. right: 420px; /* Make space for right sidebar */
  1701. display: grid;
  1702. grid-template-columns: 1.2fr 1.2fr 1.2fr;
  1703. gap: 20px;
  1704. }
  1705. </style>
  1706. <style lang="less">
  1707. .windSty{
  1708. .el-select__wrapper{
  1709. background: transparent !important;
  1710. box-shadow: none;
  1711. }
  1712. .is-hovering:not(.is-focused){
  1713. background: transparent !important;
  1714. box-shadow: none;
  1715. }
  1716. .el-select__placeholder {
  1717. color: #fff !important;
  1718. }
  1719. }
  1720. .currentSlider {
  1721. .el-slider__runway {
  1722. background: linear-gradient(
  1723. 90deg,
  1724. #0a1931 0%,
  1725. /* 凌晨4点 - 深蓝色 */ #1b3b6f 15%,
  1726. /* 清晨 - 蓝色 */ #4a90e2 30%,
  1727. /* 早晨 - 浅蓝色 */ #f7d038 45%,
  1728. /* 上午 - 黄色 */ #ffffff 60%,
  1729. /* 正午 - 白色 */ #ff9966 75%,
  1730. /* 傍晚 - 橙色 */ #6a3093 90%,
  1731. /* 夜晚 - 深紫色 */ #0a1931 100% /* 凌晨4点 - 深蓝色 */
  1732. );
  1733. // background: linear-gradient(
  1734. // to right,
  1735. // #0d1b2a 0%,
  1736. // /* 22:00 - 深夜 */ #1b263b 8.33%,
  1737. // /* 00:00 */ #1b263b 16.67%,
  1738. // /* 02:00 */ #415a77 25%,
  1739. // /* 04:00 - 黎明前 */ #778da9 33.33%,
  1740. // /* 06:00 - 清晨 */ #a8c0e0 41.67%,
  1741. // /* 08:00 */ #d4e4f7 50%,
  1742. // /* 10:00 */ #ffffff 58.33%,
  1743. // /* 12:00 - 正午 */ #ffffff 66.67%,
  1744. // /* 14:00 */ #fff9e6 75%,
  1745. // /* 16:00 */ #ffd89b 83.33%,
  1746. // /* 18:00 - 黄昏 */ #b4846c 91.67%,
  1747. // /* 20:00 */ #0d1b2a 100% /* 22:00 */
  1748. // );
  1749. }
  1750. .el-slider__bar {
  1751. background: transparent;
  1752. }
  1753. }
  1754. .model-bg-new-right {
  1755. width: 100%;
  1756. min-height: 135px;
  1757. border-radius: 6px;
  1758. display: flex;
  1759. flex-direction: column;
  1760. // padding: 1% 5%;
  1761. .power-charts {
  1762. display: flex;
  1763. flex-direction: row;
  1764. align-items: flex-end;
  1765. width: 100%;
  1766. margin-top: 10px;
  1767. .power-name {
  1768. width: 80px;
  1769. margin-bottom: 20px;
  1770. color: #6c757d;
  1771. }
  1772. .power-item {
  1773. display: flex;
  1774. flex-direction: column;
  1775. width: 360px;
  1776. .power-value {
  1777. font-size: 12px;
  1778. margin-bottom: -31px;
  1779. font-family: Bicubik;
  1780. margin-left: 255px;
  1781. span:nth-child(1) {
  1782. width: 5px;
  1783. height: 5px;
  1784. border-radius: 5px;
  1785. display: inline-block;
  1786. background-color: #6c757d;
  1787. margin-right: 5px;
  1788. }
  1789. .green-value {
  1790. color: #05bb4c;
  1791. }
  1792. .purple-value {
  1793. color: #4b55ae;
  1794. }
  1795. }
  1796. }
  1797. }
  1798. .infos {
  1799. display: flex;
  1800. flex-direction: column;
  1801. width: 50%;
  1802. height: 100%;
  1803. width: 100%;
  1804. .titles {
  1805. display: flex;
  1806. flex-direction: row;
  1807. align-items: center;
  1808. justify-content: space-between;
  1809. // padding: 0 15px;
  1810. height: 50%;
  1811. .amount {
  1812. display: flex;
  1813. flex-direction: row;
  1814. align-items: center;
  1815. .amount-image {
  1816. margin-left: -42px;
  1817. }
  1818. .amount-nums {
  1819. font-size: 12px;
  1820. color: #6c757d;
  1821. margin-left: 10px;
  1822. display: flex;
  1823. flex-direction: row;
  1824. align-items: baseline;
  1825. .num-item {
  1826. font-size: 20px;
  1827. color: #6c757d;
  1828. margin-right: 5px;
  1829. }
  1830. }
  1831. }
  1832. .info-nums {
  1833. display: flex;
  1834. align-items: baseline;
  1835. font-size: 14px;
  1836. color: #6c757d;
  1837. .nums {
  1838. font-size: 20px;
  1839. color: #4b55ae;
  1840. margin: 0 5px;
  1841. }
  1842. }
  1843. }
  1844. .tabSwitchover {
  1845. // height: 23px;
  1846. margin-top: 5px;
  1847. .tabSwitchover-item {
  1848. width: 42px;
  1849. line-height: 23px;
  1850. text-align: center;
  1851. color: #b3b3b3;
  1852. float: left;
  1853. cursor: pointer;
  1854. }
  1855. .tab-active {
  1856. border-bottom: 1px solid rgb(39, 219, 54);
  1857. background: linear-gradient(
  1858. to top,
  1859. rgba(5, 187, 76, 0.5),
  1860. rgba(5, 187, 76, 0)
  1861. );
  1862. }
  1863. .unit {
  1864. text-align: right;
  1865. color: #b1b1b1;
  1866. font-size: 12px;
  1867. // float: right;
  1868. }
  1869. }
  1870. .types {
  1871. display: flex;
  1872. flex-direction: row;
  1873. align-items: center;
  1874. height: 50%;
  1875. width: 100%;
  1876. margin-top: 15px;
  1877. padding-bottom: 10px;
  1878. border-bottom: 1px solid #b5b5b5;
  1879. .type-model {
  1880. display: flex;
  1881. flex-direction: column;
  1882. justify-content: space-between;
  1883. align-items: center;
  1884. width: 16%;
  1885. // height: 75%;
  1886. font-size: 16px;
  1887. .type-name {
  1888. font-size: 14px;
  1889. font-family: Agency FB;
  1890. margin-bottom: 10px;
  1891. }
  1892. .type-num {
  1893. height: 15px;
  1894. color: #6c757d;
  1895. }
  1896. }
  1897. }
  1898. }
  1899. }
  1900. .fengji-icon-box-blue {
  1901. box-shadow: inset 1.5px -1px 1px 0px #4b55ae;
  1902. }
  1903. .fengji-icon {
  1904. border-radius: 50%;
  1905. width: 49px;
  1906. height: 49px;
  1907. animation: fadenum 5s linear infinite;
  1908. @keyframes fadenum {
  1909. 100% {
  1910. transform: rotate(360deg);
  1911. }
  1912. }
  1913. svg {
  1914. width: 25px;
  1915. height: 22px;
  1916. }
  1917. }
  1918. .indicator-title {
  1919. display: flex;
  1920. flex-direction: row;
  1921. align-items: center;
  1922. position: relative;
  1923. width: 100%;
  1924. height: 39px;
  1925. border-bottom: 1px solid rgba(153, 153, 153, 0.5);
  1926. font-size: 14px;
  1927. font-family: Microsoft YaHei;
  1928. font-weight: 400;
  1929. color: #6c757d;
  1930. }
  1931. .status-title {
  1932. width: 100%;
  1933. display: flex;
  1934. flex-direction: row;
  1935. align-items: center;
  1936. justify-content: space-between;
  1937. h3 {
  1938. font-size: 16px;
  1939. font-weight: 600;
  1940. text-transform: uppercase;
  1941. color: #6c757d;
  1942. margin-bottom: 5px;
  1943. }
  1944. }
  1945. .date {
  1946. display: flex;
  1947. flex-direction: row;
  1948. align-items: center;
  1949. font-size: 12px;
  1950. font-family: Microsoft YaHei;
  1951. font-weight: 400;
  1952. color: #b3b3b3;
  1953. cursor: pointer;
  1954. .day {
  1955. display: flex;
  1956. align-items: center;
  1957. justify-content: center;
  1958. width: 30px;
  1959. height: 22px;
  1960. border: 1px solid #4b55ae;
  1961. border-radius: 11px 0px 0px 11px;
  1962. background: rgba(67, 81, 107, 0.2);
  1963. &.active {
  1964. background: rgba(5, 102, 187, 0.4);
  1965. color: #fff;
  1966. }
  1967. }
  1968. .mouth {
  1969. display: flex;
  1970. align-items: center;
  1971. justify-content: center;
  1972. width: 30px;
  1973. height: 22px;
  1974. border-top: 1px solid #4b55ae;
  1975. border-bottom: 1px solid #4b55ae;
  1976. background: rgba(67, 81, 107, 0.2);
  1977. &.active {
  1978. background: rgba(5, 102, 187, 0.4);
  1979. color: #fff;
  1980. }
  1981. }
  1982. .year {
  1983. display: flex;
  1984. align-items: center;
  1985. justify-content: center;
  1986. width: 30px;
  1987. height: 22px;
  1988. border: 1px solid #4b55ae;
  1989. border-radius: 0px 11px 11px 0px;
  1990. background: rgba(67, 81, 107, 0.2);
  1991. &.active {
  1992. background: rgba(5, 102, 187, 0.4);
  1993. color: #fff;
  1994. }
  1995. }
  1996. }
  1997. .status-concent {
  1998. width: 100%;
  1999. height: calc(100% - 20px);
  2000. }
  2001. .info-section {
  2002. font-size: 13px;
  2003. }
  2004. .info-section h3 {
  2005. font-size: 12px;
  2006. font-weight: 600;
  2007. text-transform: uppercase;
  2008. color: #6c757d;
  2009. margin-bottom: 15px;
  2010. }
  2011. .info-item {
  2012. display: flex;
  2013. justify-content: space-between;
  2014. margin-bottom: 12px;
  2015. padding: 0 5px;
  2016. }
  2017. .info-item .label {
  2018. color: #6c757d;
  2019. }
  2020. .info-item .value {
  2021. color: #6c757d;
  2022. display: flex;
  2023. align-items: center;
  2024. gap: 5px;
  2025. }
  2026. </style>