index.vue 68 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790
  1. <template>
  2. <div class="homePage" :class="!swichTheme ? 'themeDarkHome' : 'themeLightHome'">
  3. <div class="homeMain">
  4. <div class="leftMain">
  5. <div style="height:55px"></div>
  6. <!-- 天气预测 -->
  7. <div class="weather">
  8. <div class="comHeader">
  9. <div class="headerLeft">
  10. <span class="gray"></span>
  11. <span class="blue"></span>
  12. </div>
  13. <div class="headerRight">
  14. <span class="headerName">天气预测</span>
  15. <span class="headerZs">
  16. <span class="headerZsN"></span>
  17. </span>
  18. </div>
  19. </div>
  20. <div class="weatherMain">
  21. <div class="weatherMain_top">
  22. <div class="wetherImg">
  23. <img :src="!swichTheme ? tianqi : tianqiW" alt="">
  24. </div>
  25. <div class="wetherMsg">
  26. <span class="wetherMsg_Du">{{weatherFrom.temperature}}°</span>
  27. <div class="wetherMsg_Det">
  28. <span style="margin-left:5px">{{weatherFrom.weather}}</span>
  29. <span>{{weatherFrom.wind_direction}}</span>
  30. <span>{{weatherFrom.wind_power}}</span>
  31. </div>
  32. </div>
  33. </div>
  34. <div class="weatherMain_bot">
  35. <div class="weaMain" v-for="it in weatherArr" :key="it.name">
  36. <img :src="it.img" alt="">
  37. <p class="pOne">{{it.value}}</p>
  38. <p class="pTwo">{{it.name}}</p>
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. <!-- 预测电量 -->
  44. <div class="Electric">
  45. <div class="comHeader">
  46. <div class="headerLeft">
  47. <span class="gray"></span>
  48. <span class="blue"></span>
  49. </div>
  50. <div class="headerRight">
  51. <div class="headerNaAll">
  52. <span class="headerNa">预测电量</span>
  53. <span class="headerNa2">单位:万kWh</span>
  54. </div>
  55. <span class="headerZs">
  56. <span class="headerZsN"></span>
  57. </span>
  58. </div>
  59. </div>
  60. <div class="electricMain">
  61. <div v-for="(item, index) in dayFa" :key="index" class="electricMain_day">
  62. <div class="powerCharts">
  63. <div class="powerName">{{ item[0].name }}</div>
  64. <div class="powerItem">
  65. <forecast-bar-component :list="item" height="40px" width="370px"
  66. :theme="swichTheme" />
  67. <div class="powerValue">
  68. <span style="background-color:#FF9B23"></span>
  69. <span>{{ item[0].value }}</span>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. <div style="margin-top: 20px">
  75. <div v-for="(item, index) in monthFa" :key="index" class="electricMain_month">
  76. <div class="powerCharts">
  77. <div class="powerName">{{ item[0].name }}</div>
  78. <div class="powerItem">
  79. <forecast-bar-component :list="item" height="40px" width="410px"
  80. :theme="swichTheme" />
  81. <div class="powerValue powerValuesc">
  82. <span style="background-color:#FF9B23"></span>
  83. <span>{{ item[0].value }}</span>
  84. </div>
  85. </div>
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. <!-- 实际功率 -->
  92. <div class="power">
  93. <div class="comHeader">
  94. <div class="headerLeft">
  95. <span class="gray"></span>
  96. <span class="blue"></span>
  97. </div>
  98. <div class="headerRight">
  99. <div class="headerNaAll">
  100. <span class="headerNa">实际功率</span>
  101. <span class="headerNa2">单位:万kWh</span>
  102. </div>
  103. <span class="headerZs">
  104. <span class="headerZsN"></span>
  105. </span>
  106. </div>
  107. </div>
  108. <div class="powerMain">
  109. <echarts-gauge-component :data="powerDataHome" :theme="swichTheme" />
  110. </div>
  111. </div>
  112. </div>
  113. <div class="map">
  114. <p class="dingbian">定边县</p>
  115. <p class="jingbian">靖边县</p>
  116. <div class="fengjiSty" v-for="it in fengjiArr" :key="it" :style="fengjiStyFn(it)">
  117. <div class="mainSv">
  118. <img :src="fengji" class="fengjiImg">
  119. <img :src="quan" class="quanImg">
  120. <img :src="fengjiBack" class="fengjiBackImg">
  121. <span class="dianSty"></span>
  122. </div>
  123. <div class="mainMsg">
  124. <span>{{it.name}}</span>
  125. </div>
  126. </div>
  127. </div>
  128. <div class="rightMain">
  129. <div style="height:55px"></div>
  130. <!-- 电量分析 -->
  131. <div class="powerAnalysis">
  132. <div class="comHeader">
  133. <div class="headerLeft">
  134. <span class="gray"></span>
  135. <span class="blue"></span>
  136. </div>
  137. <div class="headerRight">
  138. <div class="headerNaAll">
  139. <span class="headerNa">电量分析</span>
  140. <span class="headerNa2">单位:万kWh</span>
  141. </div>
  142. <span class="headerZs">
  143. <span class="headerZsN"></span>
  144. </span>
  145. </div>
  146. </div>
  147. <div class="powerAnalysisMain">
  148. <div class="analysRadio">
  149. <el-radio-group v-model="powerAnalyRadio">
  150. <el-radio-button label="日" value="日" />
  151. <el-radio-button label="月" value="月" />
  152. <el-radio-button label="年" value="年" />
  153. </el-radio-group>
  154. </div>
  155. <div class="analysMain">
  156. <div class="analysMain_left">
  157. <div class="analLeftTop">
  158. <img :src="dlTop1" alt="">
  159. <span>增发电量</span>
  160. <span>30</span>
  161. </div>
  162. <div class="analLeftEcharts">
  163. <echarts-pie :data="analyPieData" :index="1" :theme="swichTheme"
  164. :colors="['#1850B3', '#B2B8CA']" />
  165. <span class="echartsNum">25%</span>
  166. <span class="echartsName">提升率</span>
  167. </div>
  168. <div class="analLeftBot">
  169. <div class="analLeftBot_top">
  170. <img :src="zengfa" class="leftImg">
  171. <div class="analyleftbottopAll">
  172. <div class="analyleftbottopName">及时并网增发电量</div>
  173. <div class="analyleftbottopSty">
  174. <span>30</span>
  175. <img :src="dlTop2" alt="">
  176. </div>
  177. </div>
  178. </div>
  179. <div class="analLeftBot_top">
  180. <img :src="zengfa" class="leftImg">
  181. <div class="analyleftbottopAll">
  182. <div class="analyleftbottopName">主动维护降低损失电量</div>
  183. <div class="analyleftbottopSty">
  184. <span>30</span>
  185. <img :src="dlTop2" alt="">
  186. </div>
  187. </div>
  188. </div>
  189. </div>
  190. </div>
  191. <div class="analysMain_left analysMain_right">
  192. <div class="analLeftTop">
  193. <img :src="dlBot1" alt="">
  194. <span>损失电量</span>
  195. <span>30</span>
  196. </div>
  197. <div class="analLeftEcharts">
  198. <echarts-pie :data="analyPieData" :index="2" :theme="swichTheme"
  199. :colors="['#F87909', '#B2B8CA']" />
  200. <span class="echartsNum echartsJing">25%</span>
  201. <span class="echartsName">降低率</span>
  202. </div>
  203. <div class="analLeftBot">
  204. <div class="analLeftBot_top">
  205. <img :src="sunshi" class="leftImg">
  206. <div class="analyleftbottopAll">
  207. <div class="analyleftbottopName">及时并网增发电量</div>
  208. <div class="analyleftbottopSty">
  209. <span class="echartsJing">30</span>
  210. <img :src="dlBot2" alt="">
  211. </div>
  212. </div>
  213. </div>
  214. <div class="analLeftBot_top">
  215. <img :src="sunshi" class="leftImg">
  216. <div class="analyleftbottopAll">
  217. <div class="analyleftbottopName">主动维护降低损失电量</div>
  218. <div class="analyleftbottopSty">
  219. <span class="echartsJing">30</span>
  220. <img :src="dlBot2" alt="">
  221. </div>
  222. </div>
  223. </div>
  224. </div>
  225. </div>
  226. </div>
  227. </div>
  228. </div>
  229. <!-- 计划电量 -->
  230. <div class="powerPlan">
  231. <div class="comHeader">
  232. <div class="headerLeft">
  233. <span class="gray"></span>
  234. <span class="blue"></span>
  235. </div>
  236. <div class="headerRight">
  237. <div class="headerNaAll">
  238. <span class="headerNa">计划电量完成情况</span>
  239. </div>
  240. <span class="headerZs">
  241. <span class="headerZsN"></span>
  242. </span>
  243. </div>
  244. </div>
  245. <div class="powerPlanMain">
  246. <div class="analysRadio">
  247. <el-radio-group v-model="powerPlanRadio">
  248. <el-radio-button label="风" value="风" />
  249. <!-- <el-radio-button label="光" value="光" disabled />
  250. <el-radio-button label="总" value="总" disabled /> -->
  251. </el-radio-group>
  252. </div>
  253. <div class="planMain">
  254. <div class="planMain_left">
  255. <div class="analysMain_echarts">
  256. <echarts-pie-2 :data="powerPlanData" :index="1" :theme="swichTheme" />
  257. </div>
  258. <div class="analysMain_Msg">
  259. <div class="analysMain_Msg_top">
  260. <div class="analysMain_Msg_top_flex">
  261. <span>计划</span>
  262. <span>{{Math.floor(powerPlanData.yjhwc)}}</span>
  263. </div>
  264. <div class="analysMain_Msg_top_flex">
  265. <span>实际</span>
  266. <span>{{Math.floor(powerPlanData.ysjwc)}}</span>
  267. </div>
  268. </div>
  269. <div class="analysMain_Msg_bot">
  270. <span>月计划完成率</span>
  271. </div>
  272. </div>
  273. </div>
  274. <div class="planMain_left">
  275. <div class="analysMain_echarts">
  276. <echarts-pie-2 :data="powerPlanData" :index="2" :theme="swichTheme" />
  277. </div>
  278. <div class="analysMain_Msg">
  279. <div class="analysMain_Msg_top">
  280. <div class="analysMain_Msg_top_flex">
  281. <span>计划</span>
  282. <span>{{Math.floor(powerPlanData.njhwc)}}</span>
  283. </div>
  284. <div class="analysMain_Msg_top_flex">
  285. <span>实际</span>
  286. <span>{{Math.floor(powerPlanData.nsjwc)}}</span>
  287. </div>
  288. </div>
  289. <div class="analysMain_Msg_bot">
  290. <span>年计划完成率</span>
  291. </div>
  292. </div>
  293. </div>
  294. </div>
  295. </div>
  296. </div>
  297. </div>
  298. </div>
  299. <div class="footer">
  300. <div class="monthPower">
  301. <div id="monthPowers" style="width:100%;height:100%"></div>
  302. </div>
  303. <div class="hover72Power">
  304. <div id="hover72Powers" style="width:100%;height:100%"></div>
  305. </div>
  306. </div>
  307. </div>
  308. </template>
  309. <script>
  310. import fengji from '@/assets/images/indexCom/fengji.png'
  311. import quan from '@/assets/images/indexCom/quan.png'
  312. import fengjiBack from '@/assets/images/indexCom/fengjiBack.png'
  313. import tixing from '@/assets/images/indexCom/tixing.png'
  314. import tianqi from '@/assets/menuImg/power_tqyb.png'
  315. import tianqiW from '@/assets/images/indexCom/weatherW.png'
  316. import dlTop1 from '@/assets/images/indexCom/dlTop1.png'
  317. import dlTop2 from '@/assets/images/indexCom/dlTop2.png'
  318. import dlBot1 from '@/assets/images/indexCom/dlBot1.png'
  319. import dlBot2 from '@/assets/images/indexCom/dlBot2.png'
  320. import zengfa from '@/assets/images/indexCom/zengfa.png'
  321. import sunshi from '@/assets/images/indexCom/sunshi.png'
  322. import wea1 from '@/assets/images/indexCom/wea_1.png'
  323. import wea2 from '@/assets/images/indexCom/wea_2.png'
  324. import wea3 from '@/assets/images/indexCom/wea_3.png'
  325. import wea4 from '@/assets/images/indexCom/wea_4.png'
  326. import wea5 from '@/assets/images/indexCom/wea_5.png'
  327. import forecastBarComponent from "@/components/homeComponent/forecastBarComponent.vue";
  328. import echartsGaugeComponent from "@/components/homeComponent/echartsGaugeComponent.vue";
  329. import echartsPie from "@/components/homeComponent/echartsPie.vue";
  330. import echartsPie2 from "@/components/homeComponent/echartsPie2.vue";
  331. import {
  332. apiGethomeData
  333. } from '@/api/gengra'
  334. export default {
  335. components: {
  336. forecastBarComponent,
  337. echartsGaugeComponent,
  338. echartsPie,
  339. echartsPie2,
  340. },
  341. data() {
  342. return {
  343. swichTheme: null,
  344. fengji: fengji,
  345. quan: quan,
  346. fengjiBack: fengjiBack,
  347. tixing: tixing,
  348. tianqi: tianqi,
  349. tianqiW: tianqiW,
  350. wea1: wea1,
  351. wea2: wea2,
  352. wea3: wea3,
  353. wea4: wea4,
  354. wea5: wea5,
  355. dlTop1: dlTop1,
  356. dlTop2: dlTop2,
  357. dlBot1: dlBot1,
  358. dlBot2: dlBot2,
  359. zengfa: zengfa,
  360. sunshi: sunshi,
  361. weatherArr: [],
  362. fengjiArr: [],
  363. dayFa: [],
  364. monthFa: [],
  365. powerDataHome: [],
  366. powerAnalyRadio: '日',
  367. analyPieData: [],
  368. powerPlanRadio: '风',
  369. powerPlanData: {},
  370. homeDataVo: {},
  371. weatherFrom: {
  372. temperature: '',
  373. weather: '',
  374. wind_direction: '',
  375. wind_power: '',
  376. }
  377. }
  378. },
  379. created() {
  380. this.fengjiArr = [{
  381. name: '繁食沟风电场',
  382. left: '23%',
  383. top: '43%'
  384. },
  385. {
  386. name: '新庄风电场',
  387. left: '35%',
  388. top: '31%'
  389. },
  390. {
  391. name: '草山梁风电场',
  392. left: '45%',
  393. top: '41%'
  394. },
  395. {
  396. name: '雷家山风电场',
  397. left: '52%',
  398. top: '28%'
  399. },
  400. {
  401. name: '吉山梁风电场',
  402. left: '58%',
  403. top: '42%'
  404. },
  405. {
  406. name: '左庄风电场',
  407. left: '64%',
  408. top: '50%'
  409. },
  410. ]
  411. },
  412. computed: {
  413. pageHeight() {
  414. return {
  415. 'height': document.documentElement.clientHeight - 50 + 'px'
  416. }
  417. }
  418. },
  419. watch: {
  420. "$store.state.theme"(newVal, oldVal) {
  421. this.swichTheme = newVal
  422. this.getHomeData()
  423. }
  424. },
  425. mounted() {
  426. this.swichTheme = JSON.parse(window.sessionStorage.getItem('theme'))
  427. this.getPowerLine()
  428. this.getHomeData()
  429. },
  430. methods: {
  431. fengjiStyFn(it) {
  432. return `left:${it.left};top:${it.top}`
  433. },
  434. getHomeData() {
  435. let that = this
  436. let params = {
  437. wpId: 'GJNY_SXGS_DBXNY_ZGS0'
  438. }
  439. apiGethomeData(params).then(res => {
  440. if (res && res.data) {
  441. if (res.data.tq) {
  442. //天气预报
  443. let weatherObj = JSON.parse(res.data.tq[0].content)
  444. that.weatherFrom = {
  445. temperature: weatherObj.weather.temperature,
  446. weather: weatherObj.weather.weather,
  447. wind_direction: weatherObj.weather.wind_direction,
  448. wind_power: weatherObj.weather.wind_power,
  449. }
  450. this.weatherArr = [{
  451. name: '能见度',
  452. value: weatherObj.weather.visibility,
  453. img: wea1
  454. },
  455. {
  456. name: '湿度',
  457. value: weatherObj.weather.humidity,
  458. img: wea2
  459. },
  460. {
  461. name: '气压',
  462. value: weatherObj.weather.pressure,
  463. img: wea3
  464. },
  465. {
  466. name: '日出时间',
  467. value: weatherObj.feature.sunriseTime,
  468. img: wea4
  469. },
  470. {
  471. name: '日落时间',
  472. value: weatherObj.feature.sunsetTime,
  473. img: wea5
  474. },
  475. ]
  476. }
  477. //预测电量
  478. if (res.data.vo) {
  479. that.homeDataVo = res.data.vo
  480. let it = res.data.vo
  481. that.dayFa = [
  482. [{
  483. name: "日发电量",
  484. id: "day",
  485. value: it.rfdl,
  486. color: '#FF9B23',
  487. total: 1500,
  488. }, ],
  489. [{
  490. name: "日预测电量",
  491. id: "day2",
  492. value: it.rycdl,
  493. color: '#FF9B23',
  494. total: 1500,
  495. }, ],
  496. ]
  497. that.monthFa = [
  498. [{
  499. name: "月发电量",
  500. id: "day",
  501. value: it.yfdl,
  502. color: '#1C99FF',
  503. total: 45000,
  504. }, ],
  505. [{
  506. name: "月预测电量",
  507. id: "day2",
  508. value: it.yycdl,
  509. color: '#1C99FF',
  510. total: 45000,
  511. }, ],
  512. ]
  513. that.powerDataHome = [{
  514. title: "风速",
  515. value: it.pjfs,
  516. max: 25,
  517. unit: "MW",
  518. },
  519. {
  520. title: "保证功率",
  521. value: it.bzgl,
  522. max: it.bzgl * 1.08,
  523. unit: "MW",
  524. },
  525. {
  526. title: "应发功率",
  527. value: it.yfgl,
  528. max: it.yfgl * 1.08,
  529. unit: "MW",
  530. },
  531. {
  532. title: "实发功率",
  533. value: it.sfgl,
  534. max: it.sfgl * 1.08,
  535. unit: "MW",
  536. },
  537. ];
  538. }
  539. //计划电量完成情况
  540. if (res.data.jhwcl) {
  541. that.powerPlanData = res.data.jhwcl
  542. }
  543. // 月发电量
  544. if (res.data.dllist && res.data.dllist.length > 0) {
  545. let xAxis = []
  546. let seriesRF = []
  547. let seriesSW = []
  548. let seriesGW = []
  549. res.data.dllist.forEach(it => {
  550. xAxis.push(it.rq)
  551. seriesRF.push(it.yfdl)
  552. seriesSW.push(it.yswdl)
  553. seriesGW.push(it.ygwdl)
  554. })
  555. let series = [{
  556. name: '日发电量',
  557. data: seriesRF,
  558. barGap: '0',
  559. type: 'bar'
  560. },
  561. {
  562. name: '上网电量',
  563. data: seriesSW,
  564. type: 'bar'
  565. },
  566. {
  567. name: '购网电量',
  568. data: seriesGW,
  569. type: 'bar'
  570. }
  571. ]
  572. that.getPowerBar(xAxis, series)
  573. }
  574. // 72小时功率曲线
  575. if (res.data['72time'] && res.data['72time'].length > 0) {
  576. let xAxis = []
  577. let seriesSpeed = []
  578. let seriesGl = []
  579. let seriesSJ = []
  580. res.data['72time'].forEach(it => {
  581. let date = it.time.substring(0, it.time.indexOf('T') + 3)
  582. xAxis.push(date)
  583. seriesSpeed.push(it.speed)
  584. seriesGl.push(it.gl)
  585. seriesSJ.push(it.sjgl)
  586. })
  587. let series = [{
  588. name: '平均风速',
  589. data: seriesSpeed,
  590. yAxisIndex: 1,
  591. type: 'line',
  592. symbol: 'none'
  593. },
  594. {
  595. name: '应发功率',
  596. data: seriesGl,
  597. type: 'line',
  598. symbol: 'none'
  599. },
  600. {
  601. name: '实际功率',
  602. data: seriesSJ,
  603. type: 'line',
  604. symbol: 'none'
  605. }
  606. ]
  607. that.getPowerLine(xAxis, series)
  608. }
  609. }
  610. })
  611. },
  612. getPowerBar(xAxis, series) {
  613. let option = {
  614. title: {
  615. text: '月发电量',
  616. left: '10px',
  617. top: '20px',
  618. textStyle: {
  619. fontSize: '16',
  620. fontWeight: 400,
  621. color: !this.swichTheme ? '#fff' : '#1850B3'
  622. }
  623. },
  624. color: ['#7981AF', '#1C99FF', '#E57F25'],
  625. tooltip: {
  626. trigger: 'axis',
  627. axisPointer: {
  628. type: 'shadow'
  629. }
  630. },
  631. grid: {
  632. left: '2%',
  633. right: '2%',
  634. bottom: '5%',
  635. height: '90px',
  636. containLabel: true
  637. },
  638. legend: {
  639. right: '20',
  640. top: '20',
  641. itemWidth: 5,
  642. itemHeight: 5,
  643. data: ['日发电量', '上网电量', '购网电量']
  644. },
  645. xAxis: [{
  646. type: 'category',
  647. axisTick: {
  648. show: false
  649. },
  650. data: xAxis
  651. }],
  652. yAxis: [{
  653. type: 'value',
  654. splitNumber: 3.5,
  655. splitLine: {
  656. lineStyle: {
  657. color: ['#393F4D']
  658. }
  659. },
  660. name: '单位:万KWh'
  661. }],
  662. series: series
  663. };
  664. if (!this.theme) {
  665. option.backgroundColor = ''
  666. }
  667. // 基于准备好的dom,初始化echarts实例
  668. let dom = document.getElementById('monthPowers');
  669. dom.removeAttribute("_echarts_instance_") ? dom.removeAttribute("_echarts_instance_") : ''
  670. let myChart = this.$echarts.init(dom);
  671. myChart.setOption(option);
  672. window.addEventListener("resize", function () {
  673. myChart.resize()
  674. })
  675. },
  676. getPowerLine(xAxis, series) {
  677. let option = {
  678. title: {
  679. text: '72小时功率曲线',
  680. left: '10px',
  681. top: '20px',
  682. textStyle: {
  683. fontSize: '16',
  684. fontWeight: 400,
  685. color: !this.swichTheme ? '#fff' : '#1850B3'
  686. }
  687. },
  688. tooltip: {
  689. trigger: 'axis'
  690. },
  691. color: ['#7981AF', '#1C99FF', '#E57F25'],
  692. legend: {
  693. right: '20',
  694. top: '20',
  695. itemWidth: 5,
  696. itemHeight: 5,
  697. data: ['平均风速', '应发功率', '实际功率']
  698. },
  699. grid: {
  700. left: '2%',
  701. right: '2%',
  702. bottom: '5%',
  703. height: '90px',
  704. containLabel: true
  705. },
  706. xAxis: {
  707. type: 'category',
  708. boundaryGap: false,
  709. data: xAxis
  710. },
  711. yAxis: [{
  712. type: 'value',
  713. splitNumber: 3,
  714. splitLine: {
  715. lineStyle: {
  716. color: ['#393F4D']
  717. }
  718. },
  719. name: '单位:万KWh'
  720. },
  721. {
  722. type: 'value',
  723. splitNumber: 3,
  724. splitLine: {
  725. lineStyle: {
  726. color: ['#393F4D']
  727. }
  728. },
  729. name: '单位:m/s'
  730. },
  731. ],
  732. series: series
  733. };
  734. if (!this.theme) {
  735. option.backgroundColor = ''
  736. }
  737. // 基于准备好的dom,初始化echarts实例
  738. let dom = document.getElementById('hover72Powers');
  739. dom.removeAttribute("_echarts_instance_") ? dom.removeAttribute("_echarts_instance_") : ''
  740. let myChart = this.$echarts.init(dom);
  741. myChart.setOption(option);
  742. window.addEventListener("resize", function () {
  743. myChart.resize()
  744. })
  745. },
  746. }
  747. }
  748. </script>
  749. <style lang="less">
  750. .homePage {
  751. height: 100%;
  752. .homeMain {
  753. display: flex;
  754. width: 100%;
  755. height: 74vh;
  756. .comHeader {
  757. height: 28px;
  758. display: flex;
  759. .headerLeft {
  760. height: 28px;
  761. width: 20px;
  762. position: relative;
  763. .gray {
  764. position: absolute;
  765. left: 5px;
  766. top: 3px;
  767. display: inline-block;
  768. width: 5px;
  769. height: 5px;
  770. background: #CBD2E2;
  771. }
  772. .blue {
  773. position: absolute;
  774. left: 5px;
  775. top: 20px;
  776. display: inline-block;
  777. width: 5px;
  778. height: 5px;
  779. background: #1C99FF;
  780. transform: rotate(45deg);
  781. }
  782. }
  783. .headerRight {
  784. width: 427px;
  785. height: 28px;
  786. position: relative;
  787. .headerName {
  788. font-family: Microsoft YaHei;
  789. font-weight: 400;
  790. font-size: 16px;
  791. color: #FFFFFF;
  792. line-height: 28px;
  793. margin-left: 10px;
  794. }
  795. .headerNaAll {
  796. display: flex;
  797. justify-content: space-between;
  798. .headerNa {
  799. font-family: Microsoft YaHei;
  800. font-weight: 400;
  801. font-size: 16px;
  802. color: #FFFFFF;
  803. line-height: 28px;
  804. margin-left: 10px;
  805. }
  806. .headerNa2 {
  807. font-family: Microsoft YaHei;
  808. font-weight: 400;
  809. font-size: 12px;
  810. line-height: 28px;
  811. margin-right: 8px;
  812. }
  813. }
  814. .headerZs {
  815. display: inline-block;
  816. position: absolute;
  817. right: 0;
  818. top: 22px;
  819. width: 32px;
  820. height: 6px;
  821. .headerZsN {
  822. position: relative;
  823. top: -8px;
  824. left: 2px;
  825. display: inline-block;
  826. width: 30px;
  827. height: 4px;
  828. }
  829. }
  830. }
  831. }
  832. .leftMain {
  833. width: 25%;
  834. height: 100%;
  835. margin-left: 37px;
  836. .weather {
  837. margin-bottom: 30px;
  838. .weatherMain {
  839. margin-top: 15px;
  840. .weatherMain_top {
  841. display: flex;
  842. .wetherImg {
  843. margin: 9px 0 0 25px;
  844. }
  845. .wetherMsg {
  846. margin-left: 21px;
  847. .wetherMsg_Du {
  848. font-family: SourceHanSansCN;
  849. font-weight: 400;
  850. font-size: 30px;
  851. }
  852. .wetherMsg_Det {
  853. display: flex;
  854. span {
  855. font-family: Microsoft YaHei;
  856. font-weight: 400;
  857. font-size: 14px;
  858. margin-right: 25px;
  859. }
  860. }
  861. }
  862. }
  863. .weatherMain_bot {
  864. display: flex;
  865. justify-content: space-around;
  866. margin-top: 18px;
  867. .weaMain {
  868. text-align: center;
  869. .pOne {
  870. font-family: SourceHanSansCN;
  871. font-weight: 400;
  872. font-size: 14px;
  873. line-height: 28px;
  874. }
  875. .pTwo {
  876. font-family: Microsoft YaHei;
  877. font-weight: 400;
  878. font-size: 14px;
  879. }
  880. }
  881. }
  882. }
  883. }
  884. .Electric {
  885. margin-bottom: 30px;
  886. .electricMain {
  887. padding-top: 20px;
  888. .electricMain_day,
  889. .electricMain_month {
  890. .powerCharts {
  891. position: relative;
  892. display: flex;
  893. flex-direction: row;
  894. align-items: flex-end;
  895. width: 100%;
  896. margin-top: 5px;
  897. margin-left: 10px;
  898. .powerName {
  899. position: absolute;
  900. left: 15px;
  901. top: -8px;
  902. font-family: Microsoft YaHei;
  903. font-weight: 400;
  904. font-size: 14px;
  905. line-height: 28px;
  906. }
  907. .powerItem {
  908. display: flex;
  909. // position: relative;
  910. .powerValue {
  911. font-size: 12px;
  912. font-family: Bicubik;
  913. position: relative;
  914. left: 3px;
  915. top: 17px;
  916. span:nth-child(1) {
  917. width: 5px;
  918. height: 5px;
  919. border-radius: 5px;
  920. display: inline-block;
  921. margin-right: 5px;
  922. }
  923. span:nth-child(2) {
  924. font-family: Bicubik;
  925. font-weight: 400;
  926. font-size: 12px;
  927. position: relative;
  928. top: 2px;
  929. }
  930. }
  931. .powerValuesc {
  932. left: -35px;
  933. }
  934. }
  935. }
  936. }
  937. }
  938. }
  939. .power {
  940. .powerMain {
  941. margin-top: 10px;
  942. }
  943. }
  944. }
  945. .map {
  946. width: 50%;
  947. height: 100%;
  948. position: relative;
  949. .dingbian,
  950. .jingbian {
  951. font-family: Microsoft YaHei;
  952. font-weight: 400;
  953. font-size: 18px;
  954. line-height: 35px;
  955. }
  956. .dingbian {
  957. position: absolute;
  958. top: 68%;
  959. left: 15%;
  960. }
  961. .jingbian {
  962. position: absolute;
  963. top: 30%;
  964. left: 67%;
  965. }
  966. .fengjiSty {
  967. position: absolute;
  968. width: 40px;
  969. .mainSv {
  970. position: relative;
  971. width: 40px;
  972. .quanImg {
  973. position: absolute;
  974. left: 5px;
  975. bottom: -2px;
  976. }
  977. .fengjiBackImg {
  978. position: absolute;
  979. bottom: -2px;
  980. left: -5px;
  981. }
  982. .dianSty {
  983. display: inline-block;
  984. width: 6px;
  985. height: 7px;
  986. border-radius: 50%;
  987. position: absolute;
  988. left: 3px;
  989. }
  990. }
  991. .mainMsg {
  992. width: 105px;
  993. height: 30px;
  994. background-image: url('@/assets/images/indexCom/tixing.png');
  995. background-repeat: no-repeat;
  996. position: absolute;
  997. bottom: -7px;
  998. left: -98px;
  999. span {
  1000. font-family: Microsoft YaHei;
  1001. font-weight: 400;
  1002. font-size: 14px;
  1003. color: #FFFFFF;
  1004. line-height: 23px;
  1005. position: relative;
  1006. left: 6px;
  1007. top: 2px;
  1008. }
  1009. }
  1010. }
  1011. }
  1012. .rightMain {
  1013. width: 25%;
  1014. height: 100%;
  1015. .analysRadio {
  1016. margin: 16px 0 7px 20px;
  1017. .el-radio-group {
  1018. height: 28px;
  1019. .el-radio-button {
  1020. .el-radio-button__inner {
  1021. width: 48px;
  1022. }
  1023. }
  1024. }
  1025. }
  1026. .powerAnalysis {
  1027. .powerAnalysisMain {
  1028. .analysMain {
  1029. margin-left: 20px;
  1030. width: 100%;
  1031. display: flex;
  1032. .analysMain_left {
  1033. width: 50%;
  1034. .analLeftTop {
  1035. display: flex;
  1036. img {
  1037. width: 14px;
  1038. height: 14px;
  1039. position: relative;
  1040. top: 5px;
  1041. }
  1042. span {
  1043. font-family: Microsoft YaHei;
  1044. font-weight: 400;
  1045. font-size: 14px;
  1046. line-height: 28px;
  1047. margin-left: 3px;
  1048. }
  1049. }
  1050. .analLeftEcharts {
  1051. position: relative;
  1052. .echartsNum {
  1053. position: absolute;
  1054. top: 30%;
  1055. left: 38%;
  1056. font-family: Bicubik;
  1057. font-weight: 400;
  1058. font-size: 16px;
  1059. }
  1060. .echartsName {
  1061. position: absolute;
  1062. top: 50%;
  1063. left: 38%;
  1064. font-family: Microsoft YaHei;
  1065. font-weight: 400;
  1066. font-size: 14px;
  1067. }
  1068. }
  1069. .analLeftBot {
  1070. .analLeftBot_top {
  1071. display: flex;
  1072. .leftImg {
  1073. width: 36px;
  1074. height: 36px;
  1075. }
  1076. .analyleftbottopAll {
  1077. margin-left: 2px;
  1078. .analyleftbottopName {
  1079. position: relative;
  1080. top: -5px;
  1081. font-family: Microsoft YaHei;
  1082. font-weight: 400;
  1083. font-size: 14px;
  1084. line-height: 28px;
  1085. }
  1086. .analyleftbottopSty {
  1087. display: flex;
  1088. position: relative;
  1089. top: -13px;
  1090. span {
  1091. font-family: Bicubik;
  1092. font-weight: 400;
  1093. font-size: 16px;
  1094. line-height: 28px;
  1095. }
  1096. img {
  1097. width: 12px;
  1098. height: 12px;
  1099. position: relative;
  1100. top: 8px;
  1101. left: 8px;
  1102. }
  1103. }
  1104. }
  1105. }
  1106. }
  1107. }
  1108. }
  1109. }
  1110. }
  1111. .powerPlan {
  1112. margin-top: 30px;
  1113. .powerPlanMain {
  1114. .planMain {
  1115. width: calc(100% - 20px);
  1116. display: flex;
  1117. justify-content: space-around;
  1118. .planMain_left {
  1119. padding: 0 20px;
  1120. width: calc(50% - 40px);
  1121. .analysMain_echarts {
  1122. width: 100%;
  1123. text-align: center;
  1124. }
  1125. .analysMain_Msg {
  1126. .analysMain_Msg_top {
  1127. display: flex;
  1128. justify-content: space-between;
  1129. width: 100%;
  1130. .analysMain_Msg_top_flex {
  1131. display: flex;
  1132. padding: 0 10px;
  1133. width: calc(100% - 20px);
  1134. span {
  1135. display: inline-block;
  1136. }
  1137. span:nth-child(1) {
  1138. width: 30px;
  1139. font-family: Microsoft YaHei;
  1140. font-weight: 400;
  1141. font-size: 14px;
  1142. line-height: 28px;
  1143. }
  1144. span:nth-child(2) {
  1145. font-family: Arial;
  1146. font-weight: 400;
  1147. font-size: 14px;
  1148. line-height: 28px;
  1149. }
  1150. }
  1151. }
  1152. .analysMain_Msg_bot {
  1153. // opacity: 0.5;
  1154. text-align: center;
  1155. span {
  1156. font-family: Microsoft YaHei;
  1157. font-weight: 400;
  1158. font-size: 14px;
  1159. line-height: 28px;
  1160. }
  1161. }
  1162. }
  1163. }
  1164. }
  1165. }
  1166. }
  1167. }
  1168. }
  1169. .footer {
  1170. display: flex;
  1171. justify-content: space-between;
  1172. padding: 0 36px;
  1173. width: calc(100% - 72px);
  1174. height: 19vh;
  1175. .monthPower {
  1176. width: calc(50% - 10px);
  1177. background: rgba(41, 45, 53, 0.4);
  1178. border-radius: 6px;
  1179. }
  1180. .hover72Power {
  1181. width: calc(50% - 10px);
  1182. background: rgba(41, 45, 53, 0.4);
  1183. border-radius: 6px;
  1184. }
  1185. }
  1186. }
  1187. .themeDarkHome {
  1188. background-color: #0F0F0F;
  1189. background-image: url('@/assets/images/indexCom/backImg_B.png');
  1190. background-repeat: no-repeat;
  1191. .homeMain {
  1192. .map {
  1193. background-image: url('@/assets/images/indexCom/map_B.png');
  1194. background-repeat: no-repeat;
  1195. background-size: 90%;
  1196. background-position: center;
  1197. }
  1198. .map {
  1199. .dingbian,
  1200. .jingbian {
  1201. color: #A5ABB7;
  1202. text-shadow: 0px 1px 2px #070A11;
  1203. }
  1204. .fengjiSty {
  1205. .mainSv {
  1206. .dianSty {
  1207. background: #31FBFD;
  1208. }
  1209. }
  1210. }
  1211. }
  1212. .comHeader {
  1213. .headerRight {
  1214. background: #2D3138;
  1215. .headerNaAll {
  1216. .headerNa2 {
  1217. color: #787F8F;
  1218. }
  1219. }
  1220. .headerZs {
  1221. background: #0F0F0F;
  1222. .headerZsN {
  1223. background: #41454C;
  1224. }
  1225. }
  1226. }
  1227. }
  1228. .leftMain {
  1229. .weather {
  1230. .weatherMain {
  1231. .weatherMain_top {
  1232. .wetherImg {
  1233. img {
  1234. width: 48px;
  1235. height: 48px;
  1236. }
  1237. }
  1238. .wetherMsg {
  1239. .wetherMsg_Du {
  1240. color: #FFFFFF;
  1241. }
  1242. .wetherMsg_Det {
  1243. span {
  1244. color: #FFFFFF;
  1245. }
  1246. }
  1247. }
  1248. }
  1249. .weatherMain_bot {
  1250. .weaMain {
  1251. .pOne {
  1252. color: #FFFFFF;
  1253. }
  1254. .pTwo {
  1255. color: #8B93A6;
  1256. }
  1257. }
  1258. }
  1259. }
  1260. }
  1261. .Electric {
  1262. .electricMain {
  1263. .electricMain_day,
  1264. .electricMain_month {
  1265. .powerCharts {
  1266. .powerName {
  1267. color: #8B93A6;
  1268. }
  1269. .powerItem {
  1270. .powerValue {
  1271. span:nth-child(1) {
  1272. background-color: #fff;
  1273. }
  1274. span:nth-child(2) {
  1275. color: #FFFFFF;
  1276. }
  1277. }
  1278. }
  1279. }
  1280. }
  1281. }
  1282. }
  1283. }
  1284. .rightMain {
  1285. .analysRadio {
  1286. .el-radio-group {
  1287. .el-radio-button {
  1288. .el-radio-button__inner {
  1289. color: #fff;
  1290. border: 1px solid #3B4C6C;
  1291. background: transparent;
  1292. }
  1293. }
  1294. .is-active {
  1295. background: linear-gradient(90deg, rgba(28, 113, 255, 0), rgba(28, 113, 255, 0.6));
  1296. }
  1297. }
  1298. }
  1299. .powerAnalysis {
  1300. .powerAnalysisMain {
  1301. .analysMain {
  1302. .analysMain_left {
  1303. .analLeftTop {
  1304. span {
  1305. color: #8B93A6;
  1306. }
  1307. }
  1308. .analLeftEcharts {
  1309. .echartsNum {
  1310. color: #1C99FF;
  1311. }
  1312. .echartsName {
  1313. color: #8B93A6;
  1314. }
  1315. }
  1316. .analLeftBot {
  1317. .analLeftBot_top {
  1318. .analyleftbottopAll {
  1319. .analyleftbottopName {
  1320. color: #8B93A6;
  1321. }
  1322. .analyleftbottopSty {
  1323. span {
  1324. color: #FFFFFF;
  1325. }
  1326. }
  1327. }
  1328. }
  1329. }
  1330. }
  1331. }
  1332. }
  1333. }
  1334. .powerPlan {
  1335. .powerPlanMain {
  1336. .planMain {
  1337. .planMain_left {
  1338. .analysMain_echarts {
  1339. border-bottom: 1px dashed #393F4D;
  1340. }
  1341. .analysMain_Msg {
  1342. .analysMain_Msg_top {
  1343. .analysMain_Msg_top_flex {
  1344. span:nth-child(1) {
  1345. color: #8B93A6;
  1346. }
  1347. span:nth-child(2) {
  1348. color: #FFFFFF;
  1349. }
  1350. }
  1351. }
  1352. .analysMain_Msg_bot {
  1353. background: #2D3138;
  1354. span {
  1355. color: #8B93A6;
  1356. }
  1357. }
  1358. }
  1359. }
  1360. }
  1361. }
  1362. }
  1363. }
  1364. }
  1365. .footer {
  1366. .monthPower {
  1367. background: rgba(41, 45, 53, 0.4);
  1368. }
  1369. .hover72Power {
  1370. background: rgba(41, 45, 53, 0.4);
  1371. }
  1372. }
  1373. }
  1374. .themeLightHome {
  1375. background-color: #e6e8f2;
  1376. background-image: url('@/assets/images/indexCom/backImg_W.png');
  1377. background-repeat: no-repeat;
  1378. .homeMain {
  1379. .map {
  1380. background-image: url('@/assets/images/indexCom/map_W.png');
  1381. background-repeat: no-repeat;
  1382. background-size: 90%;
  1383. background-position: center;
  1384. }
  1385. .map {
  1386. .dingbian,
  1387. .jingbian {
  1388. color: #fff;
  1389. text-shadow: 0px 1px 2px #070A11;
  1390. }
  1391. .fengjiSty {
  1392. .mainSv {
  1393. .dianSty {
  1394. background: #1850B3;
  1395. border: 1px solid #FFFFFF;
  1396. }
  1397. }
  1398. }
  1399. }
  1400. .comHeader {
  1401. .headerRight {
  1402. background: #1850B3;
  1403. .headerNaAll {
  1404. .headerNa2 {
  1405. color: #BABED3;
  1406. }
  1407. }
  1408. .headerZs {
  1409. background: #fff;
  1410. .headerZsN {
  1411. background: #4F70EC;
  1412. }
  1413. }
  1414. }
  1415. }
  1416. .leftMain {
  1417. .weather {
  1418. .weatherMain {
  1419. .weatherMain_top {
  1420. .wetherMsg {
  1421. .wetherMsg_Du {
  1422. color: #1850B3;
  1423. }
  1424. .wetherMsg_Det {
  1425. span {
  1426. color: #575A5F;
  1427. }
  1428. }
  1429. }
  1430. }
  1431. .weatherMain_bot {
  1432. .weaMain {
  1433. .pOne {
  1434. color: #575A5F;
  1435. }
  1436. .pTwo {
  1437. color: #646972;
  1438. }
  1439. }
  1440. }
  1441. }
  1442. }
  1443. .Electric {
  1444. .electricMain {
  1445. .electricMain_day,
  1446. .electricMain_month {
  1447. .powerCharts {
  1448. .powerName {
  1449. color: #67666C;
  1450. }
  1451. .powerItem {
  1452. .powerValue {
  1453. span:nth-child(1) {
  1454. background-color: #fff;
  1455. }
  1456. span:nth-child(2) {
  1457. color: #242426;
  1458. }
  1459. }
  1460. }
  1461. }
  1462. }
  1463. }
  1464. }
  1465. }
  1466. .rightMain {
  1467. .analysRadio {
  1468. .el-radio-group {
  1469. .el-radio-button {
  1470. .el-radio-button__inner {
  1471. color: #646972;
  1472. }
  1473. }
  1474. .is-active {
  1475. .el-radio-button__inner {
  1476. background: #1850B3 !important;
  1477. color: #fff;
  1478. }
  1479. }
  1480. }
  1481. }
  1482. .powerAnalysis {
  1483. .powerAnalysisMain {
  1484. .analysMain {
  1485. .analysMain_left {
  1486. .analLeftTop {
  1487. span:nth-child(1) {
  1488. color: #646972;
  1489. }
  1490. span:nth-child(2) {
  1491. color: #242426;
  1492. }
  1493. }
  1494. .analLeftEcharts {
  1495. .echartsNum {
  1496. color: #1850B3;
  1497. }
  1498. .echartsJing {
  1499. color: #F87909;
  1500. }
  1501. .echartsName {
  1502. color: #646972;
  1503. }
  1504. }
  1505. .analLeftBot {
  1506. .analLeftBot_top {
  1507. .analyleftbottopAll {
  1508. .analyleftbottopName {
  1509. color: #646972;
  1510. }
  1511. .analyleftbottopSty {
  1512. span {
  1513. color: #1850B3;
  1514. }
  1515. .echartsJing {
  1516. color: #F87909;
  1517. }
  1518. }
  1519. }
  1520. }
  1521. }
  1522. }
  1523. }
  1524. }
  1525. }
  1526. .powerPlan {
  1527. .powerPlanMain {
  1528. .planMain {
  1529. .planMain_left {
  1530. .analysMain_echarts {
  1531. border-bottom: 1px dashed #393F4D;
  1532. }
  1533. .analysMain_Msg {
  1534. .analysMain_Msg_top {
  1535. .analysMain_Msg_top_flex {
  1536. span:nth-child(1) {
  1537. color: #646972;
  1538. }
  1539. span:nth-child(2) {
  1540. color: #1850B3;
  1541. }
  1542. }
  1543. }
  1544. .analysMain_Msg_bot {
  1545. background: #ccd0de;
  1546. span {
  1547. color: #646972;
  1548. }
  1549. }
  1550. }
  1551. }
  1552. }
  1553. }
  1554. }
  1555. }
  1556. }
  1557. .footer {
  1558. .monthPower {
  1559. background: rgba(255, 255, 255, 0.8);
  1560. }
  1561. .hover72Power {
  1562. background: rgba(255, 255, 255, 0.8);
  1563. }
  1564. }
  1565. }
  1566. </style>