1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149 |
- <template>
- <div :class="$store.state.themeName === 'light' ? 'home_light' : 'home'">
- <div class="top-mid-panel">
- <Map
- ref="map"
- :wpId="wpId"
- :wpIds="wpIds"
- :homeSuspensionWindowsData="homeSuspensionWindowsData"
- :ForecastPowerNewHome_fc="ForecastPowerNewHome_fc"
- :ForecastPowerNewHome_gf="ForecastPowerNewHome_gf"
- :qyPower="qyPower"
- :powerDataHome="powerDataHome"
- :mapList="mapList"
- :StationinformationData="StationinformationData"
- :CurveValues="CurveValues"
- @mapClick="mapClick"
- @mapClicks="mapClicks"
- @mapClickBack="mapClickBack"
- @currentActiveTab="currentActiveTab"
- @backStation="onBackStation"
- ></Map>
- </div>
- <el-dialog
- :title="dialogTitle"
- v-model="dialogShow"
- width="80%"
- top="10vh"
- custom-class="modal"
- :close-on-click-modal="true"
- @closed="
- (res) => {
- dialogType = '';
- powerLineChartData = null;
- }
- "
- >
- <Table :data="dialogData" v-if="dialogType === 'table'" />
- <multiple-y-line-chart-normal
- height="800px"
- :list="powerLineChartData"
- :yAxises="powerLineChartYAxises"
- :showLegend="true"
- v-if="dialogType === 'powerLineChart' && powerLineChartData"
- />
- <multiple-y-line-chart-normal
- height="800px"
- :list="Powertrend"
- :yAxises="PowertrendYAxises"
- :showLegend="true"
- v-if="dialogType === 'powerLineChart' && !powerLineChartData"
- />
- <multiple-bar-chart
- height="800px"
- :units="doneLineChartData.units"
- :list="doneLineChartData.value"
- v-if="dialogType === 'doneLineChart'"
- />
- </el-dialog>
- </div>
- </template>
- <script>
- import {
- FindBasicDataInfo,
- FindPowerInfo,
- FindProjectplan,
- } from "@/api/home/home.js";
- import MultipleLineChartHome from "@/components/chart/line/double-line-chart-home.vue";
- import ListBarChart2Home from "../../components/chart/bar/list-bar-chart2-home.vue";
- import PowerReviewHome from "./components/power-review-home.vue";
- // @ is an alias to /src
- import Row from "../../components/coms/grid/row.vue";
- import Col from "../../components/coms/grid/col.vue";
- import ComPanel from "../../components/coms/panel/panel";
- // import ListBarChart from "../../components/chart/bar/list-bar-chart.vue";
- import ToolbarPanel from "../../components/coms/panel/toolbar-panel.vue";
- import MultipleBarChart from "../../components/chart/bar/multiple-bar-chart.vue";
- import MultipleYLineChartNormal from "../../components/chart/line/multiple-y-line-chart-normal.vue";
- import Panel3 from "../../components/coms/panel/panel3.vue";
- import SvgIcon from "../../components/coms/icon/svg-icon.vue";
- import CoulometricAnalysis from "./components/coulometric-analysis.vue";
- import Weather from "./components/weather.vue";
- import PowerReview from "./components/power-review.vue";
- import PowerPlan from "./components/power-plan.vue";
- import Map from "./components/map.vue";
- import ListBarChart2 from "../../components/chart/bar/list-bar-chart2.vue";
- // import ListBarChartNewHome from "../../components/chart/bar/list-bar-chart2-new-home.vue";
- import DoubleLineChart from "@com/chart/line/double-line-chart.vue";
- import api from "@api/cockpit/matrix/index.js";
- import Table from "./dialog/table.vue";
- import dayjs from "dayjs";
- export default {
- name: "Home",
- components: {
- PowerReviewHome,
- ListBarChart2Home,
- MultipleLineChartHome,
- Row,
- Col,
- ComPanel,
- Weather,
- CoulometricAnalysis,
- // ListBarChart,
- PowerReview,
- ToolbarPanel,
- PowerPlan,
- MultipleBarChart,
- MultipleYLineChartNormal,
- Panel3,
- SvgIcon,
- Map,
- ListBarChart2,
- // ListBarChartNewHome,
- Table,
- DoubleLineChart,
- },
- data() {
- return {
- wpId: "KGDL_FGS",
- wpIds: "KGDL_FGS0",
- StationinformationData: [],
- powerDataHome: {},
- ForecastPowerNewHome_fc: [],
- ForecastPowerNewHome_gf: [],
- qyPower: {},
- homeSuspensionWindowsData: [],
- CurveValues: {
- value: [
- {
- title: "",
- value: [],
- },
- ],
- },
- activeTab: 0,
- tabTitle: [
- { id: 1, title: "日" },
- { id: 2, title: "月" },
- { id: 3, title: "年" },
- ],
- tabTitle_gf: [
- { id: 1, title: "日" },
- { id: 2, title: "月" },
- { id: 3, title: "年" },
- ],
- newpointmapData: {},
- //
- historyWpId: "",
- historyPlanBtnName: "全部",
- timmer: null, // 计时器
- timmer2: null,
- timmer3: null,
- powerplanShowSingle: false,
- fcNum: 0,
- gfNum: 0,
- powerData: {},
- weatherChart: [
- {
- title: "温度",
- smooth: true,
- value: [],
- },
- {
- title: "湿度",
- smooth: true,
- value: [],
- },
- ],
- tqmap5: [],
- jczbmap: {},
- wxssmap: {},
- gxkmap: {},
- mxztmap: {},
- planData: {},
- tqmap: {},
- nowTime: "",
- planBtnName: "全部",
- powerLineChartYAxises: [],
- powerLineChartData: [
- {
- title: "",
- yAxisIndex: 0, // 使用单位
- value: [],
- },
- ],
- doneLineChartData: {
- // 图表所用单位
- units: [""],
- value: [
- {
- title: "",
- yAxisIndex: 0, // 使用单位
- value: [],
- },
- ],
- },
- dialogType: null,
- xtmap: {},
- dialogShow: false,
- dialogTitle: "",
- dialogData: {},
- // 预测电量
- ForecastPower: [],
- // 日发电量
- DayPower: {
- // 图表所用单位
- units: [""],
- value: [
- {
- title: "",
- yAxisIndex: 0, // 使用单位
- value: [],
- },
- ],
- },
- PowertrendYAxises: [
- {
- name: "功率",
- min: 0,
- max: null,
- unit: "(万kWh)",
- position: "left",
- },
- {
- name: "风速",
- min: 0,
- max: 25,
- unit: "(m/s)",
- position: "right",
- },
- ],
- mapList: [
- { text: "山西", code: "sxqyxx" },
- { text: "内蒙", code: "nmqyxx" },
- { text: "新疆", code: "xjqyxx" },
- { text: "河北", code: "hbqyxx" },
- { text: "陕西", code: "xsqyxx" },
- { text: "山东", code: "sdqyxx" },
- { text: "西藏", code: "xzqyxx" },
- ],
- penetrateType: 0,
- };
- },
- methods: {
- // 获取场站24小时功率图
- getData(wpId) {
- FindPowerInfo({ id: wpId }).then((res) => {
- if (res.data) {
- let Powertrend = {
- // 图表所用单位
- units: ["(万KWh)", "(风速)"],
- value: [
- {
- title: "保证功率",
- smooth: true, // 使用单位
- value: [],
- },
- {
- title: "理论功率",
- smooth: true, // 使用单位
- value: [],
- },
- {
- title: "实际功率",
- smooth: true, // 使用单位
- value: [],
- },
- ],
- };
- Powertrend.value[0].value = res.data.map((item) => {
- return {
- dateTime: dayjs()
- .startOf("date")
- .add(item.hours, "hour")
- .format("YYYY-MM-DD HH:mm:ss"),
- value: item.bzgl,
- };
- });
- Powertrend.value[1].value = res.data.map((item) => {
- return {
- dateTime: dayjs()
- .startOf("date")
- .add(item.hours, "hour")
- .format("YYYY-MM-DD HH:mm:ss"),
- value: item.llgl,
- };
- });
- Powertrend.value[2].value = res.data.map((item) => {
- return {
- dateTime: dayjs()
- .startOf("date")
- .add(item.hours, "hour")
- .format("YYYY-MM-DD HH:mm:ss"),
- value: item.sjgl,
- };
- });
- this.CurveValues = Powertrend.value;
- }
- });
- },
- // 请求服务
- requestData() {
- FindBasicDataInfo({ wpId: this.wpIds }).then(({ data }) => {
- this.StationinformationData = data;
- this.StationinformationData.cblpoint.fcShow = true;
- this.StationinformationData.cblpoint.gfShow = true;
- if (Object.keys(data).length) {
- let mapInfos = [];
- this.mapList.forEach((item) => {
- for (var key in data.sytc) {
- if (item.code == key) {
- data.sytc[key].name = item.text;
- mapInfos.push({ ...data.sytc[key] });
- }
- }
- });
- mapInfos.forEach((element) => {
- element.industryState = true;
- element.companyState = true;
- if (element.name == "山西") {
- if (!Object.hasOwn(element, "sxgszzjrl")) {
- element.companyState = false;
- }
- if (!Object.hasOwn(element, "sxcyzzjrl")) {
- element.industryState = false;
- }
- this.homeSuspensionWindowsData.sxqyxx = { ...element };
- } else if (element.name == "新疆") {
- if (!Object.hasOwn(element, "xjgszzjrl")) {
- element.companyState = false;
- }
- if (!Object.hasOwn(element, "xjcyzzjrl")) {
- element.industryState = false;
- }
- this.homeSuspensionWindowsData.xjqyxx = { ...element };
- } else if (element.name == "内蒙") {
- if (!Object.hasOwn(element, "nmgszzjrl")) {
- element.companyState = false;
- }
- if (!Object.hasOwn(element, "nmcyzzjrl")) {
- element.industryState = false;
- }
- this.homeSuspensionWindowsData.nmqyxx = { ...element };
- } else if (element.name == "西藏") {
- if (!Object.hasOwn(element, "xzgszzjrl")) {
- element.companyState = false;
- }
- if (!Object.hasOwn(element, "xzcyzzjrl")) {
- element.industryState = false;
- }
- this.homeSuspensionWindowsData.xzqyxx = { ...element };
- } else if (element.name == "山东") {
- if (!Object.hasOwn(element, "sdgszzjrl")) {
- element.companyState = false;
- }
- if (!Object.hasOwn(element, "sdcyzzjrl")) {
- element.industryState = false;
- }
- this.homeSuspensionWindowsData.sdqyxx = { ...element };
- } else if (element.name == "陕西") {
- if (!Object.hasOwn(element, "xsgszzjrl")) {
- element.companyState = false;
- }
- if (!Object.hasOwn(element, "xscyzzjrl")) {
- element.industryState = false;
- }
- this.homeSuspensionWindowsData.xsqyxx = { ...element };
- } else if (element.name == "河北") {
- if (!Object.hasOwn(element, "hbgszzjrl")) {
- element.companyState = false;
- }
- if (!Object.hasOwn(element, "hbcyzzjrl")) {
- element.industryState = false;
- }
- this.homeSuspensionWindowsData.hbqyxx = { ...element };
- }
- });
- this.powerDataHome = [
- {
- title: "清洁能源",
- value: (data?.qt?.sjgl / 1000).toFixed(2),
- dialogTitle: "清洁能源",
- subUrl: "genreset/findGLDetail",
- targetName: "bzgl",
- dialogType: "powerLineChart",
- max: 3000,
- },
- {
- title: "风电",
- value: (data?.qt?.fdsjgl / 1000).toFixed(2),
- dialogTitle: "功率详情",
- subUrl: "genreset/findGLDetail",
- targetName: "bzgl",
- dialogType: "powerLineChart",
- max: 3000,
- },
- {
- title: "光伏",
- value: (data?.qt?.gfsjgl / 1000).toFixed(2),
- dialogTitle: "保证功率详情",
- subUrl: "genreset/findGLDetail",
- targetName: "bzgl",
- dialogType: "powerLineChart",
- max: 3000,
- },
- ];
- let sbztmap = {
- fd: {},
- gf: {},
- };
- for (var key in data.mxztmap) {
- let a = key.substring(3, key.length);
- if (key.includes("gf_")) {
- sbztmap.gf[a] = data.mxztmap[key];
- } else if (key.includes("fd_")) {
- sbztmap.fd[a] = data.mxztmap[key];
- }
- }
- this.StationinformationData.sbztmap = sbztmap;
- }
- });
- },
- // 发电量
- findProjectPlan() {
- FindProjectplan({ wpId: this.wpIds }).then(({ data }) => {
- this.qyPower = data.proplanmap;
- this.ForecastPowerNewHome_fc = [
- [
- {
- name: "日发电量",
- id: "day",
- value: data?.proplanmap
- ? data?.proplanmap?.fd_r_sjdl < 0
- ? 0
- : (data?.proplanmap?.fd_r_sjdl / 10000).toFixed(2)
- : 0,
- color: 1,
- total: data?.proplanmap
- ? data?.proplanmap?.fd_r_jhdl < 0
- ? 0
- : data?.proplanmap?.fd_r_jhdl
- : 0,
- },
- ],
- [
- {
- name: "月发电量",
- id: "month",
- value: data?.proplanmap
- ? data?.proplanmap?.fd_y_sjdl < 0
- ? 0
- : (data?.proplanmap?.fd_y_sjdl / 10000).toFixed(2)
- : 0,
- color: 1,
- total: data?.proplanmap
- ? data?.proplanmap?.fd_y_jhdl < 0
- ? 0
- : data?.proplanmap?.fd_y_jhdl
- : 0,
- },
- ],
- [
- {
- name: "年发电量",
- id: "year",
- value: data?.proplanmap
- ? data?.proplanmap?.fd_n_sjdl < 0
- ? 0
- : (data?.proplanmap?.fd_n_sjdl / 10000).toFixed(2)
- : 0,
- color: 0,
- total: data?.proplanmap
- ? data?.proplanmap?.fd_n_jhdl < 0
- ? 0
- : data?.proplanmap?.fd_n_jhdl
- : 0,
- },
- ],
- ];
- this.ForecastPowerNewHome_gf = [
- [
- {
- name: "日发电量",
- id: "day",
- value: data?.proplanmap
- ? data?.proplanmap?.gf_r_sjdl < 0
- ? 0
- : (data?.proplanmap?.gf_r_sjdl / 10000).toFixed(2)
- : 0,
- color: 1,
- total: data?.proplanmap
- ? data?.proplanmap?.gf_r_jhdl < 0
- ? 0
- : data?.proplanmap?.gf_r_jhdl
- : 0,
- },
- ],
- [
- {
- name: "月发电量",
- id: "month",
- value: data?.proplanmap
- ? data?.proplanmap?.gf_y_sjdl < 0
- ? 0
- : (data?.proplanmap?.gf_y_sjdl / 10000).toFixed(2)
- : 0,
- color: 1,
- total: data?.proplanmap
- ? data?.proplanmap?.gf_y_jhdl < 0
- ? 0
- : data?.proplanmap?.gf_y_jhdl
- : 0,
- },
- ],
- [
- {
- name: "年发电量",
- id: "year",
- value: data?.proplanmap
- ? data?.proplanmap?.gf_n_sjdl < 0
- ? 0
- : (data?.proplanmap?.gf_n_sjdl / 10000).toFixed(2)
- : 0,
- color: 0,
- total: data?.proplanmap
- ? data?.proplanmap?.gf_n_jhdl < 0
- ? 0
- : data?.proplanmap?.gf_n_jhdl
- : 0,
- },
- ],
- ];
- });
- },
- // 点击地图展示类型
- mapClick(wpId, activeTab) {
- clearInterval(this.timmer);
- clearInterval(this.timmer2);
- this.timmer = null;
- this.timmer2 = null;
- this.activeTab = activeTab;
- this.wpId = wpId;
- this.wpIds =
- wpId.includes("FDC") || wpId.includes("GDC") ? wpId : wpId + activeTab;
- this.requestData();
- this.findProjectPlan();
- this.timmer = setInterval(() => {
- this.requestData();
- }, 5000);
- this.timmer2 = setInterval(() => {
- this.findProjectPlan(); //发电量
- if (this.penetrateType == 3) {
- this.getData(this.wpIds); //24小时功率曲线
- }
- }, 15 * 60 * 1000);
- },
- mapClicks(wpId, activeTab) {
- this.historyWpId = wpId;
- this.mapClick(wpId, activeTab);
- },
- mapClickBack(wpId, activeTab) {
- this.historyWpId = wpId;
- this.activeTab = activeTab;
- this.mapClick(this.historyWpId, activeTab);
- },
- currentActiveTab(penetrateType) {
- this.penetrateType = penetrateType;
- if (penetrateType === 3) {
- this.getData(this.wpIds);
- }
- },
- },
- created() {},
- mounted() {},
- unmounted() {
- clearInterval(this.timmer);
- clearInterval(this.timmer2);
- this.timmer = null;
- this.timmer2 = null;
- },
- };
- </script>
- <style lang="less">
- .top-distance {
- top: 97px !important;
- }
- .el-col + .el-col {
- padding-left: 0;
- }
- .home {
- width: 100%;
- height: 100%;
- background: url(../../assets/newHome_h.png);
- background-repeat: round;
- .date {
- display: flex;
- flex-direction: row;
- align-items: center;
- font-size: 12px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #b3b3b3;
- position: absolute;
- right: 0;
- top: -20px;
- .day {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 30px;
- height: 22px;
- border: 1px solid #0f5e30;
- border-radius: 11px 0px 0px 11px;
- background: rgba(67, 81, 107, 0.2);
- &.active {
- background: rgba(5, 187, 76, 0.4);
- color: #ffffff;
- }
- }
- .mouth {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 30px;
- height: 22px;
- border-top: 1px solid #0f5e30;
- border-bottom: 1px solid #0f5e30;
- background: rgba(67, 81, 107, 0.2);
- &.active {
- background: rgba(5, 187, 76, 0.4);
- color: #ffffff;
- }
- }
- .year {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 30px;
- height: 22px;
- border: 1px solid #0f5e30;
- border-radius: 0px 11px 11px 0px;
- background: rgba(67, 81, 107, 0.2);
- &.active {
- background: rgba(5, 187, 76, 0.4);
- color: #ffffff;
- }
- }
- }
- @keyframes safe_power {
- 0% {
- left: -320px;
- }
- 20% {
- left: -300px;
- }
- 100% {
- left: 48px;
- }
- }
- .safe_power {
- animation: safe_power 2.5s linear;
- }
- .security-days {
- position: absolute;
- top: 65px;
- left: 37px;
- font-weight: 400;
- z-index: 4;
- .text {
- font-size: 20px;
- font-family: Microsoft YaHei;
- margin-bottom: 12px;
- color: #ffffff;
- }
- .num {
- font-size: 35px;
- font-family: Bicubik;
- color: #05bb4c;
- .unit {
- font-size: 12px;
- font-family: Microsoft YaHei;
- margin-left: 5px;
- }
- }
- .security {
- margin-top: 15px;
- .unit-t {
- font-size: 14px;
- font-family: Adobe Heiti Std;
- color: #05bb4c;
- margin-left: 5px;
- }
- }
- .lineBox {
- .fd-rl,
- .gf-rl {
- font-size: 14px;
- font-family: Microsoft YaHei;
- color: #ffffff;
- .font-num {
- font-size: 16px;
- font-family: Bicubik;
- color: #05bb4c;
- margin: 0 5px;
- }
- .unit {
- font-size: 12px;
- color: #5e6269;
- }
- }
- .gf-rl {
- margin-top: 12px;
- .font-num {
- color: #ff8300;
- }
- }
- }
- }
- .qjny-info {
- background: rgba(0, 0, 0, 0.3);
- border-radius: 8px;
- bottom: 369px;
- position: absolute;
- padding: 20px 10px;
- z-index: 5;
- left: 37px;
- .qty_img {
- position: relative;
- left: -39px;
- top: -16px;
- animation: move 1s infinite linear;
- }
- .qty_content {
- margin-top: -25px;
- }
- ul {
- display: flex;
- li {
- width: 170px;
- height: 170px;
- margin-left: 20px;
- line-height: 30px;
- }
- .line {
- border-right: 1px dashed #252e43;
- width: 1px;
- margin-left: 0;
- margin-right: 5px;
- }
- }
- .qty_tit {
- font-size: 14px;
- position: relative;
- left: 75px;
- bottom: 50px;
- color: #999999;
- .qty_u {
- position: relative;
- top: 23px;
- left: -38px;
- }
- }
- .qty_value {
- font-size: 14px;
- position: relative;
- top: 26px;
- left: -54px;
- color: #05bb4c;
- font-family: "AgencyFB-Reg";
- font-weight: bold;
- .qty_u {
- font-size: 12px;
- color: #999999;
- margin-left: 20px;
- }
- }
- .qty_imag {
- font-size: 14px;
- color: #999999;
- .qty_val {
- font-family: "AgencyFB-Reg";
- font-weight: bold;
- color: #ffffff;
- margin: 0 20px;
- }
- .qty_unit {
- font-size: 12px;
- color: #999999;
- }
- }
- .qty_imag:first-of-type {
- margin-top: 10px;
- }
- }
- .switch-jrqk {
- position: absolute;
- top: 40%;
- left: 80%;
- backdrop-filter: blur(5px);
- z-index: 5;
- font-size: 16px;
- color: #fff;
- background: rgba(0, 0, 0, 0.3);
- border-radius: 8px;
- padding: 20px 10px;
- border: 1px solid #05bb4c;
- > div {
- margin-bottom: 10px;
- > img {
- display: inline-block;
- margin-right: 10px;
- vertical-align: -4%;
- }
- }
- }
- .ecoName {
- width: 406px;
- height: 138px;
- background: rgba(0, 0, 0, 0.3);
- border-radius: 8px;
- bottom: 210px;
- position: absolute;
- z-index: 4;
- left: 37px;
- .ecoTitle {
- width: 350px;
- height: 45px;
- border-bottom: 1px solid #252e43;
- margin: 0 auto;
- font-size: 16px;
- font-weight: 400;
- color: #ffffff;
- line-height: 45px;
- position: relative;
- span {
- position: absolute;
- right: 0;
- font-size: 12px;
- font-family: Source Han Sans SC;
- color: #b1b1b1;
- }
- }
- ul {
- display: flex;
- text-align: center;
- width: 350px;
- height: 92px;
- margin: 0 auto;
- justify-content: space-between;
- align-items: center;
- .eco_count {
- line-height: 23px;
- width: 25%;
- .kind {
- height: 23px;
- text-align: center;
- svg {
- width: 40px;
- height: 40px;
- margin-top: -10px;
- }
- }
- .eco_val {
- font-size: 14px;
- font-family: SourceHanSansCN;
- color: #ffffff;
- &.text-ellipsis {
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- -o-text-overflow: ellipsis;
- }
- }
- .eco_name {
- font-size: 12px;
- color: #b3b3b3;
- }
- }
- }
- }
- .my_echarts {
- width: 700px;
- height: 150px;
- background: rgba(0, 0, 0, 0.3);
- border-radius: 6px;
- position: absolute;
- bottom: 38px;
- left: 37px;
- z-index: 4;
- }
- @keyframes card {
- 0% {
- right: -360px;
- }
- 20% {
- right: -300px;
- }
- 100% {
- right: 37px;
- }
- }
- .card {
- width: 434px;
- background: rgba(0, 0, 0, 0.3);
- padding: 25px;
- position: absolute;
- right: 37px;
- animation: card 2.5s linear;
- }
- .wind_card {
- z-index: 5;
- height: 158px;
- top: 38px;
- .el-col {
- flex: 1;
- position: relative;
- }
- .grid-content {
- text-align: center;
- cursor: pointer;
- .img {
- position: relative;
- width: 84px;
- height: 84px;
- background: url("../../assets/imgs/instrumentPanel.png") no-repeat;
- img {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: rotateZ(360deg);
- transform-origin: left top;
- }
- .information {
- font-size: 14px;
- color: #2b99ff;
- font-family: "Arial";
- position: absolute;
- width: 100%;
- top: 32px;
- }
- > .unit {
- width: 100%;
- color: #7d838c;
- text-align: center;
- position: absolute;
- top: 65px;
- }
- p {
- position: absolute;
- left: 50%;
- bottom: -36%;
- white-space: nowrap;
- transform: translateX(-50%);
- }
- }
- }
- }
- .electric_card {
- height: 320px;
- top: 217px;
- right: 37px;
- z-index: 5;
- .el-row {
- align-items: center;
- margin-bottom: 31px;
- .el-col:first-child {
- text-align: right;
- margin-right: 10px;
- color: #b3b3b3;
- }
- .el-col:last-child {
- text-align: left;
- margin-left: 10px;
- font-size: 14px;
- font-family: "Arial";
- }
- }
- .el-row:nth-child(2) {
- .electric {
- .progress_bar {
- background: linear-gradient(90deg, #561f00, #853000, #f78712);
- .img {
- background: url("../../assets/imgs/generatingCapacityDay.png")
- no-repeat;
- }
- }
- .count {
- color: #ff8300;
- }
- }
- }
- .el-header {
- display: flex;
- justify-content: space-between;
- .title {
- font-size: 16px;
- font-family: "SourceHanSansSC-Regular";
- }
- .unit {
- color: #b1b1b1;
- }
- }
- .electric {
- width: 100%;
- height: 4.5px;
- background-color: rgba(142, 176, 255, 0.2);
- .progress_bar {
- position: relative;
- height: 100%;
- max-width: 100%;
- background: linear-gradient(90deg, #001442, #1c99ff);
- .img {
- background: url("../../assets/imgs/generatingCapacityMonth.png")
- no-repeat;
- position: absolute;
- display: inline-block;
- width: 39px;
- height: 39px;
- top: -17px;
- right: -22px;
- transform: scale(0.8);
- }
- .count {
- position: absolute;
- top: -30px;
- right: -22px;
- font-size: 14px;
- color: #2b99ff;
- font-family: "Arial";
- font-weight: bolder;
- }
- .dot {
- display: inline-block;
- width: 22.4px;
- height: 22.4px;
- border-radius: 50%;
- border: 1px solid #ff8300;
- background-color: #573e27;
- position: absolute;
- right: -11px;
- top: -9px;
- text-align: center;
- line-height: 22.4px;
- .dots_center {
- display: inline-block;
- width: 12px;
- height: 12px;
- border-radius: 50%;
- background-color: #fec448;
- box-shadow: 0px 0px 13px 12px #e77409a8;
- }
- }
- .percentage {
- position: absolute;
- top: -8px;
- right: -50px;
- font-family: "Arial";
- }
- }
- }
- .summarize {
- position: absolute;
- bottom: 0;
- margin-bottom: 0;
- margin-left: -25px;
- width: 100%;
- height: 80px;
- background-color: rgba(0, 0, 0, 0.2);
- border-bottom-left-radius: 8px;
- border-bottom-right-radius: 8px;
- color: #b3b3b3;
- padding: 0 35px;
- justify-content: space-between;
- .summarize-left {
- text-align: left !important;
- cursor: pointer;
- }
- .summarize-right {
- text-align: left !important;
- cursor: pointer;
- }
- p:last-child {
- margin-top: 8px;
- span:first-child {
- font-size: 18px;
- color: #ffffff;
- display: inline-block;
- width: 110px;
- text-align: left;
- font-family: "Arial";
- }
- }
- .line {
- width: 1px;
- height: 48px;
- background: #252e43;
- }
- }
- }
- .station_card {
- height: 302px;
- top: 557px;
- right: 37px;
- padding: 24px 14px;
- color: #7d838c;
- z-index: 5;
- > .card_header {
- line-height: 48px;
- .el-col:first-child {
- img {
- margin-right: 30px;
- vertical-align: -10%;
- }
- span {
- font-size: 20px;
- color: #05bb4c;
- display: inline-block;
- width: 70px;
- font-family: Arial;
- line-height: 33px;
- }
- }
- .el-col:last-child {
- text-align: right;
- span {
- padding: 0 6px;
- font-size: 20px;
- text-align: center;
- font-family: AgencyFB-Reg-Light;
- color: #ffffff;
- line-height: 33px;
- }
- }
- }
- > .el-row:last-child {
- border: none;
- margin-bottom: 0;
- }
- }
- .infos-echarts {
- padding: 10px;
- background-color: rgba(3, 5, 9, 0.5);
- }
- .model-bg-new-right {
- width: 100%;
- min-height: 135px;
- background-color: rgba(3, 5, 9, 0.5);
- border-radius: 6px;
- display: flex;
- flex-direction: column;
- // padding: 1% 5%;
- .power-charts {
- display: flex;
- flex-direction: row;
- align-items: flex-end;
- width: 100%;
- margin-top: 10px;
- .power-name-old {
- width: 80px;
- margin-bottom: 10px;
- color: #999999;
- }
- .power-name {
- width: 80px;
- margin-bottom: 20px;
- color: #999999;
- }
- .power-item {
- display: flex;
- flex-direction: column;
- width: 360px;
- .power-value-old {
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- margin-bottom: -12px;
- padding: 0 15px;
- .green-value {
- color: #05bb4c;
- }
- .purple-value {
- color: #4b55ae;
- }
- }
- .power-value {
- font-size: 12px;
- margin-bottom: -31px;
- font-family: Bicubik;
- margin-left: 255px;
- span:nth-child(1) {
- width: 5px;
- height: 5px;
- border-radius: 5px;
- display: inline-block;
- background-color: #fff;
- margin-right: 5px;
- }
- .green-value {
- color: #05bb4c;
- }
- .purple-value {
- color: #4b55ae;
- }
- }
- }
- }
- .infos {
- display: flex;
- flex-direction: column;
- width: 50%;
- height: 100%;
- width: 100%;
- .titles {
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- // padding: 0 15px;
- height: 50%;
- .amount {
- display: flex;
- flex-direction: row;
- align-items: center;
- .amount-image {
- margin-left: -42px;
- }
- .amount-nums {
- font-size: 12px;
- color: #7d838c;
- margin-left: 10px;
- display: flex;
- flex-direction: row;
- align-items: baseline;
- .num-item {
- font-size: 20px;
- color: #ffffff;
- margin-right: 5px;
- }
- }
- }
- .info-nums {
- display: flex;
- align-items: baseline;
- font-size: 14px;
- color: #7d838c;
- .nums {
- font-size: 20px;
- color: #ffffff;
- margin: 0 5px;
- }
- }
- }
- .tabSwitchover {
- // height: 23px;
- margin-top: 5px;
- .tabSwitchover-item {
- width: 42px;
- line-height: 23px;
- text-align: center;
- color: #b3b3b3;
- float: left;
- cursor: pointer;
- }
- .tab-active {
- border-bottom: 1px solid rgb(39, 219, 54);
- background: linear-gradient(
- to top,
- rgba(5, 187, 76, 0.5),
- rgba(5, 187, 76, 0)
- );
- }
- .unit {
- text-align: right;
- color: #b1b1b1;
- font-size: 12px;
- // float: right;
- }
- }
- .types {
- display: flex;
- flex-direction: row;
- align-items: center;
- height: 50%;
- width: 100%;
- margin-top: 15px;
- padding-bottom: 10px;
- border-bottom: 1px solid #302c2c;
- .type-model {
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- align-items: center;
- width: 16%;
- // height: 75%;
- font-size: 16px;
- .type-name {
- font-size: 14px;
- font-family: Agency FB;
- margin-bottom: 10px;
- }
- .type-num {
- height: 15px;
- }
- }
- }
- }
- }
- .base-info {
- height: 186px;
- background: rgba(3, 5, 9, 0.5);
- position: absolute;
- bottom: 4%;
- left: 43px;
- display: flex;
- flex-direction: row;
- border-radius: 6px;
- .charts {
- width: 100%;
- height: 100%;
- position: relative;
- margin-left: 1%;
- .energy-title {
- // margin-left: 2%;
- margin-top: 1%;
- font-size: 16px;
- color: #fff;
- }
- .dots {
- width: 0.185vh;
- height: 0.185vh;
- border-radius: 50%;
- background-color: @write;
- position: absolute;
- &.left {
- left: 0.37vh;
- }
- &.top {
- top: 0.37vh;
- }
- }
- .charts-item {
- // margin-left: 5%;
- margin-top: 10px;
- }
- }
- }
- .model-bg-new {
- width: 100%;
- min-height: 135px;
- background-color: rgba(3, 5, 9, 0.5);
- border-radius: 6px;
- display: flex;
- flex-direction: column;
- padding: 10px;
- .titles {
- height: 45px;
- border-bottom: 1px solid #333333;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- .name {
- font-size: 16px;
- color: #ffffff;
- }
- .unit {
- font-size: 12px;
- color: #b1b1b1;
- }
- }
- .save {
- display: flex;
- flex-direction: row;
- align-items: center;
- width: 100%;
- margin: 17px 0;
- .save-item {
- width: 25%;
- display: flex;
- flex-direction: column;
- align-items: center;
- .kind {
- width: 20px;
- height: 22px;
- .kind-img {
- width: 100%;
- height: 100%;
- }
- }
- .save-value {
- font-size: 16px;
- color: #ffffff;
- margin: 10px 0;
- }
- .save-name {
- font-size: 12px;
- color: #b3b3b3;
- }
- }
- }
- }
- .model-bg {
- width: 100%;
- min-height: 135px;
- background-color: rgba(3, 5, 9, 0.5);
- border-radius: 6px;
- display: flex;
- flex-direction: column;
- padding: 1% 5%;
- .titles {
- height: 45px;
- border-bottom: 1px solid #333333;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- .name {
- font-size: 16px;
- color: #ffffff;
- }
- .unit {
- font-size: 12px;
- color: #b1b1b1;
- }
- }
- .save {
- display: flex;
- flex-direction: row;
- align-items: center;
- width: 100%;
- margin: 17px 0;
- .save-item {
- width: 25%;
- display: flex;
- flex-direction: column;
- align-items: center;
- .kind {
- width: 20px;
- height: 22px;
- .kind-img {
- width: 100%;
- height: 100%;
- }
- }
- .save-value {
- font-size: 16px;
- color: #ffffff;
- margin: 10px 0;
- }
- .save-name {
- font-size: 12px;
- color: #b3b3b3;
- }
- }
- }
- }
- }
- .home_light {
- width: 100%;
- height: 100%;
- background: url(../../assets/newHome_b.png);
- background-repeat: round;
- .model-bg-new-right {
- width: 100%;
- min-height: 135px;
- background-color: rgba(83, 98, 104, 0.2);
- border-radius: 6px;
- display: flex;
- flex-direction: column;
- // padding: 1% 5%;
- .infos {
- display: flex;
- flex-direction: column;
- width: 50%;
- height: 100%;
- width: 100%;
- .titles {
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- // padding: 0 15px;
- height: 50%;
- .amount {
- display: flex;
- flex-direction: row;
- align-items: center;
- .amount-image {
- margin-left: -42px;
- }
- .amount-nums {
- font-size: 12px;
- color: #7d838c;
- margin-left: 10px;
- display: flex;
- flex-direction: row;
- align-items: baseline;
- .num-item {
- font-size: 20px;
- color: #ffffff;
- margin-right: 5px;
- }
- }
- }
- .info-nums {
- display: flex;
- align-items: baseline;
- font-size: 14px;
- color: #7d838c;
- .nums {
- font-size: 20px;
- color: #ffffff;
- margin: 0 5px;
- }
- }
- }
- .tabSwitchover {
- // height: 23px;
- margin-top: 5px;
- .tabSwitchover-item {
- width: 42px;
- line-height: 23px;
- text-align: center;
- color: #000;
- float: left;
- cursor: pointer;
- }
- .tab-active {
- border-bottom: 1px solid rgb(39, 219, 54);
- background: linear-gradient(
- to top,
- rgba(5, 187, 76, 0.5),
- rgba(5, 187, 76, 0)
- );
- }
- .unit {
- height: 35px;
- line-height: 35px;
- color: #000;
- font-size: 12px;
- // float: right;
- }
- }
- .types {
- display: flex;
- flex-direction: row;
- align-items: center;
- height: 50%;
- width: 100%;
- margin-top: 15px;
- padding-bottom: 10px;
- border-bottom: 1px solid #302c2c;
- .type-model {
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- align-items: center;
- width: 16%;
- // height: 75%;
- font-size: 16px;
- .type-name {
- font-size: 14px;
- font-family: Agency FB;
- margin-bottom: 10px;
- }
- .type-num {
- height: 15px;
- }
- }
- }
- }
- // .power-charts {
- // display: flex;
- // flex-direction: row;
- // align-items: flex-end;
- // width: 100%;
- // margin-top: 10px;
- // .power-name {
- // width: 80px;
- // margin-bottom: 10px;
- // color: #000;
- // }
- // .power-item {
- // display: flex;
- // flex-direction: column;
- // width: 300px;
- // .power-value {
- // border: 1px solid #fff;
- // margin-bottom: -12px;
- // padding: 0 15px;
- // .green-value {
- // color: #05BB4C;
- // }
- // .purple-value {
- // color: #4B55AE;
- // }
- // }
- // }
- // }
- }
- .base-info {
- height: 186px;
- background: rgba(83, 98, 104, 0.2);
- position: absolute;
- bottom: 4%;
- left: 117px;
- display: flex;
- flex-direction: row;
- border-radius: 6px;
- .charts {
- width: 100%;
- height: 100%;
- position: relative;
- margin-left: 1%;
- .energy-title {
- // margin-left: 2%;
- margin-top: 1%;
- font-size: 16px;
- color: #000;
- }
- .dots {
- width: 0.185vh;
- height: 0.185vh;
- border-radius: 50%;
- background-color: @write;
- position: absolute;
- &.left {
- left: 0.37vh;
- }
- &.top {
- top: 0.37vh;
- }
- }
- .charts-item {
- // margin-left: 5%;
- margin-top: 10px;
- }
- }
- }
- .model-bg-new {
- width: 100%;
- min-height: 135px;
- background-color: #d1d6d9;
- border-radius: 6px;
- display: flex;
- flex-direction: column;
- padding: 1% 5%;
- .titles {
- height: 45px;
- border-bottom: 1px solid #333333;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- .name {
- font-size: 16px;
- color: #000;
- }
- .unit {
- font-size: 12px;
- color: #000;
- }
- }
- .save {
- display: flex;
- flex-direction: row;
- align-items: center;
- width: 100%;
- margin: 17px 0;
- .save-item {
- width: 25%;
- display: flex;
- flex-direction: column;
- align-items: center;
- .kind {
- width: 20px;
- height: 22px;
- .kind-img {
- width: 100%;
- height: 100%;
- }
- }
- .save-value {
- font-size: 16px;
- color: #ffffff;
- margin: 10px 0;
- }
- .save-name {
- font-size: 12px;
- color: #b3b3b3;
- }
- }
- }
- }
- .model-bg {
- width: 100%;
- min-height: 135px;
- background-color: rgba(83, 98, 104, 0.2);
- border-radius: 6px;
- display: flex;
- flex-direction: column;
- padding: 1% 5%;
- .titles {
- height: 45px;
- border-bottom: 1px solid #333333;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- .name {
- font-size: 16px;
- color: #000000;
- }
- .unit {
- font-size: 12px;
- color: #606769;
- }
- }
- .save {
- display: flex;
- flex-direction: row;
- align-items: center;
- width: 100%;
- margin: 17px 0;
- .save-item {
- width: 25%;
- display: flex;
- flex-direction: column;
- align-items: center;
- .kind {
- width: 20px;
- height: 22px;
- .kind-img {
- width: 100%;
- height: 100%;
- }
- }
- .save-value {
- font-size: 16px;
- color: #ffffff;
- margin: 10px 0;
- }
- .save-name {
- font-size: 12px;
- color: #b3b3b3;
- }
- }
- }
- }
- }
- // .right {
- // width: 400px;
- // height: 100px;
- // position: absolute;
- // right: 25px;
- // top: 60px;
- // z-index: 2;
- // margin-top: 20px;
- // }
- .right {
- width: 450px;
- height: 100px;
- position: absolute;
- right: 25px;
- top: 25px;
- z-index: 2;
- }
- .com-panel {
- height: 100%;
- .panel-body {
- height: calc(100% - 32px);
- }
- }
- .top-mid-panel {
- flex: 1 1 auto;
- height: 100%;
- }
- .model-item {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- }
- .infos {
- display: flex;
- flex-direction: column;
- width: 50%;
- height: 100%;
- width: 370px;
- padding: 10px;
- .titles {
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- padding: 0 15px;
- height: 50%;
- .amount {
- display: flex;
- flex-direction: row;
- align-items: center;
- .amount-image {
- margin-left: -42px;
- }
- .amount-nums {
- font-size: 12px;
- color: #7d838c;
- margin-left: 10px;
- display: flex;
- flex-direction: row;
- align-items: baseline;
- .num-item {
- font-size: 20px;
- color: #ffffff;
- margin-right: 5px;
- }
- }
- }
- .info-nums {
- display: flex;
- align-items: baseline;
- font-size: 14px;
- color: #7d838c;
- .nums {
- font-size: 20px;
- color: #ffffff;
- margin: 0 5px;
- }
- }
- }
- .types {
- display: flex;
- flex-direction: row;
- align-items: center;
- height: 50%;
- width: 100%;
- .type-model {
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- align-items: center;
- width: 14%;
- height: 75%;
- font-size: 16px;
- .type-name {
- font-size: 14px;
- }
- }
- }
- }
- .fengji-icon {
- border-radius: 50%;
- width: 49px;
- height: 49px;
- box-shadow: inset 1.5px -1px 1px 0px @green;
- animation: fadenum 5s linear infinite;
- @keyframes fadenum {
- 100% {
- transform: rotate(360deg);
- }
- }
- svg {
- width: 25px;
- height: 22px;
- }
- }
- .jnjp-icon {
- svg {
- width: 25px;
- height: 25px;
- }
- }
- .jnjp-icon1 {
- margin-top: -10px;
- svg {
- width: 40px;
- height: 40px;
- }
- }
- .power-charts {
- display: flex;
- flex-direction: row;
- align-items: flex-end;
- width: 100%;
- margin-top: 10px;
- .power-name-old {
- width: 80px;
- margin-bottom: 10px;
- color: #7a8385;
- }
- .power-name {
- width: 80px;
- margin-bottom: 20px;
- color: #000;
- }
- .power-item {
- display: flex;
- flex-direction: column;
- width: 360px;
- .power-value-old {
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- margin-bottom: -12px;
- padding: 0 15px;
- .green-value {
- color: #05bb4c;
- }
- .purple-value {
- color: #4b55ae;
- }
- }
- .power-value {
- font-size: 12px;
- margin-bottom: -31px;
- font-family: Bicubik;
- margin-left: 255px;
- span:nth-child(1) {
- width: 5px;
- height: 5px;
- border-radius: 5px;
- display: inline-block;
- background-color: #fff;
- margin-right: 5px;
- }
- .green-value {
- color: #05bb4c;
- }
- .purple-value {
- color: #4b55ae;
- }
- }
- }
- }
- // .power-charts {
- // display: flex;
- // flex-direction: row;
- // align-items: flex-end;
- // width: 100%;
- // margin-top: 10px;
- // .power-name {
- // width: 80px;
- // margin-bottom: 20px;
- // color: #7a8385;
- // }
- // .power-item {
- // display: flex;
- // flex-direction: column;
- // width: 300px;
- // .power-value-old {
- // display: flex;
- // flex-direction: row;
- // align-items: center;
- // justify-content: space-between;
- // margin-bottom: -12px;
- // padding: 0 15px;
- // .green-value {
- // color: #05BB4C;
- // }
- // .purple-value {
- // color: #4B55AE;
- // }
- // }
- // .power-value {
- // font-size: 12px;
- // margin-bottom: -31px;
- // font-family: Bicubik;
- // margin-left: 255px;
- // span:nth-child(1) {
- // width: 5px;
- // height: 5px;
- // border-radius: 5px;
- // display: inline-block;
- // background-color: #fff;
- // margin-right: 5px;
- // }
- // .green-value {
- // color: #05BB4C;
- // }
- // .purple-value {
- // color: #4B55AE;
- // }
- // }
- // }
- // }
- </style>
|