123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121 |
- <template>
- <div
- :class="$store.state.themeName === 'dark' ? 'dark-matrix' : 'light-matrix'"
- >
- <!-- 头部按钮选项 -->
- <HeaderNav @typeFlag="typeFlag" :isAll="true" />
- <div class="matrix-body">
- <!-- 接入台数 欠发情况 -->
- <div class="body-title">
- <div class="base-inf">
- <div class="title-name">
- <div class="imgs" v-if="tabIndex === 0">
- <img src="@assets/imgs/downF.png" />
- <img src="@assets/imgs/all.png" class="all_img" />
- </div>
- <div class="imgs" v-if="tabIndex === -1">
- <img src="@assets/imgs/downF.png" />
- <img src="@assets/imgs/windup.png" class="qty_img" />
- </div>
- <div class="imgs" v-if="tabIndex === -2">
- <img src="@assets/imgs/downg.png" />
- <img src="@assets/imgs/ptyup.png" class="qty_img" />
- </div>
- <div class="base-num" @click="handleClick('all')">
- <div class="base-name">接入台数</div>
- <div class="nums">{{ sourceMap.jrts || 0 }}</div>
- </div>
- </div>
- <div class="matrix-status">
- <div
- class="title-status"
- :class="item.color"
- v-for="(item, index) in titleList"
- :key="index"
- >
- <div class="status-first" @click="handleClick(item.value1)">
- <div class="matrix-status-left">{{ item.name }}</div>
- <div class="matrix-status-right">
- {{ sourceMap[item.code] }}
- </div>
- </div>
- <div class="status-end" @click="handleClick(item.value2)">
- <div class="matrix-status-left">
- <i
- class="svg-icon svg-icon-sm"
- :class="
- $store.state.themeName === 'dark'
- ? 'svg-icon-' + item.color
- : 'white'
- "
- >
- <SvgIcon :svgid="item.icon1"></SvgIcon>
- </i>
- {{ item.text1 }}
- </div>
- <div class="matrix-status-right">
- {{ sourceMap[item.code1] }}
- </div>
- </div>
- <div class="status-end" @click="handleClick(item.value3)">
- <div class="matrix-status-left">
- <i
- class="svg-icon svg-icon-sm"
- :class="
- $store.state.themeName === 'dark'
- ? 'svg-icon-' + item.color
- : 'white'
- "
- >
- <SvgIcon :svgid="item.icon2"></SvgIcon>
- </i>
- {{ item.text2 }}
- </div>
- <div class="matrix-status-right">
- {{ sourceMap[item.code2] }}
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="unpaid">
- <div class="unpaid-item">
- <img src="@assets/imgs/unpaid.png" class="unpaid-img" alt="" />
- <div class="unpaid-name">欠发情况</div>
- </div>
- <div
- class="unpaid-item1"
- v-for="(item, index) in unpaidList"
- :key="index"
- :class="item.color"
- >
- <div class="percent">{{ item.num3 }}</div>
- <div class="nums">
- {{
- sourceMap[item.key]
- ? (sourceMap[item.key] / 10000).toFixed(2)
- : 0
- }}
- </div>
- </div>
- </div>
- </div>
- <!-- 风电场/光电站列表 -->
- <el-scrollbar
- height="calc(100% - 72px)"
- v-loading="loading"
- element-loading-background="rgba(4, 12, 11, 0.8)"
- element-loading-text="加载中..."
- >
- <div class="matrix-box">
- <!-- 单个风场/电站 -->
- <div
- class="matrixs"
- v-for="(value, index) in showMatrixList"
- :key="index"
- :class="{ active_vie: value.wtlist.length == 0 }"
- >
- <!-- wp -->
- <div class="matrix-title">
- <!--svg + wpname @click="handleToggle(index)"-->
- <div class="matrix-svg">
- <i
- v-if="value.czlx == -1"
- class="svg-icon svg-icon-sm svg-icon-green"
- >
- <SvgIcon svgid="svg-wind-site"></SvgIcon>
- </i>
- <i v-else class="svg-icon svg-icon-sm svg-icon-orange">
- <SvgIcon svgid="svg-photovoltaic"></SvgIcon>
- </i>
- <span
- class="station-name"
- :style="value.czlx == -1 ? '' : 'color:#ff8100'"
- >{{ value.wpname }}</span
- >
- </div>
- <!-- 右侧统计项 -->
- <div class="indicator">
- <div
- class="sub-title-item"
- :class="indexs >= 8 && !item.flag ? 'active' : 'active1'"
- v-for="(item, indexs) in subTitleDatas"
- :key="indexs"
- @click="handleIndicatorClick(value.czlx, value.wpid)"
- >
- <span>{{
- item.type === value.czlx ? item.text1 : item.text
- }}</span>
- <span class="sub-value" :style="{ color: item.color }">
- {{
- indexs >= 8
- ? value[item.key]
- ? item.ratio
- ? (value[item.key] / item.ratio).toFixed(2)
- : value[item.key].toFixed(2)
- : "0.00"
- : value[item.key]
- }}
- </span>
- </div>
- </div>
- </div>
- <!-- wt v-show="value['switch' + index]"-->
- <div class="matrix-list">
- <div
- class="matrix-card"
- style="cursor: pointer"
- :class="
- val.status !== '' && colorList[Number(val.status)]
- ? colorList[Number(val.status)]
- : 'gray'
- "
- v-for="(val, indexe) in value.wtlist"
- :key="indexe"
- >
- <div class="info">
- <!-- wtname + 状态 -->
- <div
- class="card-left"
- @click="handleLeftClick(val, value.czlx, value.wpid)"
- >
- <!-- <i class="lock" @mouseenter="handleMouse"></i> -->
- <div class="card-name">{{ val.wtname }}</div>
- <i
- class="svg-icon svg-icon-sm"
- :class="
- val.status === 4 || val.status === 5
- ? 'svg-icon-white'
- : `svg-icon-${colorList[Number(val.status)]}`
- "
- >
- <SvgIcon :svgid="mapping[val.status]"></SvgIcon
- ></i>
- </div>
- <div class="dashed" />
- <!-- 数据项 -->
- <div
- class="card-right"
- @click="handleRightClick(value.czlx, val.wtid)"
- >
- <div class="right-item">
- <i
- class="svg-icon svg-icon-sm"
- :class="
- val.status === 4 || val.status === 5
- ? 'svg-icon-white'
- : `svg-icon-${colorList[Number(val.status)]}`
- "
- >
- <SvgIcon svgid="svg-P"></SvgIcon
- ></i>
- <div class="right-value">
- {{
- val.power
- ? val && Number(val.power)?.toFixed(2)
- : "0.00"
- }}
- </div>
- </div>
- <div class="right-item">
- <i
- class="svg-icon svg-icon-sm"
- :class="
- val.status === 4 || val.status === 5
- ? 'svg-icon-white'
- : `svg-icon-${colorList[Number(val.status)]}`
- "
- >
- <SvgIcon
- :svgid="value.czlx == '-1' ? 'svg-W' : 'svg-A'"
- ></SvgIcon
- ></i>
- <div class="right-value">
- {{
- value.czlx == "-1"
- ? val.speed
- ? Number(val.speed)?.toFixed(2)
- : "0.00"
- : val.current
- ? Number(val.current)?.toFixed(2)
- : "0.00"
- }}
- </div>
- </div>
- <div class="right-item">
- <i
- class="svg-icon svg-icon-sm"
- :class="
- val.status === 4 || val.status === 5
- ? 'svg-icon-white'
- : `svg-icon-${colorList[Number(val.status)]}`
- "
- >
- <SvgIcon
- :svgid="value.czlx == '-1' ? 'svg-R' : 'svg-V'"
- ></SvgIcon
- ></i>
- <div class="right-value">
- {{
- value.czlx == "-1"
- ? val.transfer
- ? Number(val.transfer)?.toFixed(2)
- : "0.00"
- : val.voltage
- ? Number(val.voltage)?.toFixed(2)
- : "0.00"
- }}
- </div>
- </div>
- </div>
- </div>
- <div class="matrix-progress">
- <div
- class="progress-block"
- :style="{ width: (val.rate > 100 ? 100 : val.rate) + '%' }"
- :class="
- findUpColor(unpaidList, parseInt(Number(val.ssqfzt)) + 1)
- "
- ></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </el-scrollbar>
- <qushi-dialog ref="child" :chartName="chartName"></qushi-dialog>
- <el-dialog
- width="90%"
- top="40px"
- v-model="displayMatrix"
- :show-close="true"
- destroy-on-close
- >
- <template #title>
- <div class="dialog-title">
- <div class="title">设备详情</div>
- </div>
- </template>
- <div class="dialog-body" style="height: 800px">
- <img class="dialog-img" src="@assets/imgs/dialog.png" />
- <windDetail
- v-show="wtType == -1"
- :wind="wind"
- :flag="flag"
- ></windDetail>
- <lightDetail
- v-show="wtType == -2"
- :wind="wind"
- :flag="flag"
- ></lightDetail>
- </div>
- </el-dialog>
- </div>
- </div>
- </template>
- <script>
- import qushiDialog from "@/components/qushi/qushiDialog.vue";
- import windDetail from "@/components/windDetail/index";
- import lightDetail from "@/components/lightDetial/index.vue";
- import SvgIcon from "@com/coms/icon/svg-icon.vue";
- import { deepClone, findUpColor } from "@/utills/func.js";
- import HeaderNav from "@/components/headerNavSta/index.vue";
- import api from "@api/cockpit/matrix/index.js";
- export default {
- // 名称
- name: "DetailMatrix", //明细矩阵
- // 使用组件
- components: {
- SvgIcon,
- HeaderNav,
- qushiDialog,
- windDetail,
- lightDetail,
- },
- // 数据
- data() {
- return {
- loading: false,
- timmer: null, // 定时器开关
- sourceMap: {}, // 接口数据
- showMatrixList: [], //展示数据
- fillFjzt: "all", // 风机/电站状态
- mapping: {
- 0: "svg-standby",
- 1: "svg-manual",
- 2: "svg-normal-power",
- 3: "svg-drop-output",
- 4: "svg-gz-downtime",
- 5: "svg-field-involved",
- 6: "svg-jx-downtime",
- 7: "svg-field-involved",
- 8: "svg-limit-power",
- 9: "svg-downtime",
- 10: "svg-intranet-involvement",
- 11: "svg-environment",
- 12: "svg-offline",
- 13: "svg-unknown",
- },
- status: "all",
- titleArr: [],
- // 左侧标签
- titleList: [
- {
- color: "blue",
- name: "待机",
- text1: "待机",
- text2: "手动停机",
- value1: "dj",
- value2: "0",
- value3: "1",
- code: "djts",
- code1: "dfts",
- code2: "sdtj",
- icon1: "svg-standby",
- icon2: "svg-manual",
- },
- {
- color: "green",
- name: "并网",
- text1: "正常运行",
- text2: "降出力运行",
- value1: "yx",
- value2: "2",
- value3: "3",
- code: "bwts",
- code1: "zcyx",
- code2: "jclyx",
- icon1: "svg-normal-power",
- icon2: "svg-drop-output",
- },
- {
- color: "red",
- name: "故障",
- text1: "故障停机",
- text2: "故障受累",
- value1: "gz",
- value2: "4",
- value3: "5",
- code: "gzts",
- code1: "gztj",
- code2: "gzsl",
- icon1: "svg-gz-downtime",
- icon2: "svg-field-involved",
- },
- {
- color: "orange",
- name: "检修",
- text1: "检修停机",
- text2: "检修受累",
- value1: "jx",
- value2: "6",
- value3: "7",
- code: "jxts",
- code1: "jxtj",
- code2: "jxsl",
- icon1: "svg-jx-downtime",
- icon2: "svg-field-involved",
- },
- {
- color: "pink",
- name: "限电",
- text1: "限电降出力",
- text2: "限电停机",
- value1: "xd",
- value2: "8",
- value3: "9",
- code: "xdts",
- code1: "xdjcl",
- code2: "xdtj",
- icon1: "svg-limit-power",
- icon2: "svg-downtime",
- },
- {
- color: "write",
- name: "受累",
- text1: "电网受累",
- text2: "环境受累",
- value1: "sl",
- value2: "10",
- value3: "11",
- code: "slts",
- code1: "dwsl",
- code2: "hjsl",
- icon1: "svg-intranet-involvement",
- icon2: "svg-environment",
- },
- {
- color: "gray",
- name: "离线",
- text1: "离线",
- text2: "未知",
- value1: "lx",
- value2: "12",
- value3: "13",
- code: "lx",
- code1: "lxz",
- code2: "wz",
- icon1: "svg-offline",
- icon2: "svg-unknown",
- },
- ],
- // 右侧欠发标签
- unpaidList: [
- {
- id: 1,
- test: "欠发电量",
- num1: 0,
- key: "qf0",
- num3: "0%~5%",
- color: "upGreen",
- },
- {
- id: 2,
- test: "欠发电量",
- num1: 0,
- key: "qf1",
- num3: "5%~10%",
- color: "upSkyBlue",
- },
- {
- id: 3,
- test: "欠发电量",
- num1: 0,
- key: "qf2",
- num3: "10%~20%",
- color: "upBlue",
- },
- {
- id: 4,
- test: "欠发电量",
- num1: 0,
- key: "qf3",
- num3: "20%~40%",
- color: "upPurple",
- },
- {
- id: 5,
- test: "欠发电量",
- num1: 0,
- key: "qf4",
- num3: ">40%",
- color: "upPink",
- },
- ],
- colorList: [
- "blue",
- "blue",
- "green",
- "green",
- "red",
- "red",
- "orange",
- "orange",
- "pink",
- "pink",
- "write",
- "write",
- "gray",
- "gray",
- ],
- subTitleDatas: [
- {
- text: "接入台数",
- color: "#FFFFFF",
- key: "jrts",
- },
- {
- text: "待机台数",
- color: "#1c99ff",
- key: "djts",
- },
- {
- text: "并网台数",
- color: "#05BB4C",
- key: "bwts",
- },
- {
- text: "故障台数",
- color: "#BA3237",
- key: "gzts",
- },
- {
- text: "检修台数",
- color: "#E17D24",
- key: "jxts",
- },
- {
- text: "限电台数",
- color: "#C530C8",
- key: "xdts",
- },
- {
- text: "受累台数",
- color: "#FFFFFF",
- key: "slts",
- },
- {
- text: "离线台数",
- color: "#606769",
- key: "lxts",
- },
- {
- text: "风速",
- color: "#9CA5A8",
- key: "spped",
- text1: "光照强度",
- type: "-2",
- },
- {
- text: "预测功率",
- color: "#9CA5A8",
- key: "ycgl",
- },
- {
- text: "保证功率",
- color: "#9CA5A8",
- key: "bzgl",
- ratio: 1000,
- },
- // {
- // text: "理论功率",
- // color: "#9CA5A8",
- // key: "llgl",
- // ratio: 1000,
- // },
- {
- text: "实际功率",
- color: "#9CA5A8",
- key: "sjgl",
- ratio: 1000,
- },
- // {
- // text: "AGC指令",
- // color: "#9CA5A8",
- // key: "agc",
- // flag: true,
- // },
- // {
- // text: "出线功率",
- // color: "#9CA5A8",
- // key: "cxgl",
- // ratio: 1000,
- // flag: true,
- // },
- ],
- activeTab: "fc", //全部 风电 光伏
- enterpriseIndex: "all", //公司
- tabIndex: -1, //全部 0 风电 -1 光伏-2
- // wt指标
- ssPv: [
- {
- statiomName: "功率",
- stse: "",
- sts: "AI114",
- },
- {
- statiomName: "风速",
- stse: "",
- sts: "AI066",
- },
- {
- statiomName: "发电机转速",
- stse: "",
- sts: "AI060",
- },
- ],
- // wp指标
- stse: [
- {
- statiomName: "风速",
- stse: "",
- sts: "SSPJFS",
- },
- {
- statiomName: "预测功率",
- stse: "",
- sts: "FCFGDQDT0001",
- },
- {
- statiomName: "保证功率",
- stse: "",
- sts: "SSZBZGL",
- },
- // {
- // statiomName: "理论功率",
- // stse: "",
- // sts: "SSZNHGLZS",
- // },
- {
- statiomName: "实际功率",
- stse: "",
- sts: "SSZGL",
- },
- ],
- // 弹窗标题
- chartName: "对比曲线",
- displayMatrix: false,
- wind: {},
- wtType: -1,
- flag: false,
- };
- },
- // 函数
- methods: {
- handleMouse() {
- },
- deepClone,
- findUpColor,
- // 头部tab选择
- typeFlag(activeTab, enterpriseIndex) {
- this.activeTab = activeTab;
- this.tabIndex = activeTab == "all" ? 0 : activeTab == "fc" ? -1 : -2;
- this.enterpriseIndex = enterpriseIndex;
- },
- // 请求服务
- requestData() {
- api
- .matrixDetailPush({
- company:
- this.enterpriseIndex == "all"
- ? "0"
- : this.enterpriseIndex.toString(),
- type: this.tabIndex.toString(),
- })
- .then((res) => {
- if (Object.values(res.data.data).length) {
- let sourceMap = res.data.data;
- // sourceMap.powerVos.forEach((item, index) => {
- // item["switch" + index] = true;
- // });
- this.sourceMap = sourceMap;
- if (this.fillFjzt) {
- this.handleClick(this.fillFjzt);
- }
- } else {
- this.sourceMap = {};
- this.showMatrixList = [];
- }
- });
- },
- // 点击切换状态
- handleClick(val) {
- this.fillFjzt = val;
- this.handleClickWind();
- },
- // 点击开关闭场站设备
- handleToggle(index) {
- // this.showMatrixList[index]["switch" + index] =
- // !this.showMatrixList[index]["switch" + index];
- },
- // 状态切换改变数据
- handleClickWind() {
- this.loading = false;
- this.showMatrixList = JSON.parse(JSON.stringify(this.sourceMap.powerVos));
- let matrixList = this.sourceMap.powerVos;
- if (this.fillFjzt !== "all") {
- this.showMatrixList.forEach((item) => {
- item.wtlist = [];
- });
- switch (this.fillFjzt) {
- case "dj":
- matrixList.forEach((val, index) => {
- val.wtlist.forEach((item) => {
- if (item.status === 0 || item.status === 1) {
- this.showMatrixList[index].wtlist.push(item);
- }
- });
- });
- break;
- case "0":
- matrixList.forEach((val, index) => {
- val.wtlist.forEach((item) => {
- if (item.status === 0) {
- this.showMatrixList[index].wtlist.push(item);
- }
- });
- });
- break;
- case "1":
- matrixList.forEach((val, index) => {
- val.wtlist.forEach((item) => {
- if (item.status === 1) {
- this.showMatrixList[index].wtlist.push(item);
- }
- });
- });
- break;
- case "yx":
- matrixList.forEach((val, index) => {
- val.wtlist.forEach((item) => {
- if (item.status === 2 || item.status === 3) {
- this.showMatrixList[index].wtlist.push(item);
- }
- });
- });
- break;
- case "2":
- matrixList.forEach((val, index) => {
- val.wtlist.forEach((item) => {
- if (item.status === 2) {
- this.showMatrixList[index].wtlist.push(item);
- }
- });
- });
- break;
- case "3":
- matrixList.forEach((val, index) => {
- val.wtlist.forEach((item) => {
- if (item.status === 3) {
- this.showMatrixList[index].wtlist.push(item);
- }
- });
- });
- break;
- case "gz":
- matrixList.forEach((val, index) => {
- val.wtlist.forEach((item) => {
- if (item.status === 4 || item.status === 5) {
- this.showMatrixList[index].wtlist.push(item);
- }
- });
- });
- break;
- case "4":
- matrixList.forEach((val, index) => {
- val.wtlist.forEach((item) => {
- if (item.status === 4) {
- this.showMatrixList[index].wtlist.push(item);
- }
- });
- });
- break;
- case "5":
- matrixList.forEach((val, index) => {
- val.wtlist.forEach((item) => {
- if (item.status === 5) {
- this.showMatrixList[index].wtlist.push(item);
- }
- });
- });
- break;
- case "jx":
- matrixList.forEach((val, index) => {
- val.wtlist.forEach((item) => {
- if (item.status === 6 || item.status === 7) {
- this.showMatrixList[index].wtlist.push(item);
- }
- });
- });
- break;
- case "6":
- matrixList.forEach((val, index) => {
- val.wtlist.forEach((item) => {
- if (item.status === 6) {
- this.showMatrixList[index].wtlist.push(item);
- }
- });
- });
- break;
- case "7":
- matrixList.forEach((val, index) => {
- val.wtlist.forEach((item) => {
- if (item.status === 7) {
- this.showMatrixList[index].wtlist.push(item);
- }
- });
- });
- break;
- case "xd":
- matrixList.forEach((val, index) => {
- val.wtlist.forEach((item) => {
- if (item.status === 8 || item.status === 9) {
- this.showMatrixList[index].wtlist.push(item);
- }
- });
- });
- break;
- case "8":
- matrixList.forEach((val, index) => {
- val.wtlist.forEach((item) => {
- if (item.status === 8) {
- this.showMatrixList[index].wtlist.push(item);
- }
- });
- });
- break;
- case "9":
- matrixList.forEach((val, index) => {
- val.wtlist.forEach((item) => {
- if (item.status === 9) {
- this.showMatrixList[index].wtlist.push(item);
- }
- });
- });
- break;
- case "sl":
- matrixList.forEach((val, index) => {
- val.wtlist.forEach((item) => {
- if (item.status === 10 || item.status === 11) {
- this.showMatrixList[index].wtlist.push(item);
- }
- });
- });
- break;
- case "10":
- matrixList.forEach((val, index) => {
- val.wtlist.forEach((item) => {
- if (item.status === 10) {
- this.showMatrixList[index].wtlist.push(item);
- }
- });
- });
- break;
- case "11":
- matrixList.forEach((val, index) => {
- val.wtlist.forEach((item) => {
- if (item.status === 11) {
- this.showMatrixList[index].wtlist.push(item);
- }
- });
- });
- break;
- case "lx":
- matrixList.forEach((val, index) => {
- val.wtlist.forEach((item) => {
- if (item.status === 12 || item.status === 13) {
- this.showMatrixList[index].wtlist.push(item);
- }
- });
- });
- break;
- case "12":
- matrixList.forEach((val, index) => {
- val.wtlist.forEach((item) => {
- if (item.status === 12) {
- this.showMatrixList[index].wtlist.push(item);
- }
- });
- });
- break;
- case "13":
- matrixList.forEach((val, index) => {
- val.wtlist.forEach((item) => {
- if (item.status === 13) {
- this.showMatrixList[index].wtlist.push(item);
- }
- });
- });
- break;
- // case "all":
- // this.showMatrixList = this.sourceMap.powerVos;
- // break;
- }
- } else {
- this.showMatrixList = this.sourceMap.powerVos;
- }
- },
- // 点击左侧数据弹出曲线
- handleLeftClick(wt, type, wpid) {
- this.displayMatrix = true;
- this.wtType = type;
- this.$nextTick(() => {
- this.wind = { ...wt, wtType: type, wpid };
- this.flag = true;
- });
- // this.$refs.windDetail.start(wt);
- },
- // 点击右侧数据弹出曲线
- handleRightClick(type, wtid) {
- let y = this.deepClone(this.ssPv);
- if (type == "-2") {
- y[1].statiomName = "电流";
- y[1].sts = "AI075";
- y[2].statiomName = "电压";
- y[2].sts = "AIG055";
- }
- this.$refs.child.openCurvDatas(y, 2, wtid);
- },
- // 点击统计项弹出曲线
- handleIndicatorClick(czlx, wpid) {
- let y = this.deepClone(this.stse);
- if (czlx == "-2") {
- y[0].statiomName = "光照强度";
- y[0].sts = "SSPJGZD";
- }
- this.$refs.child.openCurvDatas(y, 1, wpid);
- },
- },
- created() {
- let that = this;
- that.$nextTick(() => {
- this.loading = true;
- that.requestData();
- that.timmer = setInterval(() => {
- that.requestData();
- }, 5000);
- });
- },
- mounted() {},
- unmounted() {
- clearInterval(this.timmer);
- this.timmer = null;
- },
- };
- </script>
- <style lang="less" scoped>
- @panelHeight: 60px;
- @titleHeight: 26px;
- .dark-matrix {
- height: 100%;
- display: flex;
- flex-direction: column;
- .matrix-body {
- display: flex;
- flex-direction: column;
- height: 100%;
- padding-right: 20px;
- padding-left: 20px;
- padding-bottom: 5px;
- .body-title {
- display: flex;
- flex-direction: row;
- align-items: center;
- width: 100%;
- height: 78px;
- background-color: rgba(0, 0, 0, 0.45);
- border-radius: 10px;
- .base-inf {
- display: flex;
- flex-direction: row;
- align-items: center;
- width: 60%;
- height: 100%;
- .title-name {
- display: flex;
- flex-direction: row;
- align-items: center;
- width: 18%;
- height: 100%;
- .imgs {
- display: flex;
- flex-direction: row;
- align-items: center;
- height: 100%;
- margin-left: 11px;
- }
- .base-num {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- cursor: pointer;
- .nums {
- font-size: 18px;
- font-family: Arial;
- font-weight: 400;
- color: #ffffff;
- }
- .base-name {
- font-size: 14px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #b3b3b3;
- margin-bottom: 10px;
- }
- }
- .all_img {
- width: 20px;
- position: relative;
- left: -34px;
- top: 1px;
- margin-right: 10px;
- animation: move 1s infinite linear;
- }
- .qty_img {
- position: relative;
- left: -39px;
- top: 1px;
- animation: move 1s infinite linear;
- }
- @keyframes move {
- 0% {
- top: 0px;
- }
- 20% {
- top: -1px;
- }
- 40% {
- top: -2px;
- }
- 80% {
- top: -1px;
- }
- 100% {
- top: 0px;
- }
- }
- }
- .matrix-status {
- width: 84%;
- display: flex;
- flex-direction: row;
- align-items: center;
- height: 80%;
- }
- .title-status {
- display: flex;
- flex-direction: column;
- width: 15%;
- height: 100%;
- padding-right: 5px;
- cursor: pointer;
- .status-first {
- width: 100%;
- height: 34%;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- background-color: rgba(5, 187, 76, 0.28);
- border-top: 1px solid #0b3d26;
- border-left: 1px solid #0b3d26;
- border-right: 1px solid #0b3d26;
- .matrix-status-left {
- margin-left: 6px;
- font-size: 14px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #05bb4c;
- }
- .matrix-status-right {
- margin-right: 6px;
- font-size: 16px;
- font-family: Arial;
- font-weight: 400;
- color: #05bb4c;
- }
- }
- .status-end {
- width: 100%;
- height: 33%;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- background-color: rgba(5, 187, 76, 0.16);
- border-left: 1px solid #0b3d26;
- border-right: 1px solid #0b3d26;
- border-bottom: 1px solid #0b3d26;
- .matrix-status-left {
- margin-left: 6px;
- font-size: 12px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #05bb4c;
- }
- .matrix-status-right {
- margin-right: 6px;
- font-size: 14px;
- font-family: Arial;
- font-weight: 400;
- color: #05bb4c;
- }
- }
- .matrix-status-right {
- margin-right: 6px;
- }
- &.green {
- .status-first {
- width: 100%;
- height: 34%;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- background-color: rgba(5, 187, 76, 0.28);
- border-top: 1px solid #0b3d26;
- border-left: 1px solid #0b3d26;
- border-right: 1px solid #0b3d26;
- .matrix-status-left {
- margin-left: 6px;
- font-size: 14px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #05bb4c;
- }
- .matrix-status-right {
- margin-right: 6px;
- font-size: 16px;
- font-family: Arial;
- font-weight: 400;
- color: #05bb4c;
- }
- }
- .status-end {
- width: 100%;
- height: 33%;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- background-color: rgba(5, 187, 76, 0.16);
- border-left: 1px solid #0b3d26;
- border-right: 1px solid #0b3d26;
- border-bottom: 1px solid #0b3d26;
- .matrix-status-left {
- margin-left: 6px;
- font-size: 12px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #05bb4c;
- }
- .matrix-status-right {
- margin-right: 6px;
- font-size: 14px;
- font-family: Arial;
- font-weight: 400;
- color: #05bb4c;
- }
- }
- .matrix-status-right {
- margin-right: 6px;
- }
- }
- &.blue {
- .status-first {
- width: 100%;
- height: 34%;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- background-color: rgba(0, 70, 199, 0.48);
- border-top: 1px solid #1e2341;
- border-left: 1px solid #1e2341;
- border-right: 1px solid #1e2341;
- .matrix-status-left {
- margin-left: 6px;
- font-size: 14px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #1c99ff;
- }
- .matrix-status-right {
- margin-right: 6px;
- font-size: 16px;
- font-family: Arial;
- font-weight: 400;
- color: #1c99ff;
- }
- }
- .status-end {
- width: 100%;
- height: 33%;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- background-color: rgba(0, 70, 199, 0.16);
- border-left: 1px solid #1e2341;
- border-right: 1px solid #1e2341;
- border-bottom: 1px solid #1e2341;
- .matrix-status-left {
- margin-left: 6px;
- font-size: 12px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #1c99ff;
- }
- .matrix-status-right {
- margin-right: 6px;
- font-size: 14px;
- font-family: Arial;
- font-weight: 400;
- color: #1c99ff;
- }
- }
- .matrix-status-right {
- margin-right: 6px;
- }
- }
- &.pink {
- .status-first {
- width: 100%;
- height: 34%;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- background-color: rgba(197, 48, 200, 0.28);
- border-top: 1px solid #3e1a48;
- border-left: 1px solid #3e1a48;
- border-right: 1px solid #3e1a48;
- .matrix-status-left {
- margin-left: 6px;
- font-size: 14px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #c530c8;
- }
- .matrix-status-right {
- margin-right: 6px;
- font-size: 16px;
- font-family: Arial;
- font-weight: 400;
- color: #c530c8;
- }
- }
- .status-end {
- width: 100%;
- height: 33%;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- background-color: rgba(197, 48, 200, 0.16);
- border-left: 1px solid #3e1a48;
- border-right: 1px solid #3e1a48;
- border-bottom: 1px solid #3e1a48;
- .matrix-status-left {
- margin-left: 6px;
- font-size: 12px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #c530c8;
- }
- .matrix-status-right {
- margin-right: 6px;
- font-size: 14px;
- font-family: Arial;
- font-weight: 400;
- color: #c530c8;
- }
- }
- .matrix-status-right {
- margin-right: 6px;
- }
- }
- &.red {
- .status-first {
- width: 100%;
- height: 34%;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- background-color: rgba(186, 50, 55, 0.28);
- border-top: 1px solid #3c1c1f;
- border-left: 1px solid #3c1c1f;
- border-right: 1px solid #3c1c1f;
- .matrix-status-left {
- margin-left: 6px;
- font-size: 14px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #ba3237;
- }
- .matrix-status-right {
- margin-right: 6px;
- font-size: 16px;
- font-family: Arial;
- font-weight: 400;
- color: #ba3237;
- }
- }
- .status-end {
- width: 100%;
- height: 33%;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- background-color: rgba(186, 50, 55, 0.16);
- border-left: 1px solid #3c1c1f;
- border-right: 1px solid #3c1c1f;
- border-bottom: 1px solid #3c1c1f;
- .matrix-status-left {
- margin-left: 6px;
- font-size: 12px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #ba3237;
- }
- .matrix-status-right {
- margin-right: 6px;
- font-size: 14px;
- font-family: Arial;
- font-weight: 400;
- color: #ba3237;
- }
- }
- .matrix-status-right {
- margin-right: 6px;
- }
- }
- &.orange {
- .status-first {
- width: 100%;
- height: 34%;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- background-color: rgba(225, 125, 36, 0.28);
- border-top: 1px solid #46301a;
- border-left: 1px solid #46301a;
- border-right: 1px solid #46301a;
- .matrix-status-left {
- margin-left: 6px;
- font-size: 14px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #e17d24;
- }
- .matrix-status-right {
- margin-right: 6px;
- font-size: 16px;
- font-family: Arial;
- font-weight: 400;
- color: #e17d24;
- }
- }
- .status-end {
- width: 100%;
- height: 33%;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- background-color: rgba(225, 125, 36, 0.16);
- border-left: 1px solid #46301a;
- border-right: 1px solid #46301a;
- border-bottom: 1px solid #46301a;
- .matrix-status-left {
- margin-left: 6px;
- font-size: 12px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #e17d24;
- }
- .matrix-status-right {
- margin-right: 6px;
- font-size: 14px;
- font-family: Arial;
- font-weight: 400;
- color: #e17d24;
- }
- }
- .matrix-status-right {
- margin-right: 6px;
- }
- }
- &.gray {
- .status-first {
- width: 100%;
- height: 34%;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- background-color: rgba(96, 103, 105, 0.28);
- border-top: 1px solid #262b32;
- border-left: 1px solid #262b32;
- border-right: 1px solid #262b32;
- .matrix-status-left {
- margin-left: 6px;
- font-size: 14px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #606769;
- }
- .matrix-status-right {
- margin-right: 6px;
- font-size: 16px;
- font-family: Arial;
- font-weight: 400;
- color: #606769;
- }
- }
- .status-end {
- width: 100%;
- height: 33%;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- background-color: rgba(96, 103, 105, 0.16);
- border-left: 1px solid #262b32;
- border-right: 1px solid #262b32;
- border-bottom: 1px solid #262b32;
- .matrix-status-left {
- margin-left: 6px;
- font-size: 12px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #606769;
- }
- .matrix-status-right {
- margin-right: 6px;
- font-size: 14px;
- font-family: Arial;
- font-weight: 400;
- color: #606769;
- }
- }
- .matrix-status-right {
- margin-right: 6px;
- }
- }
- &.write {
- .status-first {
- width: 100%;
- height: 34%;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- background-color: rgba(255, 255, 255, 0.28);
- border-top: 1px solid #3f4349;
- border-left: 1px solid #3f4349;
- border-right: 1px solid #3f4349;
- .matrix-status-left {
- margin-left: 6px;
- font-size: 14px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #ffffff;
- }
- .matrix-status-right {
- margin-right: 6px;
- font-size: 16px;
- font-family: Arial;
- font-weight: 400;
- color: #ffffff;
- }
- }
- .status-end {
- width: 100%;
- height: 33%;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- background-color: rgba(255, 255, 255, 0.16);
- border-left: 1px solid #3f4349;
- border-right: 1px solid #3f4349;
- border-bottom: 1px solid #3f4349;
- .matrix-status-left {
- margin-left: 6px;
- font-size: 12px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #ffffff;
- }
- .matrix-status-right {
- margin-right: 6px;
- font-size: 14px;
- font-family: Arial;
- font-weight: 400;
- color: #ffffff;
- }
- }
- .matrix-status-right {
- margin-right: 6px;
- }
- }
- }
- }
- .unpaid {
- display: flex;
- flex-direction: row;
- align-items: center;
- width: 40%;
- height: 100%;
- .unpaid-item {
- width: 20%;
- height: 80%;
- margin-right: 5px;
- padding: 0 10px;
- .unpaid-img {
- width: 115px;
- height: 39px;
- }
- .unpaid-value {
- width: 90%;
- display: flex;
- flex-direction: row-reverse;
- font-size: 18px;
- font-family: Arial;
- font-weight: 400;
- color: #ff9f1f;
- margin-top: -20px;
- }
- .unpaid-name {
- width: 90%;
- font-size: 14px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #b3b3b3;
- transform: translate(50%, -100%);
- }
- }
- .unpaid-item1 {
- width: 20%;
- height: 80%;
- margin-right: 5px;
- &.upGreen {
- .percent {
- background-color: rgba(87, 207, 58, 0.8);
- border-top: 1px solid rgba(87, 207, 58, 0.35);
- border-left: 1px solid rgba(87, 207, 58, 0.35);
- border-right: 1px solid rgba(87, 207, 58, 0.35);
- }
- .nums {
- background-color: rgba(87, 207, 58, 0.35);
- border-left: 1px solid rgba(87, 207, 58, 0.35);
- border-right: 1px solid rgba(87, 207, 58, 0.35);
- border-bottom: 1px solid rgba(87, 207, 58, 0.35);
- }
- }
- &.upSkyBlue {
- .percent {
- background-color: rgba(14, 199, 220, 0.8);
- border-top: 1px solid rgba(14, 199, 220, 0.35);
- border-left: 1px solid rgba(14, 199, 220, 0.35);
- border-right: 1px solid rgba(14, 199, 220, 0.35);
- }
- .nums {
- background-color: rgba(14, 199, 220, 0.35);
- border-left: 1px solid rgba(14, 199, 220, 0.35);
- border-right: 1px solid rgba(14, 199, 220, 0.35);
- border-bottom: 1px solid rgba(14, 199, 220, 0.35);
- }
- }
- &.upBlue {
- .percent {
- background-color: rgba(25, 116, 255, 0.8);
- border-top: 1px solid rgba(25, 116, 255, 0.35);
- border-left: 1px solid rgba(25, 116, 255, 0.35);
- border-right: 1px solid rgba(25, 116, 255, 0.35);
- }
- .nums {
- background-color: rgba(25, 116, 255, 0.35);
- border-left: 1px solid rgba(25, 116, 255, 0.35);
- border-right: 1px solid rgba(25, 116, 255, 0.35);
- border-bottom: 1px solid rgba(25, 116, 255, 0.35);
- }
- }
- &.upPurple {
- .percent {
- background-color: rgba(205, 76, 221, 0.8);
- border-top: 1px solid rgba(205, 76, 221, 0.35);
- border-left: 1px solid rgba(205, 76, 221, 0.35);
- border-right: 1px solid rgba(205, 76, 221, 0.35);
- }
- .nums {
- background-color: rgba(205, 76, 221, 0.35);
- border-left: 1px solid rgba(205, 76, 221, 0.35);
- border-right: 1px solid rgba(205, 76, 221, 0.35);
- border-bottom: 1px solid rgba(205, 76, 221, 0.35);
- }
- }
- &.upPink {
- .percent {
- background-color: rgba(255, 60, 128, 0.8);
- border-top: 1px solid rgba(255, 60, 128, 0.35);
- border-left: 1px solid rgba(255, 60, 128, 0.35);
- border-right: 1px solid rgba(255, 60, 128, 0.35);
- }
- .nums {
- background-color: rgba(255, 60, 128, 0.35);
- border-left: 1px solid rgba(255, 60, 128, 0.35);
- border-right: 1px solid rgba(255, 60, 128, 0.35);
- border-bottom: 1px solid rgba(255, 60, 128, 0.35);
- }
- }
- .percent {
- width: 100%;
- height: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 14px;
- font-family: Arial;
- font-weight: 400;
- color: #ffffff;
- }
- .nums {
- width: 100%;
- height: 50%;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: center;
- font-size: 16px;
- font-family: Arial;
- font-weight: 400;
- color: #ffffff;
- padding: 0 8px;
- }
- }
- }
- }
- .matrix-box {
- background-color: rgba(0, 0, 0, 0.45);
- }
- .matrixs {
- width: 100%;
- margin-top: 7px;
- .matrix-title {
- display: flex;
- flex-direction: row;
- align-items: center;
- width: 100%;
- height: 32px;
- background-color: rgba(96, 103, 105, 0.4);
- font-size: 12px;
- font-family: SourceHanSansCN;
- font-weight: 400;
- color: #05bb4c;
- padding: 0 12px;
- .matrix-svg {
- flex: 0 0 auto;
- margin-right: 10px;
- display: flex;
- align-items: center;
- }
- &.active {
- color: #fc8004;
- }
- .station-name {
- margin-left: 5px;
- margin-right: 18px;
- }
- .indicator {
- display: flex;
- flex-direction: row;
- align-items: center;
- width: 93%;
- height: 100%;
- white-space: nowrap;
- }
- .sub-title-item {
- display: flex;
- flex-direction: row;
- align-items: center;
- // width: 7%;
- width: 8%;
- height: 100%;
- margin-right: 20px;
- font-size: 12px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #b3b3b3;
- &.active {
- cursor: pointer;
- }
- &.active1 {
- // width: 5%;
- width: 6%;
- }
- .sub-value {
- font-size: 14px;
- font-family: Arial;
- font-weight: 400;
- margin-left: 5px;
- }
- }
- }
- .matrix-list {
- display: grid;
- justify-content: space-between;
- grid-template-columns: repeat(auto-fill, 114px);
- width: 100%;
- margin-top: 5px;
- .matrix-card {
- display: flex;
- flex-direction: column;
- width: 114px;
- height: 59px;
- margin-right: 2px;
- margin-bottom: 2px;
- background-color: rgba(0, 0, 0, 0.5);
- .info {
- display: flex;
- flex-direction: row;
- align-items: center;
- width: 100%;
- height: 50px;
- .card-left {
- width: 45px;
- height: 100%;
- display: flex;
- flex-direction: column;
- align-items: center;
- position: relative;
- .lock {
- width: 0;
- height: 0;
- border-top: 8px solid #fff;
- border-right: 8px solid transparent;
- position: absolute;
- top: 0;
- left: 0;
- }
- .card-name {
- font-size: 13px;
- font-family: Arial;
- font-weight: 400;
- margin-top: 5px;
- margin-bottom: 5px;
- }
- }
- .card-right {
- display: flex;
- flex-direction: column;
- padding: 0px 4px;
- position: relative;
- .right-item {
- display: flex;
- flex-direction: row;
- align-items: center;
- height: 15px;
- .right-value {
- font-size: 12px;
- font-family: Arial;
- font-weight: 400;
- margin-left: 3px;
- }
- }
- .card-hover {
- position: absolute;
- // width: 100px;
- // height: 50px;
- background-color: rgba(0, 0, 0, 1);
- left: -30px;
- top: -50px;
- display: none;
- }
- }
- .card-right:hover {
- .card-hover {
- display: block;
- }
- }
- }
- .matrix-progress {
- display: flex;
- flex-direction: row;
- align-items: center;
- width: 100%;
- padding: 0 4px;
- height: 8px;
- .progress-block {
- // width: 19px;
- height: 3px;
- background-color: #05bb4c;
- // margin-right: 2px;
- &.upGreen {
- background-color: rgba(87, 207, 58, 1);
- }
- &.upSkyBlue {
- background-color: rgba(14, 199, 220, 1);
- }
- &.upBlue {
- background-color: rgba(25, 116, 255, 1);
- }
- &.upPurple {
- background-color: rgba(205, 76, 221, 1);
- }
- &.upPink {
- background-color: rgba(255, 60, 128, 1);
- }
- }
- }
- &.green {
- border: 1px solid #05bb4c;
- color: #05bb4c;
- .info {
- border-bottom: 1px solid #05bb4c;
- background-color: rgba(5, 187, 76, 0.15);
- .dashed {
- width: 1px;
- height: 100%;
- background-image: linear-gradient(
- #05bb4c 0%,
- #05bb4c 40%,
- transparent 50%
- );
- background-size: 1px 9px;
- }
- }
- }
- &.blue {
- border: 1px solid #074ead;
- color: #1c99ff;
- .info {
- border-bottom: 1px solid #074ead;
- background-color: rgba(0, 70, 199, 0.25);
- .dashed {
- width: 1px;
- height: 100%;
- background-image: linear-gradient(
- #074ead 0%,
- #074ead 40%,
- transparent 50%
- );
- background-size: 1px 9px;
- }
- }
- }
- &.pink {
- border: 1px solid #c530c8;
- color: #c530c8;
- .info {
- border-bottom: 1px solid #c530c8;
- background-color: rgba(197, 48, 200, 0.15);
- .dashed {
- width: 1px;
- height: 100%;
- background-image: linear-gradient(
- #c530c8 0%,
- #c530c8 40%,
- transparent 50%
- );
- background-size: 1px 9px;
- }
- }
- }
- &.red {
- border: 1px solid #ba3237;
- color: #ffffff;
- .info {
- border-bottom: 1px solid #ba3237;
- background-color: rgba(186, 50, 55, 1);
- .dashed {
- width: 1px;
- height: 100%;
- background-image: linear-gradient(
- #e17d24 0%,
- #e17d24 40%,
- transparent 50%
- );
- background-size: 1px 9px;
- }
- }
- }
- &.orange {
- border: 1px solid #e17d24;
- color: #e17d24;
- .info {
- border-bottom: 1px solid #e17d24;
- background-color: rgba(225, 125, 36, 0.15);
- .dashed {
- width: 1px;
- height: 100%;
- background-image: linear-gradient(
- #e17d24 0%,
- #e17d24 40%,
- transparent 50%
- );
- background-size: 1px 9px;
- }
- }
- }
- &.write {
- border: 1px solid #51555a;
- color: #ffffff;
- .info {
- border-bottom: 1px solid #51555a;
- background-color: rgba(81, 85, 90, 1);
- .dashed {
- width: 1px;
- height: 100%;
- background-image: linear-gradient(
- #262626 0%,
- #262626 40%,
- transparent 50%
- );
- background-size: 1px 9px;
- }
- }
- }
- &.gray {
- border: 1px solid #606769;
- color: #a7a7a7;
- .info {
- border-bottom: 1px solid #606769;
- background-color: rgba(96, 103, 105, 0.2);
- .dashed {
- width: 1px;
- height: 100%;
- background-image: linear-gradient(
- #262626 0%,
- #262626 40%,
- transparent 50%
- );
- background-size: 1px 9px;
- }
- }
- }
- }
- }
- }
- .active_vie {
- width: 100%;
- margin-top: 0;
- margin-bottom: 5px;
- .matrix-list {
- display: grid;
- justify-content: space-between;
- grid-template-columns: repeat(auto-fill, 114px);
- width: 100%;
- margin-top: 0;
- }
- }
- }
- }
- .clearfix::after {
- content: "";
- clear: both;
- height: 0;
- line-height: 0;
- visibility: hidden;
- display: block;
- }
- .clearfix {
- zoom: 1;
- }
- </style>
|