stationIndex.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868
  1. <template>
  2. <view class="stationpower">
  3. <view class="box-bg">
  4. <uni-nav-bar :fixed="true" dark left-icon="left" background-color='#202246' :title="stationName"
  5. @clickLeft="back" />
  6. </view>
  7. <view class="power_main">
  8. <view class="flex justify-center">
  9. <view class="power_tab">
  10. <text v-for="(item,index) in powerTabData" :key="index" @click="changePowerTab(item)"
  11. :style="item.showColor ? 'background: #4287FF;color:#fff': ''">{{item.nameZN}}</text>
  12. </view>
  13. </view>
  14. <view class="fdwcl" v-if="powerTab === 'DL'">
  15. <view class="fdwcl_DataAll" v-for="(item,index) in powerProgressData" :key="index">
  16. <uni-row class="fdwcl_Data flex justify-between">
  17. <uni-col :span="8" class="fdwcl_Data_1 flex">
  18. <image src="../../static/jnImage/indexPage/windIcon.png" mode=""></image>
  19. <text>{{item.inPower}}万kWh</text>
  20. </uni-col>
  21. <uni-col :span="8" class="fdwcl_Data_2">
  22. <text>{{item.name}}</text>
  23. </uni-col>
  24. <uni-col :span="8" class="fdwcl_Data_3 flex justify-end">
  25. <text>{{item.allPower}}万kWh</text>
  26. </uni-col>
  27. </uni-row>
  28. <view class="fdwcl_Data_msg">
  29. <view class="show_msg" :style="showProgress(item, index)">
  30. </view>
  31. </view>
  32. </view>
  33. </view>
  34. <view class="ycdl" v-else>
  35. <view class="ycdl_tits flex justify-center">
  36. <image src="../../static/jnImage/powerPage/sqrfdl.png" mode=""></image>
  37. <text>本期预测电量</text>
  38. </view>
  39. <view class="ycdl_station">
  40. <uni-row class="ycdl_station_row">
  41. <uni-col :span="7" v-for="(item,index) in powerNowData" :key="index">
  42. <view class="ycdl_station_col">
  43. <view class="ycdl_data_col_top flex">
  44. <text>{{item.inPower}}</text>
  45. <text>{{item.type}}</text>
  46. </view>
  47. <view class="ycdl_data_col_bot flex">
  48. <image src="../../static/jnImage/powerPage/clockW.png" mode=""></image>
  49. <text>11月22日</text>
  50. </view>
  51. </view>
  52. </uni-col>
  53. </uni-row>
  54. </view>
  55. <view class="ycdl_tits flex justify-center">
  56. <image src="../../static/jnImage/powerPage/sqrfdl.png" mode=""></image>
  57. <text>上期日发电量</text>
  58. </view>
  59. <view class="ycdl_msg" v-for="(item,index) in 3" :key="index">
  60. <view class="ycdl_title flex">
  61. <image src="../../static/jnImage/powerPage/clock.png" mode=""></image>
  62. <text>11月22日</text>
  63. </view>
  64. <view class="ycdl_data">
  65. <uni-row class="ycdl_data_row">
  66. <uni-col :span="12" v-for="(item,index) in powerNowData" :key="index">
  67. <view class="ycdl_data_col flex">
  68. <view class="ycdl_data_col_left">
  69. <text>{{item.name}}</text>
  70. </view>
  71. <view class="ycdl_data_col_right flex justify-between">
  72. <text>{{item.inPower}}</text>
  73. <text>MW</text>
  74. </view>
  75. </view>
  76. </uni-col>
  77. </uni-row>
  78. </view>
  79. </view>
  80. <view class="ycdl_tits flex justify-center">
  81. <image src="../../static/jnImage/powerPage/tqrfdl.png" mode=""></image>
  82. <text>同期日发电量</text>
  83. </view>
  84. <view class="ycdl_msg" v-for="(item,index) in 3" :key="index">
  85. <view class="ycdl_title flex">
  86. <image src="../../static/jnImage/powerPage/clock.png" mode=""></image>
  87. <text>11月22日</text>
  88. </view>
  89. <view class="ycdl_data">
  90. <uni-row class="ycdl_data_row">
  91. <uni-col :span="12" v-for="(item,index) in powerNowData" :key="index">
  92. <view class="ycdl_data_col flex">
  93. <view class="ycdl_data_col_left">
  94. <text>{{item.name}}</text>
  95. </view>
  96. <view class="ycdl_data_col_right flex justify-between">
  97. <text>{{item.inPower}}</text>
  98. <text>MW</text>
  99. </view>
  100. </view>
  101. </uni-col>
  102. </uni-row>
  103. </view>
  104. </view>
  105. </view>
  106. <view class="rdldb" v-if="powerTab === 'DL'">
  107. <view class="rdldb_title flex justify-center">
  108. <image src="../../static/jnImage/powerPage/powerDayIcon.png" mode=""></image>
  109. <text>日发电量</text>
  110. </view>
  111. <view class="qiun-charts">
  112. <qiun-data-charts type="column" :opts="optsDay" :chartData="chartDataDay" />
  113. </view>
  114. <view class="rdldb_title flex justify-center">
  115. <image src="../../static/jnImage/powerPage/powerDayIcon.png" mode=""></image>
  116. <text>月发电量</text>
  117. </view>
  118. <view class="qiun-charts">
  119. <qiun-data-charts type="column" :opts="optsMonth" :chartData="chartDataMonth" />
  120. </view>
  121. </view>
  122. <view class="xsfsgl" v-else>
  123. <view class="xsfsgl_title flex justify-center">
  124. <image src="../../static/jnImage/powerPage/72clock.png" mode=""></image>
  125. <text>72小时风速功率</text>
  126. </view>
  127. <view class="qiun-chartsLine">
  128. <qiun-data-charts type="mix" :opts="optsLine" :chartData="chartDataLine" />
  129. </view>
  130. </view>
  131. </view>
  132. <station-bar ref="stationBar"></station-bar>
  133. </view>
  134. </template>
  135. <script>
  136. import stationBar from '../common/stationTab.vue'
  137. import {
  138. electricityStatisticsApi,
  139. statisticsHisdataApi
  140. } from '../../api/power.js'
  141. import {
  142. bulletinappBulletinApi
  143. } from '../../api/report.js'
  144. var uChartsInstance = {};
  145. export default {
  146. onLoad: function(e) {
  147. },
  148. components: {
  149. stationBar
  150. },
  151. data() {
  152. return {
  153. stationName: '',
  154. stationWpid: '',
  155. stationTab: '',
  156. powerTab: 'DL',
  157. yearTab: 'month',
  158. powerTabData: [],
  159. yearData: [],
  160. powerProgressData: [],
  161. powerNowData: [],
  162. chartDataDay: {},
  163. chartDataMonth: {},
  164. chartDataLine: {},
  165. optsDay: {},
  166. optsMonth: {},
  167. optsLine: {},
  168. }
  169. },
  170. created() {
  171. this.stationName = uni.getStorageSync('stationName')
  172. this.stationWpid = uni.getStorageSync('stationWpid')
  173. this.getReportData()
  174. this.powerTabData = [{
  175. nameZN: '电量',
  176. nameEN: 'DL',
  177. showColor: true
  178. },
  179. {
  180. nameZN: '预测',
  181. nameEN: 'YC',
  182. showColor: false
  183. }
  184. ]
  185. this.yearData = [{
  186. nameZN: '月',
  187. nameEN: 'month',
  188. showColor: true
  189. },
  190. {
  191. nameZN: '年',
  192. nameEN: 'year',
  193. showColor: false
  194. }
  195. ]
  196. this.powerNowData = [{
  197. type: 'wind',
  198. inPower: 961,
  199. allPower: 1865,
  200. name: '预测电量'
  201. },
  202. {
  203. type: 'wind',
  204. inPower: 852,
  205. allPower: 1865,
  206. name: '实发电量'
  207. }
  208. ]
  209. },
  210. mounted() {
  211. this.$refs.stationBar.showTab = '电量预测'
  212. // this.getPowerBar()
  213. this.getStationDayPowerData()
  214. this.getStationMonthPowerData()
  215. },
  216. methods: {
  217. back() {
  218. this.$tab.switchTab('/pages/home/index')
  219. },
  220. stationTabXY(it) {
  221. this.stationTab = it
  222. },
  223. // 获取场站日发电量
  224. getStationDayPowerData() {
  225. let that = this
  226. let params = {
  227. wpid: that.stationWpid
  228. }
  229. statisticsHisdataApi(params).then(res => {
  230. if (res && res.data) {
  231. that.getPowerBar('day', res.data.data)
  232. }
  233. })
  234. },
  235. // 获取场站月发电量
  236. getStationMonthPowerData() {
  237. let that = this
  238. let params = {
  239. wpId: that.stationWpid,
  240. timetype: 'month',
  241. year: new Date().getFullYear()
  242. }
  243. electricityStatisticsApi(params).then(res => {
  244. if (res && res.data) {
  245. that.getPowerBar('month', res.data.value)
  246. }
  247. })
  248. },
  249. getPowerBar(type, values) {
  250. let opts = {
  251. color: ["#1890FF", "#91CB74", "#FAC858", "#EE6666", "#73C0DE", "#3CA272", "#FC8452", "#9A60B4",
  252. "#ea7ccc"
  253. ],
  254. padding: [15, 15, 0, 5],
  255. enableScroll: false,
  256. legend: {
  257. show: false
  258. },
  259. xAxis: {
  260. disableGrid: true,
  261. rotateLabel: true,
  262. axisLineColor: "#A49EAC",
  263. fontColor: "#A49EAC",
  264. fontSize: 10,
  265. marginTop: 5,
  266. titleFontColor: "#A49EAC",
  267. titleFontSize: 10,
  268. titleOffsetY: -18
  269. },
  270. yAxis: {
  271. showTitle: true,
  272. data: [{
  273. min: 0,
  274. fontColor: "#A49EAC",
  275. title: "(万kwh)",
  276. titleFontColor: "#A49EAC",
  277. titleFontSize: 10
  278. }]
  279. },
  280. extra: {
  281. column: {
  282. type: "group",
  283. width: 15,
  284. activeBgColor: "#000000",
  285. activeBgOpacity: 0.08
  286. }
  287. }
  288. }
  289. let proColor = ['#6C4B9E', '#323A97', '#4951B2', '#4287FF', '#3CB8FE', '#1AA7B5', '#5183B6', '#9F65C1',
  290. '#766FF1', '#4951B2',
  291. ]
  292. //模拟服务器返回数据,如果数据格式和标准格式不同,需自行按下面的格式拼接
  293. if (type === 'day') {
  294. let valData = []
  295. if (values.length === 0) {
  296. valData = [{
  297. rfdldb: 250000,
  298. recordDate: '2023-12-05'
  299. }]
  300. } else {
  301. valData = values
  302. }
  303. this.dayBarData(opts, proColor, valData)
  304. } else if (type === 'month') {
  305. this.monthBarData(opts, proColor, values)
  306. }
  307. },
  308. dayBarData(opts, proColor, values) {
  309. let xAxis = []
  310. let series = []
  311. values.forEach((item, index) => {
  312. xAxis.push(item.recordDate.substring(5))
  313. let obj = {
  314. color: '',
  315. name: '',
  316. textSize: 10,
  317. textColor: "#A49EAC",
  318. value: item.rfdldb / 1000
  319. }
  320. proColor.forEach((it, idx) => {
  321. if (index.toString().length > 1) {
  322. obj.color = proColor[index.toString().slice(-1)]
  323. } else {
  324. obj.color = proColor[index]
  325. }
  326. })
  327. series.push(obj)
  328. })
  329. let res = {
  330. categories: xAxis,
  331. series: [{
  332. name: '日发电量',
  333. textColor: "#FFFFFF",
  334. textSize: 12,
  335. data: series
  336. }]
  337. };
  338. this.optsDay = opts
  339. this.chartDataDay = JSON.parse(JSON.stringify(res));
  340. },
  341. monthBarData(opts, proColor, values) {
  342. let xAxis = []
  343. let series = []
  344. values.forEach((item, index) => {
  345. xAxis.push((index + 1) + '月')
  346. let obj = {
  347. color: '',
  348. name: '',
  349. textSize: 10,
  350. textColor: "#A49EAC",
  351. value: item.sjdl
  352. }
  353. proColor.forEach((it, idx) => {
  354. if (index.toString().length > 1) {
  355. obj.color = proColor[index.toString().slice(-1)]
  356. } else {
  357. obj.color = proColor[index]
  358. }
  359. })
  360. series.push(obj)
  361. })
  362. let res = {
  363. categories: xAxis,
  364. series: [{
  365. name: '实发电量',
  366. textColor: "#FFFFFF",
  367. textSize: 12,
  368. data: series
  369. }]
  370. };
  371. opts.xAxis.title = '月'
  372. this.optsMonth = opts
  373. this.chartDataMonth = JSON.parse(JSON.stringify(res));
  374. },
  375. getLineBar() {
  376. let opts = {
  377. color: ["#1890FF", "#91CB74", "#FAC858", "#EE6666", "#73C0DE", "#3CA272", "#FC8452", "#9A60B4",
  378. "#ea7ccc"
  379. ],
  380. padding: [15, 15, 0, 5],
  381. enableScroll: false,
  382. legend: {
  383. show: true
  384. },
  385. xAxis: {
  386. disableGrid: true,
  387. axisLineColor: "#A49EAC",
  388. fontColor: "#A49EAC",
  389. fontSize: 10,
  390. marginTop: 5
  391. },
  392. yAxis: {
  393. showTitle: true,
  394. disabled: false,
  395. disableGrid: false,
  396. splitNumber: 5,
  397. gridType: "dash",
  398. dashLength: 4,
  399. gridColor: "#CCCCCC",
  400. padding: 10,
  401. data: [{
  402. position: "left",
  403. title: "折线",
  404. fontColor: "#A49EAC",
  405. titleFontColor: "#A49EAC",
  406. titleFontSize: 10
  407. },
  408. {
  409. position: "right",
  410. min: 0,
  411. max: 200,
  412. title: "点",
  413. textAlign: "left",
  414. fontColor: "#A49EAC",
  415. titleFontColor: "#A49EAC",
  416. titleFontSize: 10
  417. }
  418. ]
  419. },
  420. extra: {
  421. mix: {
  422. column: {
  423. width: 20
  424. }
  425. }
  426. }
  427. }
  428. let proColor = ['#6C4B9E', '#323A97', '#4951B2', '#4287FF', '#3CB8FE', '#1AA7B5', '#5183B6', '#9F65C1',
  429. '#766FF1', '#4951B2',
  430. ]
  431. //模拟服务器返回数据,如果数据格式和标准格式不同,需自行按下面的格式拼接
  432. let res = {
  433. categories: ["2018", "2019", "2020", "2021", "2022", "2023"],
  434. series: [{
  435. name: "折线",
  436. type: "line",
  437. color: "#2fc25b",
  438. data: [150, 186, 205, 155, 96, 84]
  439. },
  440. {
  441. name: "折线",
  442. type: "line",
  443. color: "#2fc25b",
  444. data: [120, 140, 105, 170, 95, 160]
  445. },
  446. {
  447. name: "点",
  448. index: 2,
  449. type: "point",
  450. color: "#f04864",
  451. data: [100, 80, 125, 150, 112, 132]
  452. }
  453. ]
  454. };
  455. this.optsLine = opts
  456. this.chartDataLine = JSON.parse(JSON.stringify(res));
  457. },
  458. changePowerTab(item) {
  459. this.powerTabData.forEach(it => {
  460. it.showColor = false
  461. if (it.nameEN === item.nameEN) {
  462. item.showColor = true
  463. this.powerTab = it.nameEN
  464. }
  465. })
  466. if (this.powerTab === 'DL') {
  467. this.getPowerBar()
  468. } else {
  469. this.getLineBar()
  470. }
  471. },
  472. changeYearTab(item) {
  473. this.yearData.forEach(it => {
  474. it.showColor = false
  475. if (it.nameEN === item.nameEN) {
  476. item.showColor = true
  477. this.yearTab = it.nameEN
  478. }
  479. })
  480. },
  481. showProgress(item, index) {
  482. let indexX = index
  483. if (index > 9) {
  484. indexX = index - 9
  485. }
  486. let proColor = ['#6C4B9E', '#323A97', '#4951B2', '#4287FF', '#3CB8FE', '#1AA7B5', '#5183B6', '#9F65C1',
  487. '#766FF1'
  488. ]
  489. let pro = ((item.inPower / item.allPower).toFixed(2)) * 100 + '%'
  490. let showColor = proColor[indexX]
  491. let ss = `width: ${pro};background: ${showColor}`
  492. return ss
  493. },
  494. getReportData() {
  495. let that = this
  496. bulletinappBulletinApi({
  497. wpId: that.stationWpid
  498. }).then(res => {
  499. if (res && res.data) {
  500. that.reportDataAll = res.data
  501. let datas = res.data
  502. that.powerProgressData = [{
  503. type: 'wind',
  504. inPower: datas['月发电量'],
  505. allPower: datas['月计划发电量'],
  506. name: '月发电完成率'
  507. },
  508. {
  509. type: 'wind',
  510. inPower: datas['年发电量'],
  511. allPower: datas['年计划发电量'],
  512. name: '年发电完成率'
  513. }
  514. ]
  515. }
  516. })
  517. },
  518. },
  519. }
  520. </script>
  521. <style lang="scss">
  522. page {
  523. background-color: #202246;
  524. }
  525. .stationpower {
  526. width: 100vw;
  527. background: url('../../static/jnImage/loginPage/windBack.png'), url('../../static/jnImage/loginPage/backWav.png');
  528. background-repeat: no-repeat, repeat;
  529. background-size: 100% 260px, 100% 5px;
  530. .box-bg {
  531. width: 100vw;
  532. padding: 0;
  533. .uni-navbar {
  534. .uni-navbar__content {
  535. padding: 5px 0;
  536. height: 50px;
  537. }
  538. }
  539. }
  540. .power_main {
  541. padding: 25px;
  542. // margin: 20px 0;
  543. .power_tab {
  544. text {
  545. display: inline-block;
  546. width: 80px;
  547. height: 25px;
  548. border: 1px solid #4287FF;
  549. text-align: center;
  550. color: #4287FF;
  551. line-height: 25px;
  552. letter-spacing: 2px;
  553. }
  554. }
  555. .fdwcl {
  556. .fdwcl_title {
  557. width: 130px;
  558. height: 45px;
  559. padding-left: 10px;
  560. margin-top: 10px;
  561. background: linear-gradient(90deg, #333976, transparent);
  562. align-items: center;
  563. image {
  564. width: 24px;
  565. height: 22px;
  566. }
  567. text {
  568. margin-left: 10px;
  569. font-size: 16px;
  570. color: #fff;
  571. }
  572. }
  573. .yearTab {
  574. width: 80px;
  575. height: 25px;
  576. border-radius: 20px;
  577. background: #0B143E;
  578. margin-top: 20px;
  579. text {
  580. display: inline-block;
  581. width: 40px;
  582. height: 25px;
  583. border-radius: 20px;
  584. text-align: center;
  585. color: #4287FF;
  586. line-height: 25px;
  587. }
  588. }
  589. .fdwcl_DataAll {
  590. margin-top: 10px;
  591. .fdwcl_Data {
  592. .fdwcl_Data_1 {
  593. image {
  594. width: 18px;
  595. height: 18px;
  596. }
  597. text {
  598. margin-left: 5px;
  599. font-size: 28upx;
  600. color: #A49EAC;
  601. position: relative;
  602. top: 0px;
  603. }
  604. }
  605. .fdwcl_Data_2 {
  606. text {
  607. font-size: 32upx;
  608. color: #A49EAC;
  609. }
  610. }
  611. .fdwcl_Data_3 {
  612. text {
  613. font-size: 28upx;
  614. color: #A49EAC;
  615. }
  616. }
  617. }
  618. .fdwcl_Data_msg {
  619. width: 100%;
  620. height: 20px;
  621. border-radius: 5px;
  622. background: #0B143E;
  623. .show_msg {
  624. height: 20px;
  625. background: #6C4B9E;
  626. border-radius: 5px 0 0 5px;
  627. }
  628. }
  629. }
  630. }
  631. .rdldb {
  632. padding-bottom: 20px;
  633. .rdldb_title {
  634. width: 130px;
  635. height: 45px;
  636. padding-left: 10px;
  637. margin-top: 10px;
  638. background: linear-gradient(90deg, #333976, transparent);
  639. align-items: center;
  640. image {
  641. width: 24px;
  642. height: 22px;
  643. }
  644. text {
  645. margin-left: 10px;
  646. font-size: 16px;
  647. color: #fff;
  648. }
  649. }
  650. .qiun-charts {
  651. width: 100%;
  652. height: 300px;
  653. margin: 10px 0;
  654. }
  655. }
  656. .ycdl {
  657. margin-top: 10px;
  658. .ycdl_tits {
  659. width: 160px;
  660. height: 45px;
  661. padding-left: 10px;
  662. margin-top: 10px;
  663. background: linear-gradient(90deg, #333976, transparent);
  664. align-items: center;
  665. image {
  666. width: 24px;
  667. height: 22px;
  668. }
  669. text {
  670. margin-left: 10px;
  671. font-size: 16px;
  672. color: #fff;
  673. }
  674. }
  675. .ycdl_station {
  676. .ycdl_station_row {
  677. margin: 10px 0;
  678. .ycdl_station_col {
  679. height: 65px;
  680. width: 95%;
  681. background-color: #2E336D;
  682. .ycdl_data_col_top {
  683. height: 40px;
  684. text {
  685. font-size: 28upx;
  686. margin-left: 10px;
  687. }
  688. text:nth-of-type(1) {
  689. color: #fff;
  690. position: relative;
  691. top: 8px;
  692. font-size: 36upx;
  693. }
  694. text:nth-of-type(2) {
  695. color: #6274A1;
  696. position: relative;
  697. top: 18px;
  698. }
  699. }
  700. .ycdl_data_col_bot {
  701. height: 25px;
  702. background: #1AA7B5;
  703. image {
  704. width: 15px;
  705. height: 15px;
  706. position: relative;
  707. top: 5px;
  708. left: 5px;
  709. }
  710. text {
  711. font-size: 28upx;
  712. color: #fff;
  713. margin-left: 10px;
  714. line-height: 25px;
  715. }
  716. }
  717. }
  718. }
  719. }
  720. .ycdl_msg {
  721. .ycdl_title {
  722. image {
  723. width: 15px;
  724. height: 15px;
  725. position: relative;
  726. top: 3px;
  727. }
  728. text {
  729. font-size: 32upx;
  730. color: #676D9C;
  731. margin-left: 10px;
  732. }
  733. }
  734. .ycdl_data {
  735. margin-top: 5px;
  736. .ycdl_data_row {
  737. .ycdl_data_col {
  738. width: 98%;
  739. height: 20px;
  740. margin-bottom: 5px;
  741. background: #2E336D;
  742. border-radius: 5px;
  743. .ycdl_data_col_left {
  744. width: 50%;
  745. height: 20px;
  746. color: #fff;
  747. font-size: 30upx;
  748. background: #3F4572;
  749. border-radius: 5px;
  750. text {
  751. margin-left: 5px;
  752. }
  753. }
  754. .ycdl_data_col_right {
  755. height: 20px;
  756. color: #fff;
  757. font-size: 32upx;
  758. width: 48%;
  759. text:nth-of-type(1) {
  760. margin-left: 5px;
  761. width: 50%;
  762. font-size: 32upx;
  763. color: #fff;
  764. position: relative;
  765. top: 3px;
  766. }
  767. text:nth-of-type(2) {
  768. font-size: 22upx;
  769. color: #96B5D5;
  770. position: relative;
  771. top: 4px;
  772. }
  773. }
  774. }
  775. }
  776. }
  777. }
  778. }
  779. .xsfsgl {
  780. padding-bottom: 20px;
  781. .xsfsgl_title {
  782. width: 160px;
  783. height: 45px;
  784. padding-left: 10px;
  785. margin-top: 10px;
  786. background: linear-gradient(90deg, #333976, transparent);
  787. align-items: center;
  788. image {
  789. width: 24px;
  790. height: 22px;
  791. }
  792. text {
  793. margin-left: 10px;
  794. font-size: 16px;
  795. color: #fff;
  796. }
  797. }
  798. .qiun-chartsLine {
  799. width: 100%;
  800. height: 300px;
  801. margin: 10px 0;
  802. }
  803. }
  804. }
  805. }
  806. </style>