detailMatrix.vue 80 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061
  1. <template>
  2. <div
  3. :class="$store.state.themeName === 'dark' ? 'dark-matrix' : 'light-matrix'"
  4. >
  5. <!-- 头部按钮选项 -->
  6. <HeaderNav @typeFlag="typeFlag" :isAll="true" />
  7. <div class="matrix-body">
  8. <!-- 接入台数 欠发情况 -->
  9. <div class="body-title">
  10. <div class="base-inf">
  11. <div class="title-name">
  12. <div class="imgs" v-if="tabIndex === 0">
  13. <img src="@assets/imgs/downF.png" />
  14. <img src="@assets/imgs/all.png" class="all_img" />
  15. </div>
  16. <div class="imgs" v-if="tabIndex === -1">
  17. <img src="@assets/imgs/downF.png" />
  18. <img src="@assets/imgs/windup.png" class="qty_img" />
  19. </div>
  20. <div class="imgs" v-if="tabIndex === -2">
  21. <img src="@assets/imgs/downg.png" />
  22. <img src="@assets/imgs/ptyup.png" class="qty_img" />
  23. </div>
  24. <div class="base-num" @click="handleClick('all')">
  25. <div class="base-name">接入台数</div>
  26. <div class="nums">{{ sourceMap.jrts || 0 }}</div>
  27. </div>
  28. </div>
  29. <div class="matrix-status">
  30. <div
  31. class="title-status"
  32. :class="item.color"
  33. v-for="(item, index) in titleList"
  34. :key="index"
  35. >
  36. <div class="status-first" @click="handleClick(item.value1)">
  37. <div class="matrix-status-left">{{ item.name }}</div>
  38. <div class="matrix-status-right">
  39. {{ sourceMap[item.code] }}
  40. </div>
  41. </div>
  42. <div class="status-end" @click="handleClick(item.value2)">
  43. <div class="matrix-status-left">
  44. <i
  45. class="svg-icon svg-icon-sm"
  46. :class="
  47. $store.state.themeName === 'dark'
  48. ? 'svg-icon-' + item.color
  49. : 'white'
  50. "
  51. >
  52. <SvgIcon :svgid="item.icon1"></SvgIcon>
  53. </i>
  54. {{ item.text1 }}
  55. </div>
  56. <div class="matrix-status-right">
  57. {{ sourceMap[item.code1] }}
  58. </div>
  59. </div>
  60. <div class="status-end" @click="handleClick(item.value3)">
  61. <div class="matrix-status-left">
  62. <i
  63. class="svg-icon svg-icon-sm"
  64. :class="
  65. $store.state.themeName === 'dark'
  66. ? 'svg-icon-' + item.color
  67. : 'white'
  68. "
  69. >
  70. <SvgIcon :svgid="item.icon2"></SvgIcon>
  71. </i>
  72. {{ item.text2 }}
  73. </div>
  74. <div class="matrix-status-right">
  75. {{ sourceMap[item.code2] }}
  76. </div>
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. <div class="unpaid">
  82. <div class="unpaid-item">
  83. <img src="@assets/imgs/unpaid.png" class="unpaid-img" alt="" />
  84. <div class="unpaid-name">欠发情况</div>
  85. </div>
  86. <div
  87. class="unpaid-item1"
  88. v-for="(item, index) in unpaidList"
  89. :key="index"
  90. :class="item.color"
  91. >
  92. <div class="percent">{{ item.num3 }}</div>
  93. <div class="nums">
  94. {{
  95. sourceMap[item.key]
  96. ? (sourceMap[item.key] / 10000).toFixed(2)
  97. : 0
  98. }}
  99. </div>
  100. </div>
  101. </div>
  102. </div>
  103. <!-- 风电场/光电站列表 -->
  104. <el-scrollbar
  105. height="calc(100% - 72px)"
  106. v-loading="loading"
  107. element-loading-background="rgba(4, 12, 11, 0.8)"
  108. element-loading-text="加载中..."
  109. >
  110. <div class="matrix-box">
  111. <!-- 单个风场/电站 -->
  112. <div
  113. class="matrixs"
  114. v-for="(value, index) in showMatrixList"
  115. :key="index"
  116. :class="{ active_vie: value.wtlist.length == 0 }"
  117. >
  118. <!-- wp -->
  119. <div class="matrix-title">
  120. <!--svg + wpname @click="handleToggle(index)"-->
  121. <div class="matrix-svg">
  122. <i
  123. v-if="value.czlx == -1"
  124. class="svg-icon svg-icon-sm svg-icon-green"
  125. >
  126. <SvgIcon svgid="svg-wind-site"></SvgIcon>
  127. </i>
  128. <i v-else class="svg-icon svg-icon-sm svg-icon-orange">
  129. <SvgIcon svgid="svg-photovoltaic"></SvgIcon>
  130. </i>
  131. <span
  132. class="station-name"
  133. :style="value.czlx == -1 ? '' : 'color:#ff8100'"
  134. >{{ value.wpname }}</span
  135. >
  136. </div>
  137. <!-- 右侧统计项 -->
  138. <div class="indicator">
  139. <div
  140. class="sub-title-item"
  141. :class="indexs >= 8 && !item.flag ? 'active' : 'active1'"
  142. v-for="(item, indexs) in subTitleDatas"
  143. :key="indexs"
  144. @click="handleIndicatorClick(value.czlx, value.wpid)"
  145. >
  146. <span>{{
  147. item.type === value.czlx ? item.text1 : item.text
  148. }}</span>
  149. <span class="sub-value" :style="{ color: item.color }">
  150. {{
  151. indexs >= 8
  152. ? value[item.key]
  153. ? item.ratio
  154. ? (value[item.key] / item.ratio).toFixed(2)
  155. : value[item.key].toFixed(2)
  156. : "0.00"
  157. : value[item.key]
  158. }}
  159. </span>
  160. </div>
  161. </div>
  162. </div>
  163. <!-- wt v-show="value['switch' + index]"-->
  164. <div class="matrix-list">
  165. <div
  166. class="matrix-card"
  167. style="cursor: pointer"
  168. :class="
  169. val.status !== '' && colorList[Number(val.status)]
  170. ? colorList[Number(val.status)]
  171. : 'gray'
  172. "
  173. v-for="(val, indexe) in value.wtlist"
  174. :key="indexe"
  175. >
  176. <div class="info">
  177. <!-- wtname + 状态 -->
  178. <div
  179. class="card-left"
  180. @click="handleLeftClick(val, value.czlx)"
  181. >
  182. <div class="card-name">{{ val.wtname }}</div>
  183. <i
  184. class="svg-icon svg-icon-sm"
  185. :class="
  186. val.status === 4 || val.status === 5
  187. ? 'svg-icon-white'
  188. : `svg-icon-${colorList[Number(val.status)]}`
  189. "
  190. >
  191. <SvgIcon :svgid="mapping[val.status]"></SvgIcon
  192. ></i>
  193. </div>
  194. <div class="dashed" />
  195. <!-- 数据项 -->
  196. <div
  197. class="card-right"
  198. @click="handleRightClick(value.czlx, val.wtid)"
  199. >
  200. <div class="right-item">
  201. <i
  202. class="svg-icon svg-icon-sm"
  203. :class="
  204. val.status === 4 || val.status === 5
  205. ? 'svg-icon-white'
  206. : `svg-icon-${colorList[Number(val.status)]}`
  207. "
  208. >
  209. <SvgIcon svgid="svg-P"></SvgIcon
  210. ></i>
  211. <div class="right-value">
  212. {{
  213. val.power
  214. ? val && Number(val.power)?.toFixed(2)
  215. : "0.00"
  216. }}
  217. </div>
  218. </div>
  219. <div class="right-item">
  220. <i
  221. class="svg-icon svg-icon-sm"
  222. :class="
  223. val.status === 4 || val.status === 5
  224. ? 'svg-icon-white'
  225. : `svg-icon-${colorList[Number(val.status)]}`
  226. "
  227. >
  228. <SvgIcon
  229. :svgid="value.czlx == '-1' ? 'svg-W' : 'svg-A'"
  230. ></SvgIcon
  231. ></i>
  232. <div class="right-value">
  233. {{
  234. value.czlx == "-1"
  235. ? val.speed
  236. ? Number(val.speed)?.toFixed(2)
  237. : "0.00"
  238. : val.current
  239. ? Number(val.current)?.toFixed(2)
  240. : "0.00"
  241. }}
  242. </div>
  243. </div>
  244. <div class="right-item">
  245. <i
  246. class="svg-icon svg-icon-sm"
  247. :class="
  248. val.status === 4 || val.status === 5
  249. ? 'svg-icon-white'
  250. : `svg-icon-${colorList[Number(val.status)]}`
  251. "
  252. >
  253. <SvgIcon
  254. :svgid="value.czlx == '-1' ? 'svg-R' : 'svg-V'"
  255. ></SvgIcon
  256. ></i>
  257. <div class="right-value">
  258. {{
  259. value.czlx == "-1"
  260. ? val.transfer
  261. ? Number(val.transfer)?.toFixed(2)
  262. : "0.00"
  263. : val.voltage
  264. ? Number(val.voltage)?.toFixed(2)
  265. : "0.00"
  266. }}
  267. </div>
  268. </div>
  269. </div>
  270. </div>
  271. <div class="matrix-progress">
  272. <div
  273. class="progress-block"
  274. :style="{ width: (val.rate > 100 ? 100 : val.rate) + '%' }"
  275. :class="
  276. findUpColor(unpaidList, parseInt(Number(val.ssqfzt)) + 1)
  277. "
  278. ></div>
  279. </div>
  280. </div>
  281. </div>
  282. </div>
  283. </div>
  284. </el-scrollbar>
  285. <qushi-dialog ref="child" :chartName="chartName"></qushi-dialog>
  286. <el-dialog
  287. class="dialogs"
  288. width="90%"
  289. top="40px"
  290. v-model="displayMatrix"
  291. :show-close="true"
  292. destroy-on-close
  293. >
  294. <template #title>
  295. <div class="dialog-title">
  296. <img class="dialog-title-img" src="@assets/imgs/dialog-title.png" />
  297. <div class="title">设备详情</div>
  298. </div>
  299. </template>
  300. <div class="dialog-body" style="height: 77vh">
  301. <img class="dialog-img" src="@assets/imgs/dialog.png" />
  302. <windDetail
  303. v-show="wtType == -1"
  304. :wind="wind"
  305. :flag="flag"
  306. showHeight="77vh"
  307. ></windDetail>
  308. <lightDetail
  309. v-show="wtType == -2"
  310. :wind="wind"
  311. :flag="flag"
  312. showHeight="77vh"
  313. ></lightDetail>
  314. </div>
  315. </el-dialog>
  316. </div>
  317. </div>
  318. </template>
  319. <script>
  320. import qushiDialog from "@/components/qushi/qushiDialog.vue";
  321. import windDetail from "@/components/windDetail/index";
  322. import lightDetail from "@/components/lightDetial/index.vue";
  323. import SvgIcon from "@com/coms/icon/svg-icon.vue";
  324. import { deepClone, findUpColor } from "@/utills/func.js";
  325. import HeaderNav from "@/components/headerNav/index.vue";
  326. import api from "@api/cockpit/matrix/index.js";
  327. export default {
  328. // 名称
  329. name: "DetailMatrix", //明细矩阵
  330. // 使用组件
  331. components: {
  332. SvgIcon,
  333. HeaderNav,
  334. qushiDialog,
  335. windDetail,
  336. lightDetail,
  337. },
  338. // 数据
  339. data() {
  340. return {
  341. loading: false,
  342. timmer: null, // 定时器开关
  343. sourceMap: {}, // 接口数据
  344. showMatrixList: [], //展示数据
  345. fillFjzt: "all", // 风机/电站状态
  346. mapping: {
  347. 0: "svg-standby",
  348. 1: "svg-manual",
  349. 2: "svg-normal-power",
  350. 3: "svg-drop-output",
  351. 4: "svg-gz-downtime",
  352. 5: "svg-field-involved",
  353. 6: "svg-jx-downtime",
  354. 7: "svg-field-involved",
  355. 8: "svg-limit-power",
  356. 9: "svg-downtime",
  357. 10: "svg-intranet-involvement",
  358. 11: "svg-environment",
  359. 12: "svg-offline",
  360. 13: "svg-unknown",
  361. },
  362. status: "all",
  363. titleArr: [],
  364. // 左侧标签
  365. titleList: [
  366. {
  367. color: "blue",
  368. name: "待机",
  369. text1: "待机",
  370. text2: "手动停机",
  371. value1: "dj",
  372. value2: "0",
  373. value3: "1",
  374. code: "djts",
  375. code1: "dfts",
  376. code2: "sdtj",
  377. icon1: "svg-standby",
  378. icon2: "svg-manual",
  379. },
  380. {
  381. color: "green",
  382. name: "并网",
  383. text1: "正常运行",
  384. text2: "降出力运行",
  385. value1: "yx",
  386. value2: "2",
  387. value3: "3",
  388. code: "bwts",
  389. code1: "zcyx",
  390. code2: "jclyx",
  391. icon1: "svg-normal-power",
  392. icon2: "svg-drop-output",
  393. },
  394. {
  395. color: "red",
  396. name: "故障",
  397. text1: "故障停机",
  398. text2: "故障受累",
  399. value1: "gz",
  400. value2: "4",
  401. value3: "5",
  402. code: "gzts",
  403. code1: "gztj",
  404. code2: "gzsl",
  405. icon1: "svg-gz-downtime",
  406. icon2: "svg-field-involved",
  407. },
  408. {
  409. color: "orange",
  410. name: "检修",
  411. text1: "检修停机",
  412. text2: "检修受累",
  413. value1: "jx",
  414. value2: "6",
  415. value3: "7",
  416. code: "jxts",
  417. code1: "jxtj",
  418. code2: "jxsl",
  419. icon1: "svg-jx-downtime",
  420. icon2: "svg-field-involved",
  421. },
  422. {
  423. color: "pink",
  424. name: "限电",
  425. text1: "限电降出力",
  426. text2: "限电停机",
  427. value1: "xd",
  428. value2: "8",
  429. value3: "9",
  430. code: "xdts",
  431. code1: "xdjcl",
  432. code2: "xdtj",
  433. icon1: "svg-limit-power",
  434. icon2: "svg-downtime",
  435. },
  436. {
  437. color: "write",
  438. name: "受累",
  439. text1: "电网受累",
  440. text2: "环境受累",
  441. value1: "sl",
  442. value2: "10",
  443. value3: "11",
  444. code: "slts",
  445. code1: "dwsl",
  446. code2: "hjsl",
  447. icon1: "svg-intranet-involvement",
  448. icon2: "svg-environment",
  449. },
  450. {
  451. color: "gray",
  452. name: "离线",
  453. text1: "离线",
  454. text2: "未知",
  455. value1: "lx",
  456. value2: "12",
  457. value3: "13",
  458. code: "lx",
  459. code1: "lxz",
  460. code2: "wz",
  461. icon1: "svg-offline",
  462. icon2: "svg-unknown",
  463. },
  464. ],
  465. // 右侧欠发标签
  466. unpaidList: [
  467. {
  468. id: 1,
  469. test: "欠发电量",
  470. num1: 0,
  471. key: "qf0",
  472. num3: "0%~5%",
  473. color: "upGreen",
  474. },
  475. {
  476. id: 2,
  477. test: "欠发电量",
  478. num1: 0,
  479. key: "qf1",
  480. num3: "5%~10%",
  481. color: "upSkyBlue",
  482. },
  483. {
  484. id: 3,
  485. test: "欠发电量",
  486. num1: 0,
  487. key: "qf2",
  488. num3: "10%~20%",
  489. color: "upBlue",
  490. },
  491. {
  492. id: 4,
  493. test: "欠发电量",
  494. num1: 0,
  495. key: "qf3",
  496. num3: "20%~40%",
  497. color: "upPurple",
  498. },
  499. {
  500. id: 5,
  501. test: "欠发电量",
  502. num1: 0,
  503. key: "qf4",
  504. num3: ">40%",
  505. color: "upPink",
  506. },
  507. ],
  508. colorList: [
  509. "blue",
  510. "blue",
  511. "green",
  512. "green",
  513. "red",
  514. "red",
  515. "orange",
  516. "orange",
  517. "pink",
  518. "pink",
  519. "write",
  520. "write",
  521. "gray",
  522. "gray",
  523. ],
  524. subTitleDatas: [
  525. {
  526. text: "接入台数",
  527. color: "#FFFFFF",
  528. key: "jrts",
  529. },
  530. {
  531. text: "待机台数",
  532. color: "#1c99ff",
  533. key: "djts",
  534. },
  535. {
  536. text: "并网台数",
  537. color: "#05BB4C",
  538. key: "bwts",
  539. },
  540. {
  541. text: "故障台数",
  542. color: "#BA3237",
  543. key: "gzts",
  544. },
  545. {
  546. text: "检修台数",
  547. color: "#E17D24",
  548. key: "jxts",
  549. },
  550. {
  551. text: "限电台数",
  552. color: "#C530C8",
  553. key: "xdts",
  554. },
  555. {
  556. text: "受累台数",
  557. color: "#FFFFFF",
  558. key: "slts",
  559. },
  560. {
  561. text: "离线台数",
  562. color: "#606769",
  563. key: "lxts",
  564. },
  565. {
  566. text: "风速",
  567. color: "#9CA5A8",
  568. key: "spped",
  569. text1: "光照强度",
  570. type: "-2",
  571. },
  572. {
  573. text: "预测功率",
  574. color: "#9CA5A8",
  575. key: "ycgl",
  576. },
  577. {
  578. text: "保证功率",
  579. color: "#9CA5A8",
  580. key: "bzgl",
  581. ratio: 1000,
  582. },
  583. {
  584. text: "理论功率",
  585. color: "#9CA5A8",
  586. key: "llgl",
  587. ratio: 1000,
  588. },
  589. {
  590. text: "实际功率",
  591. color: "#9CA5A8",
  592. key: "sjgl",
  593. ratio: 1000,
  594. },
  595. {
  596. text: "AGC指令",
  597. color: "#9CA5A8",
  598. key: "agc",
  599. flag: true,
  600. },
  601. {
  602. text: "出线功率",
  603. color: "#9CA5A8",
  604. key: "cxgl",
  605. ratio: 1000,
  606. flag: true,
  607. },
  608. ],
  609. activeTab: "all", //全部 风电 光伏
  610. enterpriseIndex: "all", //公司
  611. tabIndex: 0, //全部 0 风电 -1 光伏-2
  612. // wt指标
  613. ssPv: [
  614. {
  615. statiomName: "功率",
  616. stse: "",
  617. sts: "AI114",
  618. },
  619. {
  620. statiomName: "风速",
  621. stse: "",
  622. sts: "AI066",
  623. },
  624. {
  625. statiomName: "发电机转速",
  626. stse: "",
  627. sts: "AI060",
  628. },
  629. ],
  630. // wp指标
  631. stse: [
  632. {
  633. statiomName: "风速",
  634. stse: "",
  635. sts: "SSPJFS",
  636. },
  637. {
  638. statiomName: "预测功率",
  639. stse: "",
  640. sts: "FCFGDQDT0001",
  641. },
  642. {
  643. statiomName: "保证功率",
  644. stse: "",
  645. sts: "SSZBZGL",
  646. },
  647. {
  648. statiomName: "理论功率",
  649. stse: "",
  650. sts: "SSZNHGLZS",
  651. },
  652. {
  653. statiomName: "实际功率",
  654. stse: "",
  655. sts: "SSZGL",
  656. },
  657. ],
  658. // 弹窗标题
  659. chartName: "对比曲线",
  660. displayMatrix: false,
  661. wind: {},
  662. wtType: -1,
  663. flag: false,
  664. };
  665. },
  666. // 函数
  667. methods: {
  668. deepClone,
  669. findUpColor,
  670. // 头部tab选择
  671. typeFlag(activeTab, enterpriseIndex) {
  672. this.activeTab = activeTab;
  673. this.tabIndex = activeTab == "all" ? 0 : activeTab == "fc" ? -1 : -2;
  674. this.enterpriseIndex = enterpriseIndex;
  675. },
  676. // 请求服务
  677. requestData() {
  678. api
  679. .matrixDetailPush({
  680. company:
  681. this.enterpriseIndex == "all"
  682. ? "0"
  683. : this.enterpriseIndex.toString(),
  684. type: this.tabIndex.toString(),
  685. })
  686. .then((res) => {
  687. if (Object.values(res.data.data).length) {
  688. let sourceMap = res.data.data;
  689. // sourceMap.powerVos.forEach((item, index) => {
  690. // item["switch" + index] = true;
  691. // });
  692. this.sourceMap = sourceMap;
  693. if (this.fillFjzt) {
  694. this.handleClick(this.fillFjzt);
  695. }
  696. } else {
  697. this.sourceMap = {};
  698. this.showMatrixList = [];
  699. }
  700. });
  701. },
  702. // 点击切换状态
  703. handleClick(val) {
  704. this.fillFjzt = val;
  705. this.handleClickWind();
  706. },
  707. // 点击开关闭场站设备
  708. handleToggle(index) {
  709. // this.showMatrixList[index]["switch" + index] =
  710. // !this.showMatrixList[index]["switch" + index];
  711. },
  712. // 状态切换改变数据
  713. handleClickWind() {
  714. this.loading = false;
  715. this.showMatrixList = JSON.parse(JSON.stringify(this.sourceMap.powerVos));
  716. let matrixList = this.sourceMap.powerVos;
  717. if (this.fillFjzt !== "all") {
  718. this.showMatrixList.forEach((item) => {
  719. item.wtlist = [];
  720. });
  721. switch (this.fillFjzt) {
  722. case "dj":
  723. matrixList.forEach((val, index) => {
  724. val.wtlist.forEach((item) => {
  725. if (item.status === 0 || item.status === 1) {
  726. this.showMatrixList[index].wtlist.push(item);
  727. }
  728. });
  729. });
  730. break;
  731. case "0":
  732. matrixList.forEach((val, index) => {
  733. val.wtlist.forEach((item) => {
  734. if (item.status === 0) {
  735. this.showMatrixList[index].wtlist.push(item);
  736. }
  737. });
  738. });
  739. break;
  740. case "1":
  741. matrixList.forEach((val, index) => {
  742. val.wtlist.forEach((item) => {
  743. if (item.status === 1) {
  744. this.showMatrixList[index].wtlist.push(item);
  745. }
  746. });
  747. });
  748. break;
  749. case "yx":
  750. matrixList.forEach((val, index) => {
  751. val.wtlist.forEach((item) => {
  752. if (item.status === 2 || item.status === 3) {
  753. this.showMatrixList[index].wtlist.push(item);
  754. }
  755. });
  756. });
  757. break;
  758. case "2":
  759. matrixList.forEach((val, index) => {
  760. val.wtlist.forEach((item) => {
  761. if (item.status === 2) {
  762. this.showMatrixList[index].wtlist.push(item);
  763. }
  764. });
  765. });
  766. break;
  767. case "3":
  768. matrixList.forEach((val, index) => {
  769. val.wtlist.forEach((item) => {
  770. if (item.status === 3) {
  771. this.showMatrixList[index].wtlist.push(item);
  772. }
  773. });
  774. });
  775. break;
  776. case "gz":
  777. matrixList.forEach((val, index) => {
  778. val.wtlist.forEach((item) => {
  779. if (item.status === 4 || item.status === 5) {
  780. this.showMatrixList[index].wtlist.push(item);
  781. }
  782. });
  783. });
  784. break;
  785. case "4":
  786. matrixList.forEach((val, index) => {
  787. val.wtlist.forEach((item) => {
  788. if (item.status === 4) {
  789. this.showMatrixList[index].wtlist.push(item);
  790. }
  791. });
  792. });
  793. break;
  794. case "5":
  795. matrixList.forEach((val, index) => {
  796. val.wtlist.forEach((item) => {
  797. if (item.status === 5) {
  798. this.showMatrixList[index].wtlist.push(item);
  799. }
  800. });
  801. });
  802. break;
  803. case "jx":
  804. matrixList.forEach((val, index) => {
  805. val.wtlist.forEach((item) => {
  806. if (item.status === 6 || item.status === 7) {
  807. this.showMatrixList[index].wtlist.push(item);
  808. }
  809. });
  810. });
  811. break;
  812. case "6":
  813. matrixList.forEach((val, index) => {
  814. val.wtlist.forEach((item) => {
  815. if (item.status === 6) {
  816. this.showMatrixList[index].wtlist.push(item);
  817. }
  818. });
  819. });
  820. break;
  821. case "7":
  822. matrixList.forEach((val, index) => {
  823. val.wtlist.forEach((item) => {
  824. if (item.status === 7) {
  825. this.showMatrixList[index].wtlist.push(item);
  826. }
  827. });
  828. });
  829. break;
  830. case "xd":
  831. matrixList.forEach((val, index) => {
  832. val.wtlist.forEach((item) => {
  833. if (item.status === 8 || item.status === 9) {
  834. this.showMatrixList[index].wtlist.push(item);
  835. }
  836. });
  837. });
  838. break;
  839. case "8":
  840. matrixList.forEach((val, index) => {
  841. val.wtlist.forEach((item) => {
  842. if (item.status === 8) {
  843. this.showMatrixList[index].wtlist.push(item);
  844. }
  845. });
  846. });
  847. break;
  848. case "9":
  849. matrixList.forEach((val, index) => {
  850. val.wtlist.forEach((item) => {
  851. if (item.status === 9) {
  852. this.showMatrixList[index].wtlist.push(item);
  853. }
  854. });
  855. });
  856. break;
  857. case "sl":
  858. matrixList.forEach((val, index) => {
  859. val.wtlist.forEach((item) => {
  860. if (item.status === 10 || item.status === 11) {
  861. this.showMatrixList[index].wtlist.push(item);
  862. }
  863. });
  864. });
  865. break;
  866. case "10":
  867. matrixList.forEach((val, index) => {
  868. val.wtlist.forEach((item) => {
  869. if (item.status === 10) {
  870. this.showMatrixList[index].wtlist.push(item);
  871. }
  872. });
  873. });
  874. break;
  875. case "11":
  876. matrixList.forEach((val, index) => {
  877. val.wtlist.forEach((item) => {
  878. if (item.status === 11) {
  879. this.showMatrixList[index].wtlist.push(item);
  880. }
  881. });
  882. });
  883. break;
  884. case "lx":
  885. matrixList.forEach((val, index) => {
  886. val.wtlist.forEach((item) => {
  887. if (item.status === 12 || item.status === 13) {
  888. this.showMatrixList[index].wtlist.push(item);
  889. }
  890. });
  891. });
  892. break;
  893. case "12":
  894. matrixList.forEach((val, index) => {
  895. val.wtlist.forEach((item) => {
  896. if (item.status === 12) {
  897. this.showMatrixList[index].wtlist.push(item);
  898. }
  899. });
  900. });
  901. break;
  902. case "13":
  903. matrixList.forEach((val, index) => {
  904. val.wtlist.forEach((item) => {
  905. if (item.status === 13) {
  906. this.showMatrixList[index].wtlist.push(item);
  907. }
  908. });
  909. });
  910. break;
  911. // case "all":
  912. // this.showMatrixList = this.sourceMap.powerVos;
  913. // break;
  914. }
  915. } else {
  916. this.showMatrixList = this.sourceMap.powerVos;
  917. }
  918. },
  919. // 点击左侧数据弹出曲线
  920. handleLeftClick(wt, type) {
  921. this.displayMatrix = true;
  922. this.wtType = type;
  923. this.$nextTick(() => {
  924. this.wind = { ...wt, wtType: type };
  925. this.flag = true;
  926. });
  927. // this.$refs.windDetail.start(wt);
  928. },
  929. // 点击右侧数据弹出曲线
  930. handleRightClick(type, wtid) {
  931. let y = this.deepClone(this.ssPv);
  932. if (type == "-2") {
  933. y[1].statiomName = "电流";
  934. y[1].sts = "AI075";
  935. y[2].statiomName = "电压";
  936. y[2].sts = "AIG055";
  937. }
  938. this.$refs.child.openCurvDatas(y, 2, wtid);
  939. },
  940. // 点击统计项弹出曲线
  941. handleIndicatorClick(czlx, wpid) {
  942. let y = this.deepClone(this.stse);
  943. if (czlx == "-2") {
  944. y[0].statiomName = "光照强度";
  945. y[0].sts = "SSPJGZD";
  946. }
  947. this.$refs.child.openCurvDatas(y, 1, wpid);
  948. },
  949. },
  950. created() {
  951. let that = this;
  952. that.$nextTick(() => {
  953. this.loading = true;
  954. that.requestData();
  955. that.timmer = setInterval(() => {
  956. that.requestData();
  957. }, 5000);
  958. });
  959. },
  960. mounted() {},
  961. unmounted() {
  962. clearInterval(this.timmer);
  963. this.timmer = null;
  964. },
  965. };
  966. </script>
  967. <style lang="less" scoped>
  968. @panelHeight: 60px;
  969. @titleHeight: 26px;
  970. .light-matrix {
  971. // width: calc(100% - 1.111vh);
  972. height: calc(100vh - 7.222vh);
  973. display: flex;
  974. flex-direction: column;
  975. .panel {
  976. width: 100%;
  977. height: 80px;
  978. border: 1px solid @darkgray;
  979. position: relative;
  980. padding: 10px 20px;
  981. background-color: fade(@darkgray, 20%);
  982. .dot {
  983. width: 0.185vh;
  984. height: 0.185vh;
  985. border-radius: 50%;
  986. background-color: @write;
  987. position: absolute;
  988. &.left {
  989. left: 0.37vh;
  990. }
  991. &.right {
  992. right: 0.37vh;
  993. }
  994. &.top {
  995. top: 0.37vh;
  996. }
  997. &.bottom {
  998. bottom: 0.37vh;
  999. }
  1000. }
  1001. .page-header {
  1002. display: flex;
  1003. .header-info {
  1004. display: flex;
  1005. flex: 1 0 auto;
  1006. }
  1007. }
  1008. .panel-item-gf {
  1009. flex: 0 0 auto;
  1010. margin-right: 16px;
  1011. display: flex;
  1012. height: @panelHeight;
  1013. .panel-item-gf-left {
  1014. width: @panelHeight;
  1015. height: @panelHeight;
  1016. display: flex;
  1017. align-items: center;
  1018. justify-content: center;
  1019. position: relative;
  1020. .loop {
  1021. position: absolute;
  1022. width: 4.444vh;
  1023. height: 4.444vh;
  1024. border-radius: 50%;
  1025. border: 0.093vh solid @darkgray;
  1026. background-color: fade(@darkgray, 20);
  1027. left: calc(50% - 2.222vh);
  1028. top: calc(50% - 2.222vh);
  1029. }
  1030. }
  1031. .panel-item-gf-right {
  1032. color: @write;
  1033. text-align: right;
  1034. margin-left: 24px;
  1035. .panel-item-gf-up {
  1036. color: @gray;
  1037. height: @panelHeight / 2;
  1038. line-height: @panelHeight / 2;
  1039. font-size: 14px;
  1040. }
  1041. .panel-item-gf-down {
  1042. height: @panelHeight / 2;
  1043. line-height: @panelHeight / 2;
  1044. font-weight: 600;
  1045. font-size: 16px;
  1046. }
  1047. }
  1048. }
  1049. .panel-item {
  1050. width: 100%;
  1051. height: @panelHeight;
  1052. font-size: 12px;
  1053. margin-left: 8px;
  1054. .panel-item-left {
  1055. display: flex;
  1056. .panel-item-li {
  1057. height: @panelHeight / 2;
  1058. line-height: @panelHeight / 2;
  1059. flex: 1 0 auto;
  1060. padding: 0 1.111vh;
  1061. align-items: center;
  1062. font-size: 14px;
  1063. .svg-icon {
  1064. margin-left: auto;
  1065. }
  1066. &.value {
  1067. text-align: right;
  1068. flex: 0;
  1069. font-size: 16px;
  1070. color: #fff;
  1071. }
  1072. }
  1073. }
  1074. .panel-item-right {
  1075. display: flex;
  1076. flex-grow: 1;
  1077. height: @panelHeight;
  1078. .panel-item-ri {
  1079. height: @panelHeight / 2;
  1080. line-height: @panelHeight / 2;
  1081. padding: 0 8px;
  1082. flex: 1;
  1083. &:first-child {
  1084. border-right: 1px solid;
  1085. }
  1086. & > span {
  1087. &:first-child {
  1088. float: left;
  1089. display: flex;
  1090. align-items: center;
  1091. i {
  1092. margin-right: 4px;
  1093. }
  1094. }
  1095. &:last-child {
  1096. float: right;
  1097. color: @write;
  1098. }
  1099. }
  1100. }
  1101. }
  1102. &.green {
  1103. background-color: #24a13a;
  1104. color: #ffffff !important;
  1105. .panel-item-left {
  1106. background-color: fade(@green, 15%);
  1107. border-bottom: 1px solid #ffffff;
  1108. }
  1109. .panel-item-right {
  1110. .panel-item-ri {
  1111. &:first-child {
  1112. border-color: #ffffff;
  1113. }
  1114. }
  1115. }
  1116. }
  1117. &.blue {
  1118. background-color: #00a5db;
  1119. color: #ffffff !important;
  1120. .panel-item-left {
  1121. background-color: fade(@darkBlue, 15%);
  1122. border-bottom: 1px solid #ffffff;
  1123. }
  1124. .panel-item-right {
  1125. .panel-item-ri {
  1126. &:first-child {
  1127. border-color: #ffffff;
  1128. }
  1129. }
  1130. }
  1131. }
  1132. &.pink {
  1133. background-color: #b10e7e;
  1134. color: #ffffff !important;
  1135. .panel-item-left {
  1136. background-color: fade(@pink, 15%);
  1137. border-bottom: 1px solid #ffffff;
  1138. }
  1139. .panel-item-right {
  1140. .panel-item-ri {
  1141. &:first-child {
  1142. border-color: #ffffff;
  1143. }
  1144. }
  1145. }
  1146. }
  1147. &.red {
  1148. background-color: #ba3237;
  1149. color: #ffffff !important;
  1150. .panel-item-left {
  1151. background-color: fade(@red, 15%);
  1152. border-bottom: 1px solid #ffffff;
  1153. }
  1154. .panel-item-right {
  1155. .panel-item-ri {
  1156. &:first-child {
  1157. border-color: #ffffff;
  1158. }
  1159. }
  1160. }
  1161. }
  1162. &.orange {
  1163. background-color: #ff7800;
  1164. color: #ffffff !important;
  1165. .panel-item-left {
  1166. border-bottom: 1px solid #ffffff;
  1167. }
  1168. .panel-item-right {
  1169. .panel-item-ri {
  1170. &:first-child {
  1171. border-color: #ffffff;
  1172. }
  1173. }
  1174. }
  1175. }
  1176. &.gray {
  1177. background-color: #929ca3;
  1178. color: #ffffff !important;
  1179. .panel-item-left {
  1180. border-bottom: 1px solid #ffffff;
  1181. }
  1182. .panel-item-right {
  1183. .panel-item-ri {
  1184. &:first-child {
  1185. border-color: #ffffff;
  1186. }
  1187. }
  1188. }
  1189. }
  1190. &.write {
  1191. background-color: #1e1e1e;
  1192. color: @write;
  1193. .panel-item-left {
  1194. cursor: pointer;
  1195. background-color: fade(@write, 15%);
  1196. }
  1197. .panel-item-right {
  1198. cursor: pointer;
  1199. .panel-item-ri {
  1200. &:first-child {
  1201. border-color: @write;
  1202. }
  1203. }
  1204. }
  1205. }
  1206. }
  1207. }
  1208. .curStyle {
  1209. cursor: pointer;
  1210. }
  1211. .matrix-body {
  1212. display: flex;
  1213. flex-direction: column;
  1214. height: 100%;
  1215. margin-left: 20px;
  1216. margin-top: 10px;
  1217. padding-right: 20px;
  1218. .body-title {
  1219. display: flex;
  1220. flex-direction: row;
  1221. align-items: center;
  1222. width: 100%;
  1223. height: 78px;
  1224. border-radius: 10px;
  1225. // background-color: rgba(0, 0, 0, 0.45);
  1226. background: #fff;
  1227. .base-inf {
  1228. display: flex;
  1229. flex-direction: row;
  1230. align-items: center;
  1231. width: 60%;
  1232. height: 100%;
  1233. .title-name {
  1234. display: flex;
  1235. flex-direction: row;
  1236. align-items: center;
  1237. width: 16%;
  1238. height: 100%;
  1239. .imgs {
  1240. display: flex;
  1241. flex-direction: row;
  1242. align-items: center;
  1243. height: 100%;
  1244. margin-left: 11px;
  1245. }
  1246. .base-num {
  1247. display: flex;
  1248. flex-direction: column;
  1249. align-items: center;
  1250. justify-content: center;
  1251. cursor: pointer;
  1252. .nums {
  1253. font-size: 18px;
  1254. font-family: Arial;
  1255. font-weight: 700;
  1256. color: #000;
  1257. }
  1258. .base-name {
  1259. font-size: 14px;
  1260. font-family: Microsoft YaHei;
  1261. font-weight: 700;
  1262. color: #606769;
  1263. margin-bottom: 10px;
  1264. }
  1265. }
  1266. .all_img {
  1267. width: 20px;
  1268. position: relative;
  1269. left: -34px;
  1270. top: 1px;
  1271. margin-right: 10px;
  1272. animation: move 1s infinite linear;
  1273. }
  1274. .qty_img {
  1275. position: relative;
  1276. left: -39px;
  1277. top: 1px;
  1278. animation: move 1s infinite linear;
  1279. }
  1280. @keyframes move {
  1281. 0% {
  1282. top: 0px;
  1283. }
  1284. 20% {
  1285. top: -1px;
  1286. }
  1287. 40% {
  1288. top: -2px;
  1289. }
  1290. 80% {
  1291. top: -1px;
  1292. }
  1293. 100% {
  1294. top: 0px;
  1295. }
  1296. }
  1297. }
  1298. .matrix-status {
  1299. width: 84%;
  1300. display: flex;
  1301. flex-direction: row;
  1302. align-items: center;
  1303. height: 80%;
  1304. .title-status {
  1305. display: flex;
  1306. flex-direction: column;
  1307. width: 15%;
  1308. height: 100%;
  1309. padding-right: 5px;
  1310. cursor: pointer;
  1311. .status-first {
  1312. width: 100%;
  1313. height: 34%;
  1314. display: flex;
  1315. flex-direction: row;
  1316. align-items: center;
  1317. justify-content: space-between;
  1318. .matrix-status-left {
  1319. margin-left: 6px;
  1320. font-size: 14px;
  1321. font-family: Microsoft YaHei;
  1322. font-weight: bold;
  1323. color: #fff;
  1324. }
  1325. .matrix-status-right {
  1326. margin-right: 6px;
  1327. font-size: 16px;
  1328. font-family: Arial;
  1329. font-weight: bold;
  1330. color: #fff;
  1331. }
  1332. }
  1333. .status-end {
  1334. width: 100%;
  1335. height: 33%;
  1336. display: flex;
  1337. flex-direction: row;
  1338. align-items: center;
  1339. justify-content: space-between;
  1340. .matrix-status-left {
  1341. margin-left: 6px;
  1342. font-size: 12px;
  1343. font-family: Microsoft YaHei;
  1344. font-weight: 400;
  1345. color: #fff;
  1346. }
  1347. .matrix-status-right {
  1348. margin-right: 6px;
  1349. font-size: 14px;
  1350. font-family: Arial;
  1351. font-weight: 400;
  1352. color: #fff;
  1353. }
  1354. }
  1355. .matrix-status-right {
  1356. margin-right: 6px;
  1357. }
  1358. &.green {
  1359. .status-first {
  1360. background-color: rgba(5, 187, 76, 1);
  1361. }
  1362. .status-end {
  1363. background-color: rgba(5, 187, 76, 0.8);
  1364. }
  1365. }
  1366. &.blue {
  1367. .status-first {
  1368. background-color: rgba(0, 70, 199, 1);
  1369. }
  1370. .status-end {
  1371. background-color: rgba(0, 70, 199, 0.8);
  1372. }
  1373. }
  1374. &.pink {
  1375. .status-first {
  1376. background-color: rgba(197, 48, 200, 1);
  1377. }
  1378. .status-end {
  1379. background-color: rgba(197, 48, 200, 0.8);
  1380. }
  1381. }
  1382. &.red {
  1383. .status-first {
  1384. background-color: rgba(186, 50, 55, 1);
  1385. }
  1386. .status-end {
  1387. background-color: rgba(186, 50, 55, 0.8);
  1388. }
  1389. }
  1390. &.orange {
  1391. .status-first {
  1392. background-color: rgba(225, 125, 36, 1);
  1393. }
  1394. .status-end {
  1395. background-color: rgba(225, 125, 36, 0.8);
  1396. }
  1397. }
  1398. &.gray {
  1399. .status-first {
  1400. background-color: rgba(96, 103, 105, 1);
  1401. }
  1402. .status-end {
  1403. background-color: rgba(96, 103, 105, 0.8);
  1404. }
  1405. }
  1406. &.write {
  1407. .status-first {
  1408. background-color: fade(#0d1e1c, 100%);
  1409. }
  1410. .status-end {
  1411. background-color: fade(#0d1e1c, 80%);
  1412. }
  1413. }
  1414. }
  1415. }
  1416. }
  1417. .unpaid {
  1418. display: flex;
  1419. flex-direction: row;
  1420. align-items: center;
  1421. width: 40%;
  1422. height: 100%;
  1423. .unpaid-item {
  1424. width: 20%;
  1425. height: 80%;
  1426. margin-right: 5px;
  1427. padding: 0 10px;
  1428. .unpaid-img {
  1429. width: 115px;
  1430. height: 39px;
  1431. }
  1432. .unpaid-value {
  1433. width: 90%;
  1434. display: flex;
  1435. flex-direction: row-reverse;
  1436. font-size: 18px;
  1437. font-family: Arial;
  1438. font-weight: 700;
  1439. color: #ff9f1f;
  1440. margin-top: -20px;
  1441. }
  1442. .unpaid-name {
  1443. width: 90%;
  1444. display: flex;
  1445. flex-direction: row-reverse;
  1446. font-size: 14px;
  1447. font-family: Microsoft YaHei;
  1448. font-weight: 700;
  1449. color: #606769;
  1450. }
  1451. }
  1452. .unpaid-item1 {
  1453. width: 20%;
  1454. height: 80%;
  1455. margin-right: 5px;
  1456. .percent {
  1457. width: 100%;
  1458. height: 34%;
  1459. display: flex;
  1460. align-items: center;
  1461. justify-content: center;
  1462. // border-top: 1px solid #0a214c;
  1463. // border-left: 1px solid #0a214c;
  1464. // border-right: 1px solid #0a214c;
  1465. background-color: rgba(0, 70, 199, 0.8);
  1466. font-size: 14px;
  1467. font-family: Arial;
  1468. font-weight: 400;
  1469. color: #ffffff;
  1470. }
  1471. .nums {
  1472. width: 100%;
  1473. height: 33%;
  1474. display: flex;
  1475. flex-direction: row;
  1476. align-items: center;
  1477. justify-content: center;
  1478. // border-left: 1px solid #0a214c;
  1479. // border-right: 1px solid #0a214c;
  1480. // border-bottom: 1px solid #0a214c;
  1481. background-color: rgba(0, 70, 199, 0.6);
  1482. font-size: 16px;
  1483. font-family: Arial;
  1484. font-weight: 400;
  1485. color: #ffffff;
  1486. padding: 0 8px;
  1487. }
  1488. .progress-item {
  1489. width: 20%;
  1490. height: 3px;
  1491. background-color: #05bb4c;
  1492. margin-right: 2px;
  1493. }
  1494. }
  1495. }
  1496. }
  1497. .matrix-box {
  1498. background: #fff;
  1499. }
  1500. .matrixs {
  1501. width: 100%;
  1502. margin-top: 7px;
  1503. .matrix-title {
  1504. display: flex;
  1505. flex-direction: row;
  1506. align-items: center;
  1507. width: 100%;
  1508. height: 32px;
  1509. background-color: #001844;
  1510. font-size: 12px;
  1511. font-family: SourceHanSansCN;
  1512. font-weight: 400;
  1513. color: #05bb4c;
  1514. padding: 0 21px;
  1515. &.active {
  1516. color: #fc8004;
  1517. }
  1518. .station-name {
  1519. margin-left: 5px;
  1520. margin-right: 18px;
  1521. }
  1522. .indicator {
  1523. display: flex;
  1524. flex-direction: row;
  1525. align-items: center;
  1526. width: 93%;
  1527. height: 100%;
  1528. white-space: nowrap;
  1529. }
  1530. .sub-title-item {
  1531. display: flex;
  1532. flex-direction: row;
  1533. align-items: center;
  1534. white-space: nowrap;
  1535. // justify-content: space-between;
  1536. width: 7%;
  1537. height: 100%;
  1538. margin-right: 20px;
  1539. font-size: 12px;
  1540. font-family: Microsoft YaHei;
  1541. font-weight: 400;
  1542. color: #b3b3b3;
  1543. &.active {
  1544. cursor: pointer;
  1545. }
  1546. &.active1 {
  1547. width: 5%;
  1548. }
  1549. .sub-value {
  1550. font-size: 14px;
  1551. font-family: Arial;
  1552. font-weight: 400;
  1553. margin-left: 5px;
  1554. }
  1555. }
  1556. }
  1557. .matrix-list {
  1558. display: grid;
  1559. justify-content: space-between;
  1560. grid-template-columns: repeat(auto-fill, 114px);
  1561. width: 100%;
  1562. margin-top: 5px;
  1563. .matrix-card {
  1564. display: flex;
  1565. flex-direction: column;
  1566. width: 114px;
  1567. height: 59px;
  1568. margin-right: 2px;
  1569. margin-bottom: 2px;
  1570. background-color: rgba(0, 0, 0, 0.5);
  1571. .info {
  1572. display: flex;
  1573. flex-direction: row;
  1574. align-items: center;
  1575. width: 100%;
  1576. height: 50px;
  1577. .card-left {
  1578. width: 38px;
  1579. height: 100%;
  1580. display: flex;
  1581. flex-direction: column;
  1582. align-items: center;
  1583. .card-name {
  1584. font-size: 14px;
  1585. font-family: Arial;
  1586. font-weight: 400;
  1587. margin-top: 5px;
  1588. margin-bottom: 5px;
  1589. }
  1590. }
  1591. .card-right {
  1592. display: flex;
  1593. flex-direction: column;
  1594. padding: 0px 4px;
  1595. position: relative;
  1596. .right-item {
  1597. display: flex;
  1598. flex-direction: row;
  1599. align-items: center;
  1600. height: 15px;
  1601. .right-value {
  1602. font-size: 12px;
  1603. font-family: Arial;
  1604. font-weight: 400;
  1605. margin-left: 3px;
  1606. }
  1607. }
  1608. .card-hover {
  1609. position: absolute;
  1610. // width: 100px;
  1611. // height: 50px;
  1612. background-color: rgba(0, 0, 0, 1);
  1613. left: -30px;
  1614. top: -50px;
  1615. display: none;
  1616. }
  1617. }
  1618. .card-right:hover {
  1619. .card-hover {
  1620. display: block;
  1621. }
  1622. }
  1623. }
  1624. .matrix-progress {
  1625. display: flex;
  1626. flex-direction: row;
  1627. align-items: center;
  1628. width: 100%;
  1629. padding: 0 4px;
  1630. height: 8px;
  1631. .progress-block {
  1632. // width: 19px;
  1633. height: 3px;
  1634. background-color: #05bb4c;
  1635. // margin-right: 2px;
  1636. }
  1637. }
  1638. &.green {
  1639. border: 1px solid #05bb4c;
  1640. color: #05bb4c;
  1641. .info {
  1642. border-bottom: 1px solid #05bb4c;
  1643. background-color: rgba(5, 187, 76, 0.15);
  1644. .dashed {
  1645. width: 1px;
  1646. height: 100%;
  1647. background-image: linear-gradient(
  1648. #05bb4c 0%,
  1649. #05bb4c 40%,
  1650. transparent 50%
  1651. );
  1652. background-size: 1px 9px;
  1653. }
  1654. }
  1655. }
  1656. &.blue {
  1657. border: 1px solid #074ead;
  1658. color: #1c99ff;
  1659. .info {
  1660. border-bottom: 1px solid #074ead;
  1661. background-color: rgba(0, 70, 199, 0.25);
  1662. .dashed {
  1663. width: 1px;
  1664. height: 100%;
  1665. background-image: linear-gradient(
  1666. #074ead 0%,
  1667. #074ead 40%,
  1668. transparent 50%
  1669. );
  1670. background-size: 1px 9px;
  1671. }
  1672. }
  1673. }
  1674. &.pink {
  1675. border: 1px solid #c530c8;
  1676. color: #c530c8;
  1677. .info {
  1678. border-bottom: 1px solid #c530c8;
  1679. background-color: rgba(197, 48, 200, 0.15);
  1680. .dashed {
  1681. width: 1px;
  1682. height: 100%;
  1683. background-image: linear-gradient(
  1684. #c530c8 0%,
  1685. #c530c8 40%,
  1686. transparent 50%
  1687. );
  1688. background-size: 1px 9px;
  1689. }
  1690. }
  1691. }
  1692. &.red {
  1693. border: 1px solid #ba3237;
  1694. color: #ffffff;
  1695. .info {
  1696. border-bottom: 1px solid #ba3237;
  1697. background-color: rgba(186, 50, 55, 1);
  1698. .dashed {
  1699. width: 1px;
  1700. height: 100%;
  1701. background-image: linear-gradient(
  1702. #e17d24 0%,
  1703. #e17d24 40%,
  1704. transparent 50%
  1705. );
  1706. background-size: 1px 9px;
  1707. }
  1708. }
  1709. }
  1710. &.orange {
  1711. border: 1px solid #e17d24;
  1712. color: #e17d24;
  1713. .info {
  1714. border-bottom: 1px solid #e17d24;
  1715. background-color: rgba(225, 125, 36, 0.15);
  1716. .dashed {
  1717. width: 1px;
  1718. height: 100%;
  1719. background-image: linear-gradient(
  1720. #e17d24 0%,
  1721. #e17d24 40%,
  1722. transparent 50%
  1723. );
  1724. background-size: 1px 9px;
  1725. }
  1726. }
  1727. }
  1728. &.write {
  1729. border: 1px solid #51555a;
  1730. color: #ffffff;
  1731. .info {
  1732. border-bottom: 1px solid #51555a;
  1733. background-color: rgba(81, 85, 90, 1);
  1734. .dashed {
  1735. width: 1px;
  1736. height: 100%;
  1737. background-image: linear-gradient(
  1738. #262626 0%,
  1739. #262626 40%,
  1740. transparent 50%
  1741. );
  1742. background-size: 1px 9px;
  1743. }
  1744. }
  1745. }
  1746. &.gray {
  1747. border: 1px solid #606769;
  1748. color: #a7a7a7;
  1749. .info {
  1750. border-bottom: 1px solid #606769;
  1751. background-color: rgba(96, 103, 105, 0.2);
  1752. .dashed {
  1753. width: 1px;
  1754. height: 100%;
  1755. background-image: linear-gradient(
  1756. #262626 0%,
  1757. #262626 40%,
  1758. transparent 50%
  1759. );
  1760. background-size: 1px 9px;
  1761. }
  1762. }
  1763. }
  1764. }
  1765. }
  1766. }
  1767. .active_vie {
  1768. width: 100%;
  1769. margin-top: 0;
  1770. margin-bottom: 5px;
  1771. .matrix-list {
  1772. display: grid;
  1773. justify-content: space-between;
  1774. grid-template-columns: repeat(auto-fill, 114px);
  1775. width: 100%;
  1776. margin-top: 0;
  1777. }
  1778. }
  1779. }
  1780. }
  1781. // --------------------------------------------------------------------------------------------
  1782. .dark-matrix {
  1783. // width: calc(100% - 1.111vh);
  1784. height: calc(100vh - 7.222vh);
  1785. display: flex;
  1786. flex-direction: column;
  1787. .matrix-body {
  1788. display: flex;
  1789. flex-direction: column;
  1790. height: 100%;
  1791. margin-left: 20px;
  1792. margin-top: 10px;
  1793. padding-right: 20px;
  1794. .body-title {
  1795. display: flex;
  1796. flex-direction: row;
  1797. align-items: center;
  1798. width: 100%;
  1799. height: 78px;
  1800. background-color: rgba(0, 0, 0, 0.45);
  1801. border-radius: 10px;
  1802. .base-inf {
  1803. display: flex;
  1804. flex-direction: row;
  1805. align-items: center;
  1806. width: 60%;
  1807. height: 100%;
  1808. .title-name {
  1809. display: flex;
  1810. flex-direction: row;
  1811. align-items: center;
  1812. width: 18%;
  1813. height: 100%;
  1814. .imgs {
  1815. display: flex;
  1816. flex-direction: row;
  1817. align-items: center;
  1818. height: 100%;
  1819. margin-left: 11px;
  1820. }
  1821. .base-num {
  1822. display: flex;
  1823. flex-direction: column;
  1824. align-items: center;
  1825. justify-content: center;
  1826. cursor: pointer;
  1827. .nums {
  1828. font-size: 18px;
  1829. font-family: Arial;
  1830. font-weight: 400;
  1831. color: #ffffff;
  1832. }
  1833. .base-name {
  1834. font-size: 14px;
  1835. font-family: Microsoft YaHei;
  1836. font-weight: 400;
  1837. color: #b3b3b3;
  1838. margin-bottom: 10px;
  1839. }
  1840. }
  1841. .all_img {
  1842. width: 20px;
  1843. position: relative;
  1844. left: -34px;
  1845. top: 1px;
  1846. margin-right: 10px;
  1847. animation: move 1s infinite linear;
  1848. }
  1849. .qty_img {
  1850. position: relative;
  1851. left: -39px;
  1852. top: 1px;
  1853. animation: move 1s infinite linear;
  1854. }
  1855. @keyframes move {
  1856. 0% {
  1857. top: 0px;
  1858. }
  1859. 20% {
  1860. top: -1px;
  1861. }
  1862. 40% {
  1863. top: -2px;
  1864. }
  1865. 80% {
  1866. top: -1px;
  1867. }
  1868. 100% {
  1869. top: 0px;
  1870. }
  1871. }
  1872. }
  1873. .matrix-status {
  1874. width: 84%;
  1875. display: flex;
  1876. flex-direction: row;
  1877. align-items: center;
  1878. height: 80%;
  1879. }
  1880. .title-status {
  1881. display: flex;
  1882. flex-direction: column;
  1883. width: 15%;
  1884. height: 100%;
  1885. padding-right: 5px;
  1886. cursor: pointer;
  1887. .status-first {
  1888. width: 100%;
  1889. height: 34%;
  1890. display: flex;
  1891. flex-direction: row;
  1892. align-items: center;
  1893. justify-content: space-between;
  1894. background-color: rgba(5, 187, 76, 0.28);
  1895. border-top: 1px solid #0b3d26;
  1896. border-left: 1px solid #0b3d26;
  1897. border-right: 1px solid #0b3d26;
  1898. .matrix-status-left {
  1899. margin-left: 6px;
  1900. font-size: 14px;
  1901. font-family: Microsoft YaHei;
  1902. font-weight: 400;
  1903. color: #05bb4c;
  1904. }
  1905. .matrix-status-right {
  1906. margin-right: 6px;
  1907. font-size: 16px;
  1908. font-family: Arial;
  1909. font-weight: 400;
  1910. color: #05bb4c;
  1911. }
  1912. }
  1913. .status-end {
  1914. width: 100%;
  1915. height: 33%;
  1916. display: flex;
  1917. flex-direction: row;
  1918. align-items: center;
  1919. justify-content: space-between;
  1920. background-color: rgba(5, 187, 76, 0.16);
  1921. border-left: 1px solid #0b3d26;
  1922. border-right: 1px solid #0b3d26;
  1923. border-bottom: 1px solid #0b3d26;
  1924. .matrix-status-left {
  1925. margin-left: 6px;
  1926. font-size: 12px;
  1927. font-family: Microsoft YaHei;
  1928. font-weight: 400;
  1929. color: #05bb4c;
  1930. }
  1931. .matrix-status-right {
  1932. margin-right: 6px;
  1933. font-size: 14px;
  1934. font-family: Arial;
  1935. font-weight: 400;
  1936. color: #05bb4c;
  1937. }
  1938. }
  1939. .matrix-status-right {
  1940. margin-right: 6px;
  1941. }
  1942. &.green {
  1943. .status-first {
  1944. width: 100%;
  1945. height: 34%;
  1946. display: flex;
  1947. flex-direction: row;
  1948. align-items: center;
  1949. justify-content: space-between;
  1950. background-color: rgba(5, 187, 76, 0.28);
  1951. border-top: 1px solid #0b3d26;
  1952. border-left: 1px solid #0b3d26;
  1953. border-right: 1px solid #0b3d26;
  1954. .matrix-status-left {
  1955. margin-left: 6px;
  1956. font-size: 14px;
  1957. font-family: Microsoft YaHei;
  1958. font-weight: 400;
  1959. color: #05bb4c;
  1960. }
  1961. .matrix-status-right {
  1962. margin-right: 6px;
  1963. font-size: 16px;
  1964. font-family: Arial;
  1965. font-weight: 400;
  1966. color: #05bb4c;
  1967. }
  1968. }
  1969. .status-end {
  1970. width: 100%;
  1971. height: 33%;
  1972. display: flex;
  1973. flex-direction: row;
  1974. align-items: center;
  1975. justify-content: space-between;
  1976. background-color: rgba(5, 187, 76, 0.16);
  1977. border-left: 1px solid #0b3d26;
  1978. border-right: 1px solid #0b3d26;
  1979. border-bottom: 1px solid #0b3d26;
  1980. .matrix-status-left {
  1981. margin-left: 6px;
  1982. font-size: 12px;
  1983. font-family: Microsoft YaHei;
  1984. font-weight: 400;
  1985. color: #05bb4c;
  1986. }
  1987. .matrix-status-right {
  1988. margin-right: 6px;
  1989. font-size: 14px;
  1990. font-family: Arial;
  1991. font-weight: 400;
  1992. color: #05bb4c;
  1993. }
  1994. }
  1995. .matrix-status-right {
  1996. margin-right: 6px;
  1997. }
  1998. }
  1999. &.blue {
  2000. .status-first {
  2001. width: 100%;
  2002. height: 34%;
  2003. display: flex;
  2004. flex-direction: row;
  2005. align-items: center;
  2006. justify-content: space-between;
  2007. background-color: rgba(0, 70, 199, 0.48);
  2008. border-top: 1px solid #1e2341;
  2009. border-left: 1px solid #1e2341;
  2010. border-right: 1px solid #1e2341;
  2011. .matrix-status-left {
  2012. margin-left: 6px;
  2013. font-size: 14px;
  2014. font-family: Microsoft YaHei;
  2015. font-weight: 400;
  2016. color: #1c99ff;
  2017. }
  2018. .matrix-status-right {
  2019. margin-right: 6px;
  2020. font-size: 16px;
  2021. font-family: Arial;
  2022. font-weight: 400;
  2023. color: #1c99ff;
  2024. }
  2025. }
  2026. .status-end {
  2027. width: 100%;
  2028. height: 33%;
  2029. display: flex;
  2030. flex-direction: row;
  2031. align-items: center;
  2032. justify-content: space-between;
  2033. background-color: rgba(0, 70, 199, 0.16);
  2034. border-left: 1px solid #1e2341;
  2035. border-right: 1px solid #1e2341;
  2036. border-bottom: 1px solid #1e2341;
  2037. .matrix-status-left {
  2038. margin-left: 6px;
  2039. font-size: 12px;
  2040. font-family: Microsoft YaHei;
  2041. font-weight: 400;
  2042. color: #1c99ff;
  2043. }
  2044. .matrix-status-right {
  2045. margin-right: 6px;
  2046. font-size: 14px;
  2047. font-family: Arial;
  2048. font-weight: 400;
  2049. color: #1c99ff;
  2050. }
  2051. }
  2052. .matrix-status-right {
  2053. margin-right: 6px;
  2054. }
  2055. }
  2056. &.pink {
  2057. .status-first {
  2058. width: 100%;
  2059. height: 34%;
  2060. display: flex;
  2061. flex-direction: row;
  2062. align-items: center;
  2063. justify-content: space-between;
  2064. background-color: rgba(197, 48, 200, 0.28);
  2065. border-top: 1px solid #3e1a48;
  2066. border-left: 1px solid #3e1a48;
  2067. border-right: 1px solid #3e1a48;
  2068. .matrix-status-left {
  2069. margin-left: 6px;
  2070. font-size: 14px;
  2071. font-family: Microsoft YaHei;
  2072. font-weight: 400;
  2073. color: #c530c8;
  2074. }
  2075. .matrix-status-right {
  2076. margin-right: 6px;
  2077. font-size: 16px;
  2078. font-family: Arial;
  2079. font-weight: 400;
  2080. color: #c530c8;
  2081. }
  2082. }
  2083. .status-end {
  2084. width: 100%;
  2085. height: 33%;
  2086. display: flex;
  2087. flex-direction: row;
  2088. align-items: center;
  2089. justify-content: space-between;
  2090. background-color: rgba(197, 48, 200, 0.16);
  2091. border-left: 1px solid #3e1a48;
  2092. border-right: 1px solid #3e1a48;
  2093. border-bottom: 1px solid #3e1a48;
  2094. .matrix-status-left {
  2095. margin-left: 6px;
  2096. font-size: 12px;
  2097. font-family: Microsoft YaHei;
  2098. font-weight: 400;
  2099. color: #c530c8;
  2100. }
  2101. .matrix-status-right {
  2102. margin-right: 6px;
  2103. font-size: 14px;
  2104. font-family: Arial;
  2105. font-weight: 400;
  2106. color: #c530c8;
  2107. }
  2108. }
  2109. .matrix-status-right {
  2110. margin-right: 6px;
  2111. }
  2112. }
  2113. &.red {
  2114. .status-first {
  2115. width: 100%;
  2116. height: 34%;
  2117. display: flex;
  2118. flex-direction: row;
  2119. align-items: center;
  2120. justify-content: space-between;
  2121. background-color: rgba(186, 50, 55, 0.28);
  2122. border-top: 1px solid #3c1c1f;
  2123. border-left: 1px solid #3c1c1f;
  2124. border-right: 1px solid #3c1c1f;
  2125. .matrix-status-left {
  2126. margin-left: 6px;
  2127. font-size: 14px;
  2128. font-family: Microsoft YaHei;
  2129. font-weight: 400;
  2130. color: #ba3237;
  2131. }
  2132. .matrix-status-right {
  2133. margin-right: 6px;
  2134. font-size: 16px;
  2135. font-family: Arial;
  2136. font-weight: 400;
  2137. color: #ba3237;
  2138. }
  2139. }
  2140. .status-end {
  2141. width: 100%;
  2142. height: 33%;
  2143. display: flex;
  2144. flex-direction: row;
  2145. align-items: center;
  2146. justify-content: space-between;
  2147. background-color: rgba(186, 50, 55, 0.16);
  2148. border-left: 1px solid #3c1c1f;
  2149. border-right: 1px solid #3c1c1f;
  2150. border-bottom: 1px solid #3c1c1f;
  2151. .matrix-status-left {
  2152. margin-left: 6px;
  2153. font-size: 12px;
  2154. font-family: Microsoft YaHei;
  2155. font-weight: 400;
  2156. color: #ba3237;
  2157. }
  2158. .matrix-status-right {
  2159. margin-right: 6px;
  2160. font-size: 14px;
  2161. font-family: Arial;
  2162. font-weight: 400;
  2163. color: #ba3237;
  2164. }
  2165. }
  2166. .matrix-status-right {
  2167. margin-right: 6px;
  2168. }
  2169. }
  2170. &.orange {
  2171. .status-first {
  2172. width: 100%;
  2173. height: 34%;
  2174. display: flex;
  2175. flex-direction: row;
  2176. align-items: center;
  2177. justify-content: space-between;
  2178. background-color: rgba(225, 125, 36, 0.28);
  2179. border-top: 1px solid #46301a;
  2180. border-left: 1px solid #46301a;
  2181. border-right: 1px solid #46301a;
  2182. .matrix-status-left {
  2183. margin-left: 6px;
  2184. font-size: 14px;
  2185. font-family: Microsoft YaHei;
  2186. font-weight: 400;
  2187. color: #e17d24;
  2188. }
  2189. .matrix-status-right {
  2190. margin-right: 6px;
  2191. font-size: 16px;
  2192. font-family: Arial;
  2193. font-weight: 400;
  2194. color: #e17d24;
  2195. }
  2196. }
  2197. .status-end {
  2198. width: 100%;
  2199. height: 33%;
  2200. display: flex;
  2201. flex-direction: row;
  2202. align-items: center;
  2203. justify-content: space-between;
  2204. background-color: rgba(225, 125, 36, 0.16);
  2205. border-left: 1px solid #46301a;
  2206. border-right: 1px solid #46301a;
  2207. border-bottom: 1px solid #46301a;
  2208. .matrix-status-left {
  2209. margin-left: 6px;
  2210. font-size: 12px;
  2211. font-family: Microsoft YaHei;
  2212. font-weight: 400;
  2213. color: #e17d24;
  2214. }
  2215. .matrix-status-right {
  2216. margin-right: 6px;
  2217. font-size: 14px;
  2218. font-family: Arial;
  2219. font-weight: 400;
  2220. color: #e17d24;
  2221. }
  2222. }
  2223. .matrix-status-right {
  2224. margin-right: 6px;
  2225. }
  2226. }
  2227. &.gray {
  2228. .status-first {
  2229. width: 100%;
  2230. height: 34%;
  2231. display: flex;
  2232. flex-direction: row;
  2233. align-items: center;
  2234. justify-content: space-between;
  2235. background-color: rgba(96, 103, 105, 0.28);
  2236. border-top: 1px solid #262b32;
  2237. border-left: 1px solid #262b32;
  2238. border-right: 1px solid #262b32;
  2239. .matrix-status-left {
  2240. margin-left: 6px;
  2241. font-size: 14px;
  2242. font-family: Microsoft YaHei;
  2243. font-weight: 400;
  2244. color: #606769;
  2245. }
  2246. .matrix-status-right {
  2247. margin-right: 6px;
  2248. font-size: 16px;
  2249. font-family: Arial;
  2250. font-weight: 400;
  2251. color: #606769;
  2252. }
  2253. }
  2254. .status-end {
  2255. width: 100%;
  2256. height: 33%;
  2257. display: flex;
  2258. flex-direction: row;
  2259. align-items: center;
  2260. justify-content: space-between;
  2261. background-color: rgba(96, 103, 105, 0.16);
  2262. border-left: 1px solid #262b32;
  2263. border-right: 1px solid #262b32;
  2264. border-bottom: 1px solid #262b32;
  2265. .matrix-status-left {
  2266. margin-left: 6px;
  2267. font-size: 12px;
  2268. font-family: Microsoft YaHei;
  2269. font-weight: 400;
  2270. color: #606769;
  2271. }
  2272. .matrix-status-right {
  2273. margin-right: 6px;
  2274. font-size: 14px;
  2275. font-family: Arial;
  2276. font-weight: 400;
  2277. color: #606769;
  2278. }
  2279. }
  2280. .matrix-status-right {
  2281. margin-right: 6px;
  2282. }
  2283. }
  2284. &.write {
  2285. .status-first {
  2286. width: 100%;
  2287. height: 34%;
  2288. display: flex;
  2289. flex-direction: row;
  2290. align-items: center;
  2291. justify-content: space-between;
  2292. background-color: rgba(255, 255, 255, 0.28);
  2293. border-top: 1px solid #3f4349;
  2294. border-left: 1px solid #3f4349;
  2295. border-right: 1px solid #3f4349;
  2296. .matrix-status-left {
  2297. margin-left: 6px;
  2298. font-size: 14px;
  2299. font-family: Microsoft YaHei;
  2300. font-weight: 400;
  2301. color: #ffffff;
  2302. }
  2303. .matrix-status-right {
  2304. margin-right: 6px;
  2305. font-size: 16px;
  2306. font-family: Arial;
  2307. font-weight: 400;
  2308. color: #ffffff;
  2309. }
  2310. }
  2311. .status-end {
  2312. width: 100%;
  2313. height: 33%;
  2314. display: flex;
  2315. flex-direction: row;
  2316. align-items: center;
  2317. justify-content: space-between;
  2318. background-color: rgba(255, 255, 255, 0.16);
  2319. border-left: 1px solid #3f4349;
  2320. border-right: 1px solid #3f4349;
  2321. border-bottom: 1px solid #3f4349;
  2322. .matrix-status-left {
  2323. margin-left: 6px;
  2324. font-size: 12px;
  2325. font-family: Microsoft YaHei;
  2326. font-weight: 400;
  2327. color: #ffffff;
  2328. }
  2329. .matrix-status-right {
  2330. margin-right: 6px;
  2331. font-size: 14px;
  2332. font-family: Arial;
  2333. font-weight: 400;
  2334. color: #ffffff;
  2335. }
  2336. }
  2337. .matrix-status-right {
  2338. margin-right: 6px;
  2339. }
  2340. }
  2341. }
  2342. }
  2343. .unpaid {
  2344. display: flex;
  2345. flex-direction: row;
  2346. align-items: center;
  2347. width: 40%;
  2348. height: 100%;
  2349. .unpaid-item {
  2350. width: 20%;
  2351. height: 80%;
  2352. margin-right: 5px;
  2353. padding: 0 10px;
  2354. .unpaid-img {
  2355. width: 115px;
  2356. height: 39px;
  2357. }
  2358. .unpaid-value {
  2359. width: 90%;
  2360. display: flex;
  2361. flex-direction: row-reverse;
  2362. font-size: 18px;
  2363. font-family: Arial;
  2364. font-weight: 400;
  2365. color: #ff9f1f;
  2366. margin-top: -20px;
  2367. }
  2368. .unpaid-name {
  2369. width: 90%;
  2370. font-size: 14px;
  2371. font-family: Microsoft YaHei;
  2372. font-weight: 400;
  2373. color: #b3b3b3;
  2374. transform: translate(50%, -100%);
  2375. }
  2376. }
  2377. .unpaid-item1 {
  2378. width: 20%;
  2379. height: 80%;
  2380. margin-right: 5px;
  2381. &.upGreen {
  2382. .percent {
  2383. background-color: rgba(87, 207, 58, 0.8);
  2384. border-top: 1px solid rgba(87, 207, 58, 0.35);
  2385. border-left: 1px solid rgba(87, 207, 58, 0.35);
  2386. border-right: 1px solid rgba(87, 207, 58, 0.35);
  2387. }
  2388. .nums {
  2389. background-color: rgba(87, 207, 58, 0.35);
  2390. border-left: 1px solid rgba(87, 207, 58, 0.35);
  2391. border-right: 1px solid rgba(87, 207, 58, 0.35);
  2392. border-bottom: 1px solid rgba(87, 207, 58, 0.35);
  2393. }
  2394. }
  2395. &.upSkyBlue {
  2396. .percent {
  2397. background-color: rgba(14, 199, 220, 0.8);
  2398. border-top: 1px solid rgba(14, 199, 220, 0.35);
  2399. border-left: 1px solid rgba(14, 199, 220, 0.35);
  2400. border-right: 1px solid rgba(14, 199, 220, 0.35);
  2401. }
  2402. .nums {
  2403. background-color: rgba(14, 199, 220, 0.35);
  2404. border-left: 1px solid rgba(14, 199, 220, 0.35);
  2405. border-right: 1px solid rgba(14, 199, 220, 0.35);
  2406. border-bottom: 1px solid rgba(14, 199, 220, 0.35);
  2407. }
  2408. }
  2409. &.upBlue {
  2410. .percent {
  2411. background-color: rgba(25, 116, 255, 0.8);
  2412. border-top: 1px solid rgba(25, 116, 255, 0.35);
  2413. border-left: 1px solid rgba(25, 116, 255, 0.35);
  2414. border-right: 1px solid rgba(25, 116, 255, 0.35);
  2415. }
  2416. .nums {
  2417. background-color: rgba(25, 116, 255, 0.35);
  2418. border-left: 1px solid rgba(25, 116, 255, 0.35);
  2419. border-right: 1px solid rgba(25, 116, 255, 0.35);
  2420. border-bottom: 1px solid rgba(25, 116, 255, 0.35);
  2421. }
  2422. }
  2423. &.upPurple {
  2424. .percent {
  2425. background-color: rgba(205, 76, 221, 0.8);
  2426. border-top: 1px solid rgba(205, 76, 221, 0.35);
  2427. border-left: 1px solid rgba(205, 76, 221, 0.35);
  2428. border-right: 1px solid rgba(205, 76, 221, 0.35);
  2429. }
  2430. .nums {
  2431. background-color: rgba(205, 76, 221, 0.35);
  2432. border-left: 1px solid rgba(205, 76, 221, 0.35);
  2433. border-right: 1px solid rgba(205, 76, 221, 0.35);
  2434. border-bottom: 1px solid rgba(205, 76, 221, 0.35);
  2435. }
  2436. }
  2437. &.upPink {
  2438. .percent {
  2439. background-color: rgba(255, 60, 128, 0.8);
  2440. border-top: 1px solid rgba(255, 60, 128, 0.35);
  2441. border-left: 1px solid rgba(255, 60, 128, 0.35);
  2442. border-right: 1px solid rgba(255, 60, 128, 0.35);
  2443. }
  2444. .nums {
  2445. background-color: rgba(255, 60, 128, 0.35);
  2446. border-left: 1px solid rgba(255, 60, 128, 0.35);
  2447. border-right: 1px solid rgba(255, 60, 128, 0.35);
  2448. border-bottom: 1px solid rgba(255, 60, 128, 0.35);
  2449. }
  2450. }
  2451. .percent {
  2452. width: 100%;
  2453. height: 50%;
  2454. display: flex;
  2455. align-items: center;
  2456. justify-content: center;
  2457. font-size: 14px;
  2458. font-family: Arial;
  2459. font-weight: 400;
  2460. color: #ffffff;
  2461. }
  2462. .nums {
  2463. width: 100%;
  2464. height: 50%;
  2465. display: flex;
  2466. flex-direction: row;
  2467. align-items: center;
  2468. justify-content: center;
  2469. font-size: 16px;
  2470. font-family: Arial;
  2471. font-weight: 400;
  2472. color: #ffffff;
  2473. padding: 0 8px;
  2474. }
  2475. }
  2476. }
  2477. }
  2478. .matrix-box {
  2479. background-color: rgba(0, 0, 0, 0.45);
  2480. }
  2481. .matrixs {
  2482. width: 100%;
  2483. margin-top: 7px;
  2484. .matrix-title {
  2485. display: flex;
  2486. flex-direction: row;
  2487. align-items: center;
  2488. width: 100%;
  2489. height: 32px;
  2490. background-color: rgba(96, 103, 105, 0.4);
  2491. font-size: 12px;
  2492. font-family: SourceHanSansCN;
  2493. font-weight: 400;
  2494. color: #05bb4c;
  2495. padding: 0 12px;
  2496. .matrix-svg {
  2497. flex: 0 0 auto;
  2498. margin-right: 10px;
  2499. display: flex;
  2500. align-items: center;
  2501. }
  2502. &.active {
  2503. color: #fc8004;
  2504. }
  2505. .station-name {
  2506. margin-left: 5px;
  2507. margin-right: 18px;
  2508. }
  2509. .indicator {
  2510. display: flex;
  2511. flex-direction: row;
  2512. align-items: center;
  2513. width: 93%;
  2514. height: 100%;
  2515. white-space: nowrap;
  2516. }
  2517. .sub-title-item {
  2518. display: flex;
  2519. flex-direction: row;
  2520. align-items: center;
  2521. // justify-content: space-between;
  2522. width: 7%;
  2523. height: 100%;
  2524. margin-right: 20px;
  2525. font-size: 12px;
  2526. font-family: Microsoft YaHei;
  2527. font-weight: 400;
  2528. color: #b3b3b3;
  2529. &.active {
  2530. cursor: pointer;
  2531. }
  2532. &.active1 {
  2533. width: 5%;
  2534. }
  2535. .sub-value {
  2536. font-size: 14px;
  2537. font-family: Arial;
  2538. font-weight: 400;
  2539. margin-left: 5px;
  2540. }
  2541. }
  2542. }
  2543. .matrix-list {
  2544. display: grid;
  2545. justify-content: space-between;
  2546. grid-template-columns: repeat(auto-fill, 114px);
  2547. width: 100%;
  2548. margin-top: 5px;
  2549. .matrix-card {
  2550. display: flex;
  2551. flex-direction: column;
  2552. width: 114px;
  2553. height: 59px;
  2554. margin-right: 2px;
  2555. margin-bottom: 2px;
  2556. background-color: rgba(0, 0, 0, 0.5);
  2557. .info {
  2558. display: flex;
  2559. flex-direction: row;
  2560. align-items: center;
  2561. width: 100%;
  2562. height: 50px;
  2563. .card-left {
  2564. width: 38px;
  2565. height: 100%;
  2566. display: flex;
  2567. flex-direction: column;
  2568. align-items: center;
  2569. .card-name {
  2570. font-size: 14px;
  2571. font-family: Arial;
  2572. font-weight: 400;
  2573. margin-top: 5px;
  2574. margin-bottom: 5px;
  2575. }
  2576. }
  2577. .card-right {
  2578. display: flex;
  2579. flex-direction: column;
  2580. padding: 0px 4px;
  2581. position: relative;
  2582. .right-item {
  2583. display: flex;
  2584. flex-direction: row;
  2585. align-items: center;
  2586. height: 15px;
  2587. .right-value {
  2588. font-size: 12px;
  2589. font-family: Arial;
  2590. font-weight: 400;
  2591. margin-left: 3px;
  2592. }
  2593. }
  2594. .card-hover {
  2595. position: absolute;
  2596. // width: 100px;
  2597. // height: 50px;
  2598. background-color: rgba(0, 0, 0, 1);
  2599. left: -30px;
  2600. top: -50px;
  2601. display: none;
  2602. }
  2603. }
  2604. .card-right:hover {
  2605. .card-hover {
  2606. display: block;
  2607. }
  2608. }
  2609. }
  2610. .matrix-progress {
  2611. display: flex;
  2612. flex-direction: row;
  2613. align-items: center;
  2614. width: 100%;
  2615. padding: 0 4px;
  2616. height: 8px;
  2617. .progress-block {
  2618. // width: 19px;
  2619. height: 3px;
  2620. background-color: #05bb4c;
  2621. // margin-right: 2px;
  2622. &.upGreen {
  2623. background-color: rgba(87, 207, 58, 1);
  2624. }
  2625. &.upSkyBlue {
  2626. background-color: rgba(14, 199, 220, 1);
  2627. }
  2628. &.upBlue {
  2629. background-color: rgba(25, 116, 255, 1);
  2630. }
  2631. &.upPurple {
  2632. background-color: rgba(205, 76, 221, 1);
  2633. }
  2634. &.upPink {
  2635. background-color: rgba(255, 60, 128, 1);
  2636. }
  2637. }
  2638. }
  2639. &.green {
  2640. border: 1px solid #05bb4c;
  2641. color: #05bb4c;
  2642. .info {
  2643. border-bottom: 1px solid #05bb4c;
  2644. background-color: rgba(5, 187, 76, 0.15);
  2645. .dashed {
  2646. width: 1px;
  2647. height: 100%;
  2648. background-image: linear-gradient(
  2649. #05bb4c 0%,
  2650. #05bb4c 40%,
  2651. transparent 50%
  2652. );
  2653. background-size: 1px 9px;
  2654. }
  2655. }
  2656. }
  2657. &.blue {
  2658. border: 1px solid #074ead;
  2659. color: #1c99ff;
  2660. .info {
  2661. border-bottom: 1px solid #074ead;
  2662. background-color: rgba(0, 70, 199, 0.25);
  2663. .dashed {
  2664. width: 1px;
  2665. height: 100%;
  2666. background-image: linear-gradient(
  2667. #074ead 0%,
  2668. #074ead 40%,
  2669. transparent 50%
  2670. );
  2671. background-size: 1px 9px;
  2672. }
  2673. }
  2674. }
  2675. &.pink {
  2676. border: 1px solid #c530c8;
  2677. color: #c530c8;
  2678. .info {
  2679. border-bottom: 1px solid #c530c8;
  2680. background-color: rgba(197, 48, 200, 0.15);
  2681. .dashed {
  2682. width: 1px;
  2683. height: 100%;
  2684. background-image: linear-gradient(
  2685. #c530c8 0%,
  2686. #c530c8 40%,
  2687. transparent 50%
  2688. );
  2689. background-size: 1px 9px;
  2690. }
  2691. }
  2692. }
  2693. &.red {
  2694. border: 1px solid #ba3237;
  2695. color: #ffffff;
  2696. .info {
  2697. border-bottom: 1px solid #ba3237;
  2698. background-color: rgba(186, 50, 55, 1);
  2699. .dashed {
  2700. width: 1px;
  2701. height: 100%;
  2702. background-image: linear-gradient(
  2703. #e17d24 0%,
  2704. #e17d24 40%,
  2705. transparent 50%
  2706. );
  2707. background-size: 1px 9px;
  2708. }
  2709. }
  2710. }
  2711. &.orange {
  2712. border: 1px solid #e17d24;
  2713. color: #e17d24;
  2714. .info {
  2715. border-bottom: 1px solid #e17d24;
  2716. background-color: rgba(225, 125, 36, 0.15);
  2717. .dashed {
  2718. width: 1px;
  2719. height: 100%;
  2720. background-image: linear-gradient(
  2721. #e17d24 0%,
  2722. #e17d24 40%,
  2723. transparent 50%
  2724. );
  2725. background-size: 1px 9px;
  2726. }
  2727. }
  2728. }
  2729. &.write {
  2730. border: 1px solid #51555a;
  2731. color: #ffffff;
  2732. .info {
  2733. border-bottom: 1px solid #51555a;
  2734. background-color: rgba(81, 85, 90, 1);
  2735. .dashed {
  2736. width: 1px;
  2737. height: 100%;
  2738. background-image: linear-gradient(
  2739. #262626 0%,
  2740. #262626 40%,
  2741. transparent 50%
  2742. );
  2743. background-size: 1px 9px;
  2744. }
  2745. }
  2746. }
  2747. &.gray {
  2748. border: 1px solid #606769;
  2749. color: #a7a7a7;
  2750. .info {
  2751. border-bottom: 1px solid #606769;
  2752. background-color: rgba(96, 103, 105, 0.2);
  2753. .dashed {
  2754. width: 1px;
  2755. height: 100%;
  2756. background-image: linear-gradient(
  2757. #262626 0%,
  2758. #262626 40%,
  2759. transparent 50%
  2760. );
  2761. background-size: 1px 9px;
  2762. }
  2763. }
  2764. }
  2765. }
  2766. }
  2767. }
  2768. .active_vie {
  2769. width: 100%;
  2770. margin-top: 0;
  2771. margin-bottom: 5px;
  2772. .matrix-list {
  2773. display: grid;
  2774. justify-content: space-between;
  2775. grid-template-columns: repeat(auto-fill, 114px);
  2776. width: 100%;
  2777. margin-top: 0;
  2778. }
  2779. }
  2780. }
  2781. }
  2782. .clearfix::after {
  2783. content: "";
  2784. clear: both;
  2785. height: 0;
  2786. line-height: 0;
  2787. visibility: hidden;
  2788. display: block;
  2789. }
  2790. .clearfix {
  2791. zoom: 1;
  2792. }
  2793. </style>