detailMatrix.vue 80 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062
  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. ratio: 1000,
  577. },
  578. {
  579. text: "保证功率",
  580. color: "#9CA5A8",
  581. key: "bzgl",
  582. ratio: 1000,
  583. },
  584. {
  585. text: "理论功率",
  586. color: "#9CA5A8",
  587. key: "llgl",
  588. ratio: 1000,
  589. },
  590. {
  591. text: "实际功率",
  592. color: "#9CA5A8",
  593. key: "sjgl",
  594. ratio: 1000,
  595. },
  596. {
  597. text: "AGC指令",
  598. color: "#9CA5A8",
  599. key: "agc",
  600. flag: true,
  601. },
  602. {
  603. text: "出线功率",
  604. color: "#9CA5A8",
  605. key: "cxgl",
  606. ratio: 1000,
  607. flag: true,
  608. },
  609. ],
  610. activeTab: "all", //全部 风电 光伏
  611. enterpriseIndex: "all", //公司
  612. tabIndex: 0, //全部 0 风电 -1 光伏-2
  613. // wt指标
  614. ssPv: [
  615. {
  616. statiomName: "功率",
  617. stse: "",
  618. sts: "AI114",
  619. },
  620. {
  621. statiomName: "风速",
  622. stse: "",
  623. sts: "AI066",
  624. },
  625. {
  626. statiomName: "发电机转速",
  627. stse: "",
  628. sts: "AI060",
  629. },
  630. ],
  631. // wp指标
  632. stse: [
  633. {
  634. statiomName: "风速",
  635. stse: "",
  636. sts: "SSPJFS",
  637. },
  638. {
  639. statiomName: "预测功率",
  640. stse: "",
  641. sts: "FCFGDQDT0001",
  642. },
  643. {
  644. statiomName: "保证功率",
  645. stse: "",
  646. sts: "SSZBZGL",
  647. },
  648. {
  649. statiomName: "理论功率",
  650. stse: "",
  651. sts: "SSZNHGLZS",
  652. },
  653. {
  654. statiomName: "实际功率",
  655. stse: "",
  656. sts: "SSZGL",
  657. },
  658. ],
  659. // 弹窗标题
  660. chartName: "对比曲线",
  661. displayMatrix: false,
  662. wind: {},
  663. wtType: -1,
  664. flag: false,
  665. };
  666. },
  667. // 函数
  668. methods: {
  669. deepClone,
  670. findUpColor,
  671. // 头部tab选择
  672. typeFlag(activeTab, enterpriseIndex) {
  673. this.activeTab = activeTab;
  674. this.tabIndex = activeTab == "all" ? 0 : activeTab == "fc" ? -1 : -2;
  675. this.enterpriseIndex = enterpriseIndex;
  676. },
  677. // 请求服务
  678. requestData() {
  679. api
  680. .matrixDetailPush({
  681. company:
  682. this.enterpriseIndex == "all"
  683. ? "0"
  684. : this.enterpriseIndex.toString(),
  685. type: this.tabIndex.toString(),
  686. })
  687. .then((res) => {
  688. if (Object.values(res.data.data).length) {
  689. let sourceMap = res.data.data;
  690. // sourceMap.powerVos.forEach((item, index) => {
  691. // item["switch" + index] = true;
  692. // });
  693. this.sourceMap = sourceMap;
  694. if (this.fillFjzt) {
  695. this.handleClick(this.fillFjzt);
  696. }
  697. } else {
  698. this.sourceMap = {};
  699. this.showMatrixList = [];
  700. }
  701. });
  702. },
  703. // 点击切换状态
  704. handleClick(val) {
  705. this.fillFjzt = val;
  706. this.handleClickWind();
  707. },
  708. // 点击开关闭场站设备
  709. handleToggle(index) {
  710. // this.showMatrixList[index]["switch" + index] =
  711. // !this.showMatrixList[index]["switch" + index];
  712. },
  713. // 状态切换改变数据
  714. handleClickWind() {
  715. this.loading = false;
  716. this.showMatrixList = JSON.parse(JSON.stringify(this.sourceMap.powerVos));
  717. let matrixList = this.sourceMap.powerVos;
  718. if (this.fillFjzt !== "all") {
  719. this.showMatrixList.forEach((item) => {
  720. item.wtlist = [];
  721. });
  722. switch (this.fillFjzt) {
  723. case "dj":
  724. matrixList.forEach((val, index) => {
  725. val.wtlist.forEach((item) => {
  726. if (item.status === 0 || item.status === 1) {
  727. this.showMatrixList[index].wtlist.push(item);
  728. }
  729. });
  730. });
  731. break;
  732. case "0":
  733. matrixList.forEach((val, index) => {
  734. val.wtlist.forEach((item) => {
  735. if (item.status === 0) {
  736. this.showMatrixList[index].wtlist.push(item);
  737. }
  738. });
  739. });
  740. break;
  741. case "1":
  742. matrixList.forEach((val, index) => {
  743. val.wtlist.forEach((item) => {
  744. if (item.status === 1) {
  745. this.showMatrixList[index].wtlist.push(item);
  746. }
  747. });
  748. });
  749. break;
  750. case "yx":
  751. matrixList.forEach((val, index) => {
  752. val.wtlist.forEach((item) => {
  753. if (item.status === 2 || item.status === 3) {
  754. this.showMatrixList[index].wtlist.push(item);
  755. }
  756. });
  757. });
  758. break;
  759. case "2":
  760. matrixList.forEach((val, index) => {
  761. val.wtlist.forEach((item) => {
  762. if (item.status === 2) {
  763. this.showMatrixList[index].wtlist.push(item);
  764. }
  765. });
  766. });
  767. break;
  768. case "3":
  769. matrixList.forEach((val, index) => {
  770. val.wtlist.forEach((item) => {
  771. if (item.status === 3) {
  772. this.showMatrixList[index].wtlist.push(item);
  773. }
  774. });
  775. });
  776. break;
  777. case "gz":
  778. matrixList.forEach((val, index) => {
  779. val.wtlist.forEach((item) => {
  780. if (item.status === 4 || item.status === 5) {
  781. this.showMatrixList[index].wtlist.push(item);
  782. }
  783. });
  784. });
  785. break;
  786. case "4":
  787. matrixList.forEach((val, index) => {
  788. val.wtlist.forEach((item) => {
  789. if (item.status === 4) {
  790. this.showMatrixList[index].wtlist.push(item);
  791. }
  792. });
  793. });
  794. break;
  795. case "5":
  796. matrixList.forEach((val, index) => {
  797. val.wtlist.forEach((item) => {
  798. if (item.status === 5) {
  799. this.showMatrixList[index].wtlist.push(item);
  800. }
  801. });
  802. });
  803. break;
  804. case "jx":
  805. matrixList.forEach((val, index) => {
  806. val.wtlist.forEach((item) => {
  807. if (item.status === 6 || item.status === 7) {
  808. this.showMatrixList[index].wtlist.push(item);
  809. }
  810. });
  811. });
  812. break;
  813. case "6":
  814. matrixList.forEach((val, index) => {
  815. val.wtlist.forEach((item) => {
  816. if (item.status === 6) {
  817. this.showMatrixList[index].wtlist.push(item);
  818. }
  819. });
  820. });
  821. break;
  822. case "7":
  823. matrixList.forEach((val, index) => {
  824. val.wtlist.forEach((item) => {
  825. if (item.status === 7) {
  826. this.showMatrixList[index].wtlist.push(item);
  827. }
  828. });
  829. });
  830. break;
  831. case "xd":
  832. matrixList.forEach((val, index) => {
  833. val.wtlist.forEach((item) => {
  834. if (item.status === 8 || item.status === 9) {
  835. this.showMatrixList[index].wtlist.push(item);
  836. }
  837. });
  838. });
  839. break;
  840. case "8":
  841. matrixList.forEach((val, index) => {
  842. val.wtlist.forEach((item) => {
  843. if (item.status === 8) {
  844. this.showMatrixList[index].wtlist.push(item);
  845. }
  846. });
  847. });
  848. break;
  849. case "9":
  850. matrixList.forEach((val, index) => {
  851. val.wtlist.forEach((item) => {
  852. if (item.status === 9) {
  853. this.showMatrixList[index].wtlist.push(item);
  854. }
  855. });
  856. });
  857. break;
  858. case "sl":
  859. matrixList.forEach((val, index) => {
  860. val.wtlist.forEach((item) => {
  861. if (item.status === 10 || item.status === 11) {
  862. this.showMatrixList[index].wtlist.push(item);
  863. }
  864. });
  865. });
  866. break;
  867. case "10":
  868. matrixList.forEach((val, index) => {
  869. val.wtlist.forEach((item) => {
  870. if (item.status === 10) {
  871. this.showMatrixList[index].wtlist.push(item);
  872. }
  873. });
  874. });
  875. break;
  876. case "11":
  877. matrixList.forEach((val, index) => {
  878. val.wtlist.forEach((item) => {
  879. if (item.status === 11) {
  880. this.showMatrixList[index].wtlist.push(item);
  881. }
  882. });
  883. });
  884. break;
  885. case "lx":
  886. matrixList.forEach((val, index) => {
  887. val.wtlist.forEach((item) => {
  888. if (item.status === 12 || item.status === 13) {
  889. this.showMatrixList[index].wtlist.push(item);
  890. }
  891. });
  892. });
  893. break;
  894. case "12":
  895. matrixList.forEach((val, index) => {
  896. val.wtlist.forEach((item) => {
  897. if (item.status === 12) {
  898. this.showMatrixList[index].wtlist.push(item);
  899. }
  900. });
  901. });
  902. break;
  903. case "13":
  904. matrixList.forEach((val, index) => {
  905. val.wtlist.forEach((item) => {
  906. if (item.status === 13) {
  907. this.showMatrixList[index].wtlist.push(item);
  908. }
  909. });
  910. });
  911. break;
  912. // case "all":
  913. // this.showMatrixList = this.sourceMap.powerVos;
  914. // break;
  915. }
  916. } else {
  917. this.showMatrixList = this.sourceMap.powerVos;
  918. }
  919. },
  920. // 点击左侧数据弹出曲线
  921. handleLeftClick(wt, type) {
  922. this.displayMatrix = true;
  923. this.wtType = type;
  924. this.$nextTick(() => {
  925. this.wind = { ...wt, wtType: type };
  926. this.flag = true;
  927. });
  928. // this.$refs.windDetail.start(wt);
  929. },
  930. // 点击右侧数据弹出曲线
  931. handleRightClick(type, wtid) {
  932. let y = this.deepClone(this.ssPv);
  933. if (type == "-2") {
  934. y[1].statiomName = "电流";
  935. y[1].sts = "AI075";
  936. y[2].statiomName = "电压";
  937. y[2].sts = "AIG055";
  938. }
  939. this.$refs.child.openCurvDatas(y, 2, wtid);
  940. },
  941. // 点击统计项弹出曲线
  942. handleIndicatorClick(czlx, wpid) {
  943. let y = this.deepClone(this.stse);
  944. if (czlx == "-2") {
  945. y[0].statiomName = "光照强度";
  946. y[0].sts = "SSPJGZD";
  947. }
  948. this.$refs.child.openCurvDatas(y, 1, wpid);
  949. },
  950. },
  951. created() {
  952. let that = this;
  953. that.$nextTick(() => {
  954. this.loading = true;
  955. that.requestData();
  956. that.timmer = setInterval(() => {
  957. that.requestData();
  958. }, 5000);
  959. });
  960. },
  961. mounted() {},
  962. unmounted() {
  963. clearInterval(this.timmer);
  964. this.timmer = null;
  965. },
  966. };
  967. </script>
  968. <style lang="less" scoped>
  969. @panelHeight: 60px;
  970. @titleHeight: 26px;
  971. .light-matrix {
  972. // width: calc(100% - 1.111vh);
  973. height: calc(100vh - 7.222vh);
  974. display: flex;
  975. flex-direction: column;
  976. .panel {
  977. width: 100%;
  978. height: 80px;
  979. border: 1px solid @darkgray;
  980. position: relative;
  981. padding: 10px 20px;
  982. background-color: fade(@darkgray, 20%);
  983. .dot {
  984. width: 0.185vh;
  985. height: 0.185vh;
  986. border-radius: 50%;
  987. background-color: @write;
  988. position: absolute;
  989. &.left {
  990. left: 0.37vh;
  991. }
  992. &.right {
  993. right: 0.37vh;
  994. }
  995. &.top {
  996. top: 0.37vh;
  997. }
  998. &.bottom {
  999. bottom: 0.37vh;
  1000. }
  1001. }
  1002. .page-header {
  1003. display: flex;
  1004. .header-info {
  1005. display: flex;
  1006. flex: 1 0 auto;
  1007. }
  1008. }
  1009. .panel-item-gf {
  1010. flex: 0 0 auto;
  1011. margin-right: 16px;
  1012. display: flex;
  1013. height: @panelHeight;
  1014. .panel-item-gf-left {
  1015. width: @panelHeight;
  1016. height: @panelHeight;
  1017. display: flex;
  1018. align-items: center;
  1019. justify-content: center;
  1020. position: relative;
  1021. .loop {
  1022. position: absolute;
  1023. width: 4.444vh;
  1024. height: 4.444vh;
  1025. border-radius: 50%;
  1026. border: 0.093vh solid @darkgray;
  1027. background-color: fade(@darkgray, 20);
  1028. left: calc(50% - 2.222vh);
  1029. top: calc(50% - 2.222vh);
  1030. }
  1031. }
  1032. .panel-item-gf-right {
  1033. color: @write;
  1034. text-align: right;
  1035. margin-left: 24px;
  1036. .panel-item-gf-up {
  1037. color: @gray;
  1038. height: @panelHeight / 2;
  1039. line-height: @panelHeight / 2;
  1040. font-size: 14px;
  1041. }
  1042. .panel-item-gf-down {
  1043. height: @panelHeight / 2;
  1044. line-height: @panelHeight / 2;
  1045. font-weight: 600;
  1046. font-size: 16px;
  1047. }
  1048. }
  1049. }
  1050. .panel-item {
  1051. width: 100%;
  1052. height: @panelHeight;
  1053. font-size: 12px;
  1054. margin-left: 8px;
  1055. .panel-item-left {
  1056. display: flex;
  1057. .panel-item-li {
  1058. height: @panelHeight / 2;
  1059. line-height: @panelHeight / 2;
  1060. flex: 1 0 auto;
  1061. padding: 0 1.111vh;
  1062. align-items: center;
  1063. font-size: 14px;
  1064. .svg-icon {
  1065. margin-left: auto;
  1066. }
  1067. &.value {
  1068. text-align: right;
  1069. flex: 0;
  1070. font-size: 16px;
  1071. color: #fff;
  1072. }
  1073. }
  1074. }
  1075. .panel-item-right {
  1076. display: flex;
  1077. flex-grow: 1;
  1078. height: @panelHeight;
  1079. .panel-item-ri {
  1080. height: @panelHeight / 2;
  1081. line-height: @panelHeight / 2;
  1082. padding: 0 8px;
  1083. flex: 1;
  1084. &:first-child {
  1085. border-right: 1px solid;
  1086. }
  1087. & > span {
  1088. &:first-child {
  1089. float: left;
  1090. display: flex;
  1091. align-items: center;
  1092. i {
  1093. margin-right: 4px;
  1094. }
  1095. }
  1096. &:last-child {
  1097. float: right;
  1098. color: @write;
  1099. }
  1100. }
  1101. }
  1102. }
  1103. &.green {
  1104. background-color: #24a13a;
  1105. color: #ffffff !important;
  1106. .panel-item-left {
  1107. background-color: fade(@green, 15%);
  1108. border-bottom: 1px solid #ffffff;
  1109. }
  1110. .panel-item-right {
  1111. .panel-item-ri {
  1112. &:first-child {
  1113. border-color: #ffffff;
  1114. }
  1115. }
  1116. }
  1117. }
  1118. &.blue {
  1119. background-color: #00a5db;
  1120. color: #ffffff !important;
  1121. .panel-item-left {
  1122. background-color: fade(@darkBlue, 15%);
  1123. border-bottom: 1px solid #ffffff;
  1124. }
  1125. .panel-item-right {
  1126. .panel-item-ri {
  1127. &:first-child {
  1128. border-color: #ffffff;
  1129. }
  1130. }
  1131. }
  1132. }
  1133. &.pink {
  1134. background-color: #b10e7e;
  1135. color: #ffffff !important;
  1136. .panel-item-left {
  1137. background-color: fade(@pink, 15%);
  1138. border-bottom: 1px solid #ffffff;
  1139. }
  1140. .panel-item-right {
  1141. .panel-item-ri {
  1142. &:first-child {
  1143. border-color: #ffffff;
  1144. }
  1145. }
  1146. }
  1147. }
  1148. &.red {
  1149. background-color: #ba3237;
  1150. color: #ffffff !important;
  1151. .panel-item-left {
  1152. background-color: fade(@red, 15%);
  1153. border-bottom: 1px solid #ffffff;
  1154. }
  1155. .panel-item-right {
  1156. .panel-item-ri {
  1157. &:first-child {
  1158. border-color: #ffffff;
  1159. }
  1160. }
  1161. }
  1162. }
  1163. &.orange {
  1164. background-color: #ff7800;
  1165. color: #ffffff !important;
  1166. .panel-item-left {
  1167. border-bottom: 1px solid #ffffff;
  1168. }
  1169. .panel-item-right {
  1170. .panel-item-ri {
  1171. &:first-child {
  1172. border-color: #ffffff;
  1173. }
  1174. }
  1175. }
  1176. }
  1177. &.gray {
  1178. background-color: #929ca3;
  1179. color: #ffffff !important;
  1180. .panel-item-left {
  1181. border-bottom: 1px solid #ffffff;
  1182. }
  1183. .panel-item-right {
  1184. .panel-item-ri {
  1185. &:first-child {
  1186. border-color: #ffffff;
  1187. }
  1188. }
  1189. }
  1190. }
  1191. &.write {
  1192. background-color: #1e1e1e;
  1193. color: @write;
  1194. .panel-item-left {
  1195. cursor: pointer;
  1196. background-color: fade(@write, 15%);
  1197. }
  1198. .panel-item-right {
  1199. cursor: pointer;
  1200. .panel-item-ri {
  1201. &:first-child {
  1202. border-color: @write;
  1203. }
  1204. }
  1205. }
  1206. }
  1207. }
  1208. }
  1209. .curStyle {
  1210. cursor: pointer;
  1211. }
  1212. .matrix-body {
  1213. display: flex;
  1214. flex-direction: column;
  1215. height: 100%;
  1216. margin-left: 20px;
  1217. margin-top: 10px;
  1218. padding-right: 20px;
  1219. .body-title {
  1220. display: flex;
  1221. flex-direction: row;
  1222. align-items: center;
  1223. width: 100%;
  1224. height: 78px;
  1225. border-radius: 10px;
  1226. // background-color: rgba(0, 0, 0, 0.45);
  1227. background: #fff;
  1228. .base-inf {
  1229. display: flex;
  1230. flex-direction: row;
  1231. align-items: center;
  1232. width: 60%;
  1233. height: 100%;
  1234. .title-name {
  1235. display: flex;
  1236. flex-direction: row;
  1237. align-items: center;
  1238. width: 16%;
  1239. height: 100%;
  1240. .imgs {
  1241. display: flex;
  1242. flex-direction: row;
  1243. align-items: center;
  1244. height: 100%;
  1245. margin-left: 11px;
  1246. }
  1247. .base-num {
  1248. display: flex;
  1249. flex-direction: column;
  1250. align-items: center;
  1251. justify-content: center;
  1252. cursor: pointer;
  1253. .nums {
  1254. font-size: 18px;
  1255. font-family: Arial;
  1256. font-weight: 700;
  1257. color: #000;
  1258. }
  1259. .base-name {
  1260. font-size: 14px;
  1261. font-family: Microsoft YaHei;
  1262. font-weight: 700;
  1263. color: #606769;
  1264. margin-bottom: 10px;
  1265. }
  1266. }
  1267. .all_img {
  1268. width: 20px;
  1269. position: relative;
  1270. left: -34px;
  1271. top: 1px;
  1272. margin-right: 10px;
  1273. animation: move 1s infinite linear;
  1274. }
  1275. .qty_img {
  1276. position: relative;
  1277. left: -39px;
  1278. top: 1px;
  1279. animation: move 1s infinite linear;
  1280. }
  1281. @keyframes move {
  1282. 0% {
  1283. top: 0px;
  1284. }
  1285. 20% {
  1286. top: -1px;
  1287. }
  1288. 40% {
  1289. top: -2px;
  1290. }
  1291. 80% {
  1292. top: -1px;
  1293. }
  1294. 100% {
  1295. top: 0px;
  1296. }
  1297. }
  1298. }
  1299. .matrix-status {
  1300. width: 84%;
  1301. display: flex;
  1302. flex-direction: row;
  1303. align-items: center;
  1304. height: 80%;
  1305. .title-status {
  1306. display: flex;
  1307. flex-direction: column;
  1308. width: 15%;
  1309. height: 100%;
  1310. padding-right: 5px;
  1311. cursor: pointer;
  1312. .status-first {
  1313. width: 100%;
  1314. height: 34%;
  1315. display: flex;
  1316. flex-direction: row;
  1317. align-items: center;
  1318. justify-content: space-between;
  1319. .matrix-status-left {
  1320. margin-left: 6px;
  1321. font-size: 14px;
  1322. font-family: Microsoft YaHei;
  1323. font-weight: bold;
  1324. color: #fff;
  1325. }
  1326. .matrix-status-right {
  1327. margin-right: 6px;
  1328. font-size: 16px;
  1329. font-family: Arial;
  1330. font-weight: bold;
  1331. color: #fff;
  1332. }
  1333. }
  1334. .status-end {
  1335. width: 100%;
  1336. height: 33%;
  1337. display: flex;
  1338. flex-direction: row;
  1339. align-items: center;
  1340. justify-content: space-between;
  1341. .matrix-status-left {
  1342. margin-left: 6px;
  1343. font-size: 12px;
  1344. font-family: Microsoft YaHei;
  1345. font-weight: 400;
  1346. color: #fff;
  1347. }
  1348. .matrix-status-right {
  1349. margin-right: 6px;
  1350. font-size: 14px;
  1351. font-family: Arial;
  1352. font-weight: 400;
  1353. color: #fff;
  1354. }
  1355. }
  1356. .matrix-status-right {
  1357. margin-right: 6px;
  1358. }
  1359. &.green {
  1360. .status-first {
  1361. background-color: rgba(5, 187, 76, 1);
  1362. }
  1363. .status-end {
  1364. background-color: rgba(5, 187, 76, 0.8);
  1365. }
  1366. }
  1367. &.blue {
  1368. .status-first {
  1369. background-color: rgba(0, 70, 199, 1);
  1370. }
  1371. .status-end {
  1372. background-color: rgba(0, 70, 199, 0.8);
  1373. }
  1374. }
  1375. &.pink {
  1376. .status-first {
  1377. background-color: rgba(197, 48, 200, 1);
  1378. }
  1379. .status-end {
  1380. background-color: rgba(197, 48, 200, 0.8);
  1381. }
  1382. }
  1383. &.red {
  1384. .status-first {
  1385. background-color: rgba(186, 50, 55, 1);
  1386. }
  1387. .status-end {
  1388. background-color: rgba(186, 50, 55, 0.8);
  1389. }
  1390. }
  1391. &.orange {
  1392. .status-first {
  1393. background-color: rgba(225, 125, 36, 1);
  1394. }
  1395. .status-end {
  1396. background-color: rgba(225, 125, 36, 0.8);
  1397. }
  1398. }
  1399. &.gray {
  1400. .status-first {
  1401. background-color: rgba(96, 103, 105, 1);
  1402. }
  1403. .status-end {
  1404. background-color: rgba(96, 103, 105, 0.8);
  1405. }
  1406. }
  1407. &.write {
  1408. .status-first {
  1409. background-color: fade(#0d1e1c, 100%);
  1410. }
  1411. .status-end {
  1412. background-color: fade(#0d1e1c, 80%);
  1413. }
  1414. }
  1415. }
  1416. }
  1417. }
  1418. .unpaid {
  1419. display: flex;
  1420. flex-direction: row;
  1421. align-items: center;
  1422. width: 40%;
  1423. height: 100%;
  1424. .unpaid-item {
  1425. width: 20%;
  1426. height: 80%;
  1427. margin-right: 5px;
  1428. padding: 0 10px;
  1429. .unpaid-img {
  1430. width: 115px;
  1431. height: 39px;
  1432. }
  1433. .unpaid-value {
  1434. width: 90%;
  1435. display: flex;
  1436. flex-direction: row-reverse;
  1437. font-size: 18px;
  1438. font-family: Arial;
  1439. font-weight: 700;
  1440. color: #ff9f1f;
  1441. margin-top: -20px;
  1442. }
  1443. .unpaid-name {
  1444. width: 90%;
  1445. display: flex;
  1446. flex-direction: row-reverse;
  1447. font-size: 14px;
  1448. font-family: Microsoft YaHei;
  1449. font-weight: 700;
  1450. color: #606769;
  1451. }
  1452. }
  1453. .unpaid-item1 {
  1454. width: 20%;
  1455. height: 80%;
  1456. margin-right: 5px;
  1457. .percent {
  1458. width: 100%;
  1459. height: 34%;
  1460. display: flex;
  1461. align-items: center;
  1462. justify-content: center;
  1463. // border-top: 1px solid #0a214c;
  1464. // border-left: 1px solid #0a214c;
  1465. // border-right: 1px solid #0a214c;
  1466. background-color: rgba(0, 70, 199, 0.8);
  1467. font-size: 14px;
  1468. font-family: Arial;
  1469. font-weight: 400;
  1470. color: #ffffff;
  1471. }
  1472. .nums {
  1473. width: 100%;
  1474. height: 33%;
  1475. display: flex;
  1476. flex-direction: row;
  1477. align-items: center;
  1478. justify-content: center;
  1479. // border-left: 1px solid #0a214c;
  1480. // border-right: 1px solid #0a214c;
  1481. // border-bottom: 1px solid #0a214c;
  1482. background-color: rgba(0, 70, 199, 0.6);
  1483. font-size: 16px;
  1484. font-family: Arial;
  1485. font-weight: 400;
  1486. color: #ffffff;
  1487. padding: 0 8px;
  1488. }
  1489. .progress-item {
  1490. width: 20%;
  1491. height: 3px;
  1492. background-color: #05bb4c;
  1493. margin-right: 2px;
  1494. }
  1495. }
  1496. }
  1497. }
  1498. .matrix-box {
  1499. background: #fff;
  1500. }
  1501. .matrixs {
  1502. width: 100%;
  1503. margin-top: 7px;
  1504. .matrix-title {
  1505. display: flex;
  1506. flex-direction: row;
  1507. align-items: center;
  1508. width: 100%;
  1509. height: 32px;
  1510. background-color: #001844;
  1511. font-size: 12px;
  1512. font-family: SourceHanSansCN;
  1513. font-weight: 400;
  1514. color: #05bb4c;
  1515. padding: 0 21px;
  1516. &.active {
  1517. color: #fc8004;
  1518. }
  1519. .station-name {
  1520. margin-left: 5px;
  1521. margin-right: 18px;
  1522. }
  1523. .indicator {
  1524. display: flex;
  1525. flex-direction: row;
  1526. align-items: center;
  1527. width: 93%;
  1528. height: 100%;
  1529. white-space: nowrap;
  1530. }
  1531. .sub-title-item {
  1532. display: flex;
  1533. flex-direction: row;
  1534. align-items: center;
  1535. white-space: nowrap;
  1536. // justify-content: space-between;
  1537. width: 7%;
  1538. height: 100%;
  1539. margin-right: 20px;
  1540. font-size: 12px;
  1541. font-family: Microsoft YaHei;
  1542. font-weight: 400;
  1543. color: #b3b3b3;
  1544. &.active {
  1545. cursor: pointer;
  1546. }
  1547. &.active1 {
  1548. width: 5%;
  1549. }
  1550. .sub-value {
  1551. font-size: 14px;
  1552. font-family: Arial;
  1553. font-weight: 400;
  1554. margin-left: 5px;
  1555. }
  1556. }
  1557. }
  1558. .matrix-list {
  1559. display: grid;
  1560. justify-content: space-between;
  1561. grid-template-columns: repeat(auto-fill, 114px);
  1562. width: 100%;
  1563. margin-top: 5px;
  1564. .matrix-card {
  1565. display: flex;
  1566. flex-direction: column;
  1567. width: 114px;
  1568. height: 59px;
  1569. margin-right: 2px;
  1570. margin-bottom: 2px;
  1571. background-color: rgba(0, 0, 0, 0.5);
  1572. .info {
  1573. display: flex;
  1574. flex-direction: row;
  1575. align-items: center;
  1576. width: 100%;
  1577. height: 50px;
  1578. .card-left {
  1579. width: 38px;
  1580. height: 100%;
  1581. display: flex;
  1582. flex-direction: column;
  1583. align-items: center;
  1584. .card-name {
  1585. font-size: 14px;
  1586. font-family: Arial;
  1587. font-weight: 400;
  1588. margin-top: 5px;
  1589. margin-bottom: 5px;
  1590. }
  1591. }
  1592. .card-right {
  1593. display: flex;
  1594. flex-direction: column;
  1595. padding: 0px 4px;
  1596. position: relative;
  1597. .right-item {
  1598. display: flex;
  1599. flex-direction: row;
  1600. align-items: center;
  1601. height: 15px;
  1602. .right-value {
  1603. font-size: 12px;
  1604. font-family: Arial;
  1605. font-weight: 400;
  1606. margin-left: 3px;
  1607. }
  1608. }
  1609. .card-hover {
  1610. position: absolute;
  1611. // width: 100px;
  1612. // height: 50px;
  1613. background-color: rgba(0, 0, 0, 1);
  1614. left: -30px;
  1615. top: -50px;
  1616. display: none;
  1617. }
  1618. }
  1619. .card-right:hover {
  1620. .card-hover {
  1621. display: block;
  1622. }
  1623. }
  1624. }
  1625. .matrix-progress {
  1626. display: flex;
  1627. flex-direction: row;
  1628. align-items: center;
  1629. width: 100%;
  1630. padding: 0 4px;
  1631. height: 8px;
  1632. .progress-block {
  1633. // width: 19px;
  1634. height: 3px;
  1635. background-color: #05bb4c;
  1636. // margin-right: 2px;
  1637. }
  1638. }
  1639. &.green {
  1640. border: 1px solid #05bb4c;
  1641. color: #05bb4c;
  1642. .info {
  1643. border-bottom: 1px solid #05bb4c;
  1644. background-color: rgba(5, 187, 76, 0.15);
  1645. .dashed {
  1646. width: 1px;
  1647. height: 100%;
  1648. background-image: linear-gradient(
  1649. #05bb4c 0%,
  1650. #05bb4c 40%,
  1651. transparent 50%
  1652. );
  1653. background-size: 1px 9px;
  1654. }
  1655. }
  1656. }
  1657. &.blue {
  1658. border: 1px solid #074ead;
  1659. color: #1c99ff;
  1660. .info {
  1661. border-bottom: 1px solid #074ead;
  1662. background-color: rgba(0, 70, 199, 0.25);
  1663. .dashed {
  1664. width: 1px;
  1665. height: 100%;
  1666. background-image: linear-gradient(
  1667. #074ead 0%,
  1668. #074ead 40%,
  1669. transparent 50%
  1670. );
  1671. background-size: 1px 9px;
  1672. }
  1673. }
  1674. }
  1675. &.pink {
  1676. border: 1px solid #c530c8;
  1677. color: #c530c8;
  1678. .info {
  1679. border-bottom: 1px solid #c530c8;
  1680. background-color: rgba(197, 48, 200, 0.15);
  1681. .dashed {
  1682. width: 1px;
  1683. height: 100%;
  1684. background-image: linear-gradient(
  1685. #c530c8 0%,
  1686. #c530c8 40%,
  1687. transparent 50%
  1688. );
  1689. background-size: 1px 9px;
  1690. }
  1691. }
  1692. }
  1693. &.red {
  1694. border: 1px solid #ba3237;
  1695. color: #ffffff;
  1696. .info {
  1697. border-bottom: 1px solid #ba3237;
  1698. background-color: rgba(186, 50, 55, 1);
  1699. .dashed {
  1700. width: 1px;
  1701. height: 100%;
  1702. background-image: linear-gradient(
  1703. #e17d24 0%,
  1704. #e17d24 40%,
  1705. transparent 50%
  1706. );
  1707. background-size: 1px 9px;
  1708. }
  1709. }
  1710. }
  1711. &.orange {
  1712. border: 1px solid #e17d24;
  1713. color: #e17d24;
  1714. .info {
  1715. border-bottom: 1px solid #e17d24;
  1716. background-color: rgba(225, 125, 36, 0.15);
  1717. .dashed {
  1718. width: 1px;
  1719. height: 100%;
  1720. background-image: linear-gradient(
  1721. #e17d24 0%,
  1722. #e17d24 40%,
  1723. transparent 50%
  1724. );
  1725. background-size: 1px 9px;
  1726. }
  1727. }
  1728. }
  1729. &.write {
  1730. border: 1px solid #51555a;
  1731. color: #ffffff;
  1732. .info {
  1733. border-bottom: 1px solid #51555a;
  1734. background-color: rgba(81, 85, 90, 1);
  1735. .dashed {
  1736. width: 1px;
  1737. height: 100%;
  1738. background-image: linear-gradient(
  1739. #262626 0%,
  1740. #262626 40%,
  1741. transparent 50%
  1742. );
  1743. background-size: 1px 9px;
  1744. }
  1745. }
  1746. }
  1747. &.gray {
  1748. border: 1px solid #606769;
  1749. color: #a7a7a7;
  1750. .info {
  1751. border-bottom: 1px solid #606769;
  1752. background-color: rgba(96, 103, 105, 0.2);
  1753. .dashed {
  1754. width: 1px;
  1755. height: 100%;
  1756. background-image: linear-gradient(
  1757. #262626 0%,
  1758. #262626 40%,
  1759. transparent 50%
  1760. );
  1761. background-size: 1px 9px;
  1762. }
  1763. }
  1764. }
  1765. }
  1766. }
  1767. }
  1768. .active_vie {
  1769. width: 100%;
  1770. margin-top: 0;
  1771. margin-bottom: 5px;
  1772. .matrix-list {
  1773. display: grid;
  1774. justify-content: space-between;
  1775. grid-template-columns: repeat(auto-fill, 114px);
  1776. width: 100%;
  1777. margin-top: 0;
  1778. }
  1779. }
  1780. }
  1781. }
  1782. // --------------------------------------------------------------------------------------------
  1783. .dark-matrix {
  1784. // width: calc(100% - 1.111vh);
  1785. height: calc(100vh - 7.222vh);
  1786. display: flex;
  1787. flex-direction: column;
  1788. .matrix-body {
  1789. display: flex;
  1790. flex-direction: column;
  1791. height: 100%;
  1792. margin-left: 20px;
  1793. margin-top: 10px;
  1794. padding-right: 20px;
  1795. .body-title {
  1796. display: flex;
  1797. flex-direction: row;
  1798. align-items: center;
  1799. width: 100%;
  1800. height: 78px;
  1801. background-color: rgba(0, 0, 0, 0.45);
  1802. border-radius: 10px;
  1803. .base-inf {
  1804. display: flex;
  1805. flex-direction: row;
  1806. align-items: center;
  1807. width: 60%;
  1808. height: 100%;
  1809. .title-name {
  1810. display: flex;
  1811. flex-direction: row;
  1812. align-items: center;
  1813. width: 18%;
  1814. height: 100%;
  1815. .imgs {
  1816. display: flex;
  1817. flex-direction: row;
  1818. align-items: center;
  1819. height: 100%;
  1820. margin-left: 11px;
  1821. }
  1822. .base-num {
  1823. display: flex;
  1824. flex-direction: column;
  1825. align-items: center;
  1826. justify-content: center;
  1827. cursor: pointer;
  1828. .nums {
  1829. font-size: 18px;
  1830. font-family: Arial;
  1831. font-weight: 400;
  1832. color: #ffffff;
  1833. }
  1834. .base-name {
  1835. font-size: 14px;
  1836. font-family: Microsoft YaHei;
  1837. font-weight: 400;
  1838. color: #b3b3b3;
  1839. margin-bottom: 10px;
  1840. }
  1841. }
  1842. .all_img {
  1843. width: 20px;
  1844. position: relative;
  1845. left: -34px;
  1846. top: 1px;
  1847. margin-right: 10px;
  1848. animation: move 1s infinite linear;
  1849. }
  1850. .qty_img {
  1851. position: relative;
  1852. left: -39px;
  1853. top: 1px;
  1854. animation: move 1s infinite linear;
  1855. }
  1856. @keyframes move {
  1857. 0% {
  1858. top: 0px;
  1859. }
  1860. 20% {
  1861. top: -1px;
  1862. }
  1863. 40% {
  1864. top: -2px;
  1865. }
  1866. 80% {
  1867. top: -1px;
  1868. }
  1869. 100% {
  1870. top: 0px;
  1871. }
  1872. }
  1873. }
  1874. .matrix-status {
  1875. width: 84%;
  1876. display: flex;
  1877. flex-direction: row;
  1878. align-items: center;
  1879. height: 80%;
  1880. }
  1881. .title-status {
  1882. display: flex;
  1883. flex-direction: column;
  1884. width: 15%;
  1885. height: 100%;
  1886. padding-right: 5px;
  1887. cursor: pointer;
  1888. .status-first {
  1889. width: 100%;
  1890. height: 34%;
  1891. display: flex;
  1892. flex-direction: row;
  1893. align-items: center;
  1894. justify-content: space-between;
  1895. background-color: rgba(5, 187, 76, 0.28);
  1896. border-top: 1px solid #0b3d26;
  1897. border-left: 1px solid #0b3d26;
  1898. border-right: 1px solid #0b3d26;
  1899. .matrix-status-left {
  1900. margin-left: 6px;
  1901. font-size: 14px;
  1902. font-family: Microsoft YaHei;
  1903. font-weight: 400;
  1904. color: #05bb4c;
  1905. }
  1906. .matrix-status-right {
  1907. margin-right: 6px;
  1908. font-size: 16px;
  1909. font-family: Arial;
  1910. font-weight: 400;
  1911. color: #05bb4c;
  1912. }
  1913. }
  1914. .status-end {
  1915. width: 100%;
  1916. height: 33%;
  1917. display: flex;
  1918. flex-direction: row;
  1919. align-items: center;
  1920. justify-content: space-between;
  1921. background-color: rgba(5, 187, 76, 0.16);
  1922. border-left: 1px solid #0b3d26;
  1923. border-right: 1px solid #0b3d26;
  1924. border-bottom: 1px solid #0b3d26;
  1925. .matrix-status-left {
  1926. margin-left: 6px;
  1927. font-size: 12px;
  1928. font-family: Microsoft YaHei;
  1929. font-weight: 400;
  1930. color: #05bb4c;
  1931. }
  1932. .matrix-status-right {
  1933. margin-right: 6px;
  1934. font-size: 14px;
  1935. font-family: Arial;
  1936. font-weight: 400;
  1937. color: #05bb4c;
  1938. }
  1939. }
  1940. .matrix-status-right {
  1941. margin-right: 6px;
  1942. }
  1943. &.green {
  1944. .status-first {
  1945. width: 100%;
  1946. height: 34%;
  1947. display: flex;
  1948. flex-direction: row;
  1949. align-items: center;
  1950. justify-content: space-between;
  1951. background-color: rgba(5, 187, 76, 0.28);
  1952. border-top: 1px solid #0b3d26;
  1953. border-left: 1px solid #0b3d26;
  1954. border-right: 1px solid #0b3d26;
  1955. .matrix-status-left {
  1956. margin-left: 6px;
  1957. font-size: 14px;
  1958. font-family: Microsoft YaHei;
  1959. font-weight: 400;
  1960. color: #05bb4c;
  1961. }
  1962. .matrix-status-right {
  1963. margin-right: 6px;
  1964. font-size: 16px;
  1965. font-family: Arial;
  1966. font-weight: 400;
  1967. color: #05bb4c;
  1968. }
  1969. }
  1970. .status-end {
  1971. width: 100%;
  1972. height: 33%;
  1973. display: flex;
  1974. flex-direction: row;
  1975. align-items: center;
  1976. justify-content: space-between;
  1977. background-color: rgba(5, 187, 76, 0.16);
  1978. border-left: 1px solid #0b3d26;
  1979. border-right: 1px solid #0b3d26;
  1980. border-bottom: 1px solid #0b3d26;
  1981. .matrix-status-left {
  1982. margin-left: 6px;
  1983. font-size: 12px;
  1984. font-family: Microsoft YaHei;
  1985. font-weight: 400;
  1986. color: #05bb4c;
  1987. }
  1988. .matrix-status-right {
  1989. margin-right: 6px;
  1990. font-size: 14px;
  1991. font-family: Arial;
  1992. font-weight: 400;
  1993. color: #05bb4c;
  1994. }
  1995. }
  1996. .matrix-status-right {
  1997. margin-right: 6px;
  1998. }
  1999. }
  2000. &.blue {
  2001. .status-first {
  2002. width: 100%;
  2003. height: 34%;
  2004. display: flex;
  2005. flex-direction: row;
  2006. align-items: center;
  2007. justify-content: space-between;
  2008. background-color: rgba(0, 70, 199, 0.48);
  2009. border-top: 1px solid #1e2341;
  2010. border-left: 1px solid #1e2341;
  2011. border-right: 1px solid #1e2341;
  2012. .matrix-status-left {
  2013. margin-left: 6px;
  2014. font-size: 14px;
  2015. font-family: Microsoft YaHei;
  2016. font-weight: 400;
  2017. color: #1c99ff;
  2018. }
  2019. .matrix-status-right {
  2020. margin-right: 6px;
  2021. font-size: 16px;
  2022. font-family: Arial;
  2023. font-weight: 400;
  2024. color: #1c99ff;
  2025. }
  2026. }
  2027. .status-end {
  2028. width: 100%;
  2029. height: 33%;
  2030. display: flex;
  2031. flex-direction: row;
  2032. align-items: center;
  2033. justify-content: space-between;
  2034. background-color: rgba(0, 70, 199, 0.16);
  2035. border-left: 1px solid #1e2341;
  2036. border-right: 1px solid #1e2341;
  2037. border-bottom: 1px solid #1e2341;
  2038. .matrix-status-left {
  2039. margin-left: 6px;
  2040. font-size: 12px;
  2041. font-family: Microsoft YaHei;
  2042. font-weight: 400;
  2043. color: #1c99ff;
  2044. }
  2045. .matrix-status-right {
  2046. margin-right: 6px;
  2047. font-size: 14px;
  2048. font-family: Arial;
  2049. font-weight: 400;
  2050. color: #1c99ff;
  2051. }
  2052. }
  2053. .matrix-status-right {
  2054. margin-right: 6px;
  2055. }
  2056. }
  2057. &.pink {
  2058. .status-first {
  2059. width: 100%;
  2060. height: 34%;
  2061. display: flex;
  2062. flex-direction: row;
  2063. align-items: center;
  2064. justify-content: space-between;
  2065. background-color: rgba(197, 48, 200, 0.28);
  2066. border-top: 1px solid #3e1a48;
  2067. border-left: 1px solid #3e1a48;
  2068. border-right: 1px solid #3e1a48;
  2069. .matrix-status-left {
  2070. margin-left: 6px;
  2071. font-size: 14px;
  2072. font-family: Microsoft YaHei;
  2073. font-weight: 400;
  2074. color: #c530c8;
  2075. }
  2076. .matrix-status-right {
  2077. margin-right: 6px;
  2078. font-size: 16px;
  2079. font-family: Arial;
  2080. font-weight: 400;
  2081. color: #c530c8;
  2082. }
  2083. }
  2084. .status-end {
  2085. width: 100%;
  2086. height: 33%;
  2087. display: flex;
  2088. flex-direction: row;
  2089. align-items: center;
  2090. justify-content: space-between;
  2091. background-color: rgba(197, 48, 200, 0.16);
  2092. border-left: 1px solid #3e1a48;
  2093. border-right: 1px solid #3e1a48;
  2094. border-bottom: 1px solid #3e1a48;
  2095. .matrix-status-left {
  2096. margin-left: 6px;
  2097. font-size: 12px;
  2098. font-family: Microsoft YaHei;
  2099. font-weight: 400;
  2100. color: #c530c8;
  2101. }
  2102. .matrix-status-right {
  2103. margin-right: 6px;
  2104. font-size: 14px;
  2105. font-family: Arial;
  2106. font-weight: 400;
  2107. color: #c530c8;
  2108. }
  2109. }
  2110. .matrix-status-right {
  2111. margin-right: 6px;
  2112. }
  2113. }
  2114. &.red {
  2115. .status-first {
  2116. width: 100%;
  2117. height: 34%;
  2118. display: flex;
  2119. flex-direction: row;
  2120. align-items: center;
  2121. justify-content: space-between;
  2122. background-color: rgba(186, 50, 55, 0.28);
  2123. border-top: 1px solid #3c1c1f;
  2124. border-left: 1px solid #3c1c1f;
  2125. border-right: 1px solid #3c1c1f;
  2126. .matrix-status-left {
  2127. margin-left: 6px;
  2128. font-size: 14px;
  2129. font-family: Microsoft YaHei;
  2130. font-weight: 400;
  2131. color: #ba3237;
  2132. }
  2133. .matrix-status-right {
  2134. margin-right: 6px;
  2135. font-size: 16px;
  2136. font-family: Arial;
  2137. font-weight: 400;
  2138. color: #ba3237;
  2139. }
  2140. }
  2141. .status-end {
  2142. width: 100%;
  2143. height: 33%;
  2144. display: flex;
  2145. flex-direction: row;
  2146. align-items: center;
  2147. justify-content: space-between;
  2148. background-color: rgba(186, 50, 55, 0.16);
  2149. border-left: 1px solid #3c1c1f;
  2150. border-right: 1px solid #3c1c1f;
  2151. border-bottom: 1px solid #3c1c1f;
  2152. .matrix-status-left {
  2153. margin-left: 6px;
  2154. font-size: 12px;
  2155. font-family: Microsoft YaHei;
  2156. font-weight: 400;
  2157. color: #ba3237;
  2158. }
  2159. .matrix-status-right {
  2160. margin-right: 6px;
  2161. font-size: 14px;
  2162. font-family: Arial;
  2163. font-weight: 400;
  2164. color: #ba3237;
  2165. }
  2166. }
  2167. .matrix-status-right {
  2168. margin-right: 6px;
  2169. }
  2170. }
  2171. &.orange {
  2172. .status-first {
  2173. width: 100%;
  2174. height: 34%;
  2175. display: flex;
  2176. flex-direction: row;
  2177. align-items: center;
  2178. justify-content: space-between;
  2179. background-color: rgba(225, 125, 36, 0.28);
  2180. border-top: 1px solid #46301a;
  2181. border-left: 1px solid #46301a;
  2182. border-right: 1px solid #46301a;
  2183. .matrix-status-left {
  2184. margin-left: 6px;
  2185. font-size: 14px;
  2186. font-family: Microsoft YaHei;
  2187. font-weight: 400;
  2188. color: #e17d24;
  2189. }
  2190. .matrix-status-right {
  2191. margin-right: 6px;
  2192. font-size: 16px;
  2193. font-family: Arial;
  2194. font-weight: 400;
  2195. color: #e17d24;
  2196. }
  2197. }
  2198. .status-end {
  2199. width: 100%;
  2200. height: 33%;
  2201. display: flex;
  2202. flex-direction: row;
  2203. align-items: center;
  2204. justify-content: space-between;
  2205. background-color: rgba(225, 125, 36, 0.16);
  2206. border-left: 1px solid #46301a;
  2207. border-right: 1px solid #46301a;
  2208. border-bottom: 1px solid #46301a;
  2209. .matrix-status-left {
  2210. margin-left: 6px;
  2211. font-size: 12px;
  2212. font-family: Microsoft YaHei;
  2213. font-weight: 400;
  2214. color: #e17d24;
  2215. }
  2216. .matrix-status-right {
  2217. margin-right: 6px;
  2218. font-size: 14px;
  2219. font-family: Arial;
  2220. font-weight: 400;
  2221. color: #e17d24;
  2222. }
  2223. }
  2224. .matrix-status-right {
  2225. margin-right: 6px;
  2226. }
  2227. }
  2228. &.gray {
  2229. .status-first {
  2230. width: 100%;
  2231. height: 34%;
  2232. display: flex;
  2233. flex-direction: row;
  2234. align-items: center;
  2235. justify-content: space-between;
  2236. background-color: rgba(96, 103, 105, 0.28);
  2237. border-top: 1px solid #262b32;
  2238. border-left: 1px solid #262b32;
  2239. border-right: 1px solid #262b32;
  2240. .matrix-status-left {
  2241. margin-left: 6px;
  2242. font-size: 14px;
  2243. font-family: Microsoft YaHei;
  2244. font-weight: 400;
  2245. color: #606769;
  2246. }
  2247. .matrix-status-right {
  2248. margin-right: 6px;
  2249. font-size: 16px;
  2250. font-family: Arial;
  2251. font-weight: 400;
  2252. color: #606769;
  2253. }
  2254. }
  2255. .status-end {
  2256. width: 100%;
  2257. height: 33%;
  2258. display: flex;
  2259. flex-direction: row;
  2260. align-items: center;
  2261. justify-content: space-between;
  2262. background-color: rgba(96, 103, 105, 0.16);
  2263. border-left: 1px solid #262b32;
  2264. border-right: 1px solid #262b32;
  2265. border-bottom: 1px solid #262b32;
  2266. .matrix-status-left {
  2267. margin-left: 6px;
  2268. font-size: 12px;
  2269. font-family: Microsoft YaHei;
  2270. font-weight: 400;
  2271. color: #606769;
  2272. }
  2273. .matrix-status-right {
  2274. margin-right: 6px;
  2275. font-size: 14px;
  2276. font-family: Arial;
  2277. font-weight: 400;
  2278. color: #606769;
  2279. }
  2280. }
  2281. .matrix-status-right {
  2282. margin-right: 6px;
  2283. }
  2284. }
  2285. &.write {
  2286. .status-first {
  2287. width: 100%;
  2288. height: 34%;
  2289. display: flex;
  2290. flex-direction: row;
  2291. align-items: center;
  2292. justify-content: space-between;
  2293. background-color: rgba(255, 255, 255, 0.28);
  2294. border-top: 1px solid #3f4349;
  2295. border-left: 1px solid #3f4349;
  2296. border-right: 1px solid #3f4349;
  2297. .matrix-status-left {
  2298. margin-left: 6px;
  2299. font-size: 14px;
  2300. font-family: Microsoft YaHei;
  2301. font-weight: 400;
  2302. color: #ffffff;
  2303. }
  2304. .matrix-status-right {
  2305. margin-right: 6px;
  2306. font-size: 16px;
  2307. font-family: Arial;
  2308. font-weight: 400;
  2309. color: #ffffff;
  2310. }
  2311. }
  2312. .status-end {
  2313. width: 100%;
  2314. height: 33%;
  2315. display: flex;
  2316. flex-direction: row;
  2317. align-items: center;
  2318. justify-content: space-between;
  2319. background-color: rgba(255, 255, 255, 0.16);
  2320. border-left: 1px solid #3f4349;
  2321. border-right: 1px solid #3f4349;
  2322. border-bottom: 1px solid #3f4349;
  2323. .matrix-status-left {
  2324. margin-left: 6px;
  2325. font-size: 12px;
  2326. font-family: Microsoft YaHei;
  2327. font-weight: 400;
  2328. color: #ffffff;
  2329. }
  2330. .matrix-status-right {
  2331. margin-right: 6px;
  2332. font-size: 14px;
  2333. font-family: Arial;
  2334. font-weight: 400;
  2335. color: #ffffff;
  2336. }
  2337. }
  2338. .matrix-status-right {
  2339. margin-right: 6px;
  2340. }
  2341. }
  2342. }
  2343. }
  2344. .unpaid {
  2345. display: flex;
  2346. flex-direction: row;
  2347. align-items: center;
  2348. width: 40%;
  2349. height: 100%;
  2350. .unpaid-item {
  2351. width: 20%;
  2352. height: 80%;
  2353. margin-right: 5px;
  2354. padding: 0 10px;
  2355. .unpaid-img {
  2356. width: 115px;
  2357. height: 39px;
  2358. }
  2359. .unpaid-value {
  2360. width: 90%;
  2361. display: flex;
  2362. flex-direction: row-reverse;
  2363. font-size: 18px;
  2364. font-family: Arial;
  2365. font-weight: 400;
  2366. color: #ff9f1f;
  2367. margin-top: -20px;
  2368. }
  2369. .unpaid-name {
  2370. width: 90%;
  2371. font-size: 14px;
  2372. font-family: Microsoft YaHei;
  2373. font-weight: 400;
  2374. color: #b3b3b3;
  2375. transform: translate(50%, -100%);
  2376. }
  2377. }
  2378. .unpaid-item1 {
  2379. width: 20%;
  2380. height: 80%;
  2381. margin-right: 5px;
  2382. &.upGreen {
  2383. .percent {
  2384. background-color: rgba(87, 207, 58, 0.8);
  2385. border-top: 1px solid rgba(87, 207, 58, 0.35);
  2386. border-left: 1px solid rgba(87, 207, 58, 0.35);
  2387. border-right: 1px solid rgba(87, 207, 58, 0.35);
  2388. }
  2389. .nums {
  2390. background-color: rgba(87, 207, 58, 0.35);
  2391. border-left: 1px solid rgba(87, 207, 58, 0.35);
  2392. border-right: 1px solid rgba(87, 207, 58, 0.35);
  2393. border-bottom: 1px solid rgba(87, 207, 58, 0.35);
  2394. }
  2395. }
  2396. &.upSkyBlue {
  2397. .percent {
  2398. background-color: rgba(14, 199, 220, 0.8);
  2399. border-top: 1px solid rgba(14, 199, 220, 0.35);
  2400. border-left: 1px solid rgba(14, 199, 220, 0.35);
  2401. border-right: 1px solid rgba(14, 199, 220, 0.35);
  2402. }
  2403. .nums {
  2404. background-color: rgba(14, 199, 220, 0.35);
  2405. border-left: 1px solid rgba(14, 199, 220, 0.35);
  2406. border-right: 1px solid rgba(14, 199, 220, 0.35);
  2407. border-bottom: 1px solid rgba(14, 199, 220, 0.35);
  2408. }
  2409. }
  2410. &.upBlue {
  2411. .percent {
  2412. background-color: rgba(25, 116, 255, 0.8);
  2413. border-top: 1px solid rgba(25, 116, 255, 0.35);
  2414. border-left: 1px solid rgba(25, 116, 255, 0.35);
  2415. border-right: 1px solid rgba(25, 116, 255, 0.35);
  2416. }
  2417. .nums {
  2418. background-color: rgba(25, 116, 255, 0.35);
  2419. border-left: 1px solid rgba(25, 116, 255, 0.35);
  2420. border-right: 1px solid rgba(25, 116, 255, 0.35);
  2421. border-bottom: 1px solid rgba(25, 116, 255, 0.35);
  2422. }
  2423. }
  2424. &.upPurple {
  2425. .percent {
  2426. background-color: rgba(205, 76, 221, 0.8);
  2427. border-top: 1px solid rgba(205, 76, 221, 0.35);
  2428. border-left: 1px solid rgba(205, 76, 221, 0.35);
  2429. border-right: 1px solid rgba(205, 76, 221, 0.35);
  2430. }
  2431. .nums {
  2432. background-color: rgba(205, 76, 221, 0.35);
  2433. border-left: 1px solid rgba(205, 76, 221, 0.35);
  2434. border-right: 1px solid rgba(205, 76, 221, 0.35);
  2435. border-bottom: 1px solid rgba(205, 76, 221, 0.35);
  2436. }
  2437. }
  2438. &.upPink {
  2439. .percent {
  2440. background-color: rgba(255, 60, 128, 0.8);
  2441. border-top: 1px solid rgba(255, 60, 128, 0.35);
  2442. border-left: 1px solid rgba(255, 60, 128, 0.35);
  2443. border-right: 1px solid rgba(255, 60, 128, 0.35);
  2444. }
  2445. .nums {
  2446. background-color: rgba(255, 60, 128, 0.35);
  2447. border-left: 1px solid rgba(255, 60, 128, 0.35);
  2448. border-right: 1px solid rgba(255, 60, 128, 0.35);
  2449. border-bottom: 1px solid rgba(255, 60, 128, 0.35);
  2450. }
  2451. }
  2452. .percent {
  2453. width: 100%;
  2454. height: 50%;
  2455. display: flex;
  2456. align-items: center;
  2457. justify-content: center;
  2458. font-size: 14px;
  2459. font-family: Arial;
  2460. font-weight: 400;
  2461. color: #ffffff;
  2462. }
  2463. .nums {
  2464. width: 100%;
  2465. height: 50%;
  2466. display: flex;
  2467. flex-direction: row;
  2468. align-items: center;
  2469. justify-content: center;
  2470. font-size: 16px;
  2471. font-family: Arial;
  2472. font-weight: 400;
  2473. color: #ffffff;
  2474. padding: 0 8px;
  2475. }
  2476. }
  2477. }
  2478. }
  2479. .matrix-box {
  2480. background-color: rgba(0, 0, 0, 0.45);
  2481. }
  2482. .matrixs {
  2483. width: 100%;
  2484. margin-top: 7px;
  2485. .matrix-title {
  2486. display: flex;
  2487. flex-direction: row;
  2488. align-items: center;
  2489. width: 100%;
  2490. height: 32px;
  2491. background-color: rgba(96, 103, 105, 0.4);
  2492. font-size: 12px;
  2493. font-family: SourceHanSansCN;
  2494. font-weight: 400;
  2495. color: #05bb4c;
  2496. padding: 0 12px;
  2497. .matrix-svg {
  2498. flex: 0 0 auto;
  2499. margin-right: 10px;
  2500. display: flex;
  2501. align-items: center;
  2502. }
  2503. &.active {
  2504. color: #fc8004;
  2505. }
  2506. .station-name {
  2507. margin-left: 5px;
  2508. margin-right: 18px;
  2509. }
  2510. .indicator {
  2511. display: flex;
  2512. flex-direction: row;
  2513. align-items: center;
  2514. width: 93%;
  2515. height: 100%;
  2516. white-space: nowrap;
  2517. }
  2518. .sub-title-item {
  2519. display: flex;
  2520. flex-direction: row;
  2521. align-items: center;
  2522. // justify-content: space-between;
  2523. width: 7%;
  2524. height: 100%;
  2525. margin-right: 20px;
  2526. font-size: 12px;
  2527. font-family: Microsoft YaHei;
  2528. font-weight: 400;
  2529. color: #b3b3b3;
  2530. &.active {
  2531. cursor: pointer;
  2532. }
  2533. &.active1 {
  2534. width: 5%;
  2535. }
  2536. .sub-value {
  2537. font-size: 14px;
  2538. font-family: Arial;
  2539. font-weight: 400;
  2540. margin-left: 5px;
  2541. }
  2542. }
  2543. }
  2544. .matrix-list {
  2545. display: grid;
  2546. justify-content: space-between;
  2547. grid-template-columns: repeat(auto-fill, 114px);
  2548. width: 100%;
  2549. margin-top: 5px;
  2550. .matrix-card {
  2551. display: flex;
  2552. flex-direction: column;
  2553. width: 114px;
  2554. height: 59px;
  2555. margin-right: 2px;
  2556. margin-bottom: 2px;
  2557. background-color: rgba(0, 0, 0, 0.5);
  2558. .info {
  2559. display: flex;
  2560. flex-direction: row;
  2561. align-items: center;
  2562. width: 100%;
  2563. height: 50px;
  2564. .card-left {
  2565. width: 38px;
  2566. height: 100%;
  2567. display: flex;
  2568. flex-direction: column;
  2569. align-items: center;
  2570. .card-name {
  2571. font-size: 14px;
  2572. font-family: Arial;
  2573. font-weight: 400;
  2574. margin-top: 5px;
  2575. margin-bottom: 5px;
  2576. }
  2577. }
  2578. .card-right {
  2579. display: flex;
  2580. flex-direction: column;
  2581. padding: 0px 4px;
  2582. position: relative;
  2583. .right-item {
  2584. display: flex;
  2585. flex-direction: row;
  2586. align-items: center;
  2587. height: 15px;
  2588. .right-value {
  2589. font-size: 12px;
  2590. font-family: Arial;
  2591. font-weight: 400;
  2592. margin-left: 3px;
  2593. }
  2594. }
  2595. .card-hover {
  2596. position: absolute;
  2597. // width: 100px;
  2598. // height: 50px;
  2599. background-color: rgba(0, 0, 0, 1);
  2600. left: -30px;
  2601. top: -50px;
  2602. display: none;
  2603. }
  2604. }
  2605. .card-right:hover {
  2606. .card-hover {
  2607. display: block;
  2608. }
  2609. }
  2610. }
  2611. .matrix-progress {
  2612. display: flex;
  2613. flex-direction: row;
  2614. align-items: center;
  2615. width: 100%;
  2616. padding: 0 4px;
  2617. height: 8px;
  2618. .progress-block {
  2619. // width: 19px;
  2620. height: 3px;
  2621. background-color: #05bb4c;
  2622. // margin-right: 2px;
  2623. &.upGreen {
  2624. background-color: rgba(87, 207, 58, 1);
  2625. }
  2626. &.upSkyBlue {
  2627. background-color: rgba(14, 199, 220, 1);
  2628. }
  2629. &.upBlue {
  2630. background-color: rgba(25, 116, 255, 1);
  2631. }
  2632. &.upPurple {
  2633. background-color: rgba(205, 76, 221, 1);
  2634. }
  2635. &.upPink {
  2636. background-color: rgba(255, 60, 128, 1);
  2637. }
  2638. }
  2639. }
  2640. &.green {
  2641. border: 1px solid #05bb4c;
  2642. color: #05bb4c;
  2643. .info {
  2644. border-bottom: 1px solid #05bb4c;
  2645. background-color: rgba(5, 187, 76, 0.15);
  2646. .dashed {
  2647. width: 1px;
  2648. height: 100%;
  2649. background-image: linear-gradient(
  2650. #05bb4c 0%,
  2651. #05bb4c 40%,
  2652. transparent 50%
  2653. );
  2654. background-size: 1px 9px;
  2655. }
  2656. }
  2657. }
  2658. &.blue {
  2659. border: 1px solid #074ead;
  2660. color: #1c99ff;
  2661. .info {
  2662. border-bottom: 1px solid #074ead;
  2663. background-color: rgba(0, 70, 199, 0.25);
  2664. .dashed {
  2665. width: 1px;
  2666. height: 100%;
  2667. background-image: linear-gradient(
  2668. #074ead 0%,
  2669. #074ead 40%,
  2670. transparent 50%
  2671. );
  2672. background-size: 1px 9px;
  2673. }
  2674. }
  2675. }
  2676. &.pink {
  2677. border: 1px solid #c530c8;
  2678. color: #c530c8;
  2679. .info {
  2680. border-bottom: 1px solid #c530c8;
  2681. background-color: rgba(197, 48, 200, 0.15);
  2682. .dashed {
  2683. width: 1px;
  2684. height: 100%;
  2685. background-image: linear-gradient(
  2686. #c530c8 0%,
  2687. #c530c8 40%,
  2688. transparent 50%
  2689. );
  2690. background-size: 1px 9px;
  2691. }
  2692. }
  2693. }
  2694. &.red {
  2695. border: 1px solid #ba3237;
  2696. color: #ffffff;
  2697. .info {
  2698. border-bottom: 1px solid #ba3237;
  2699. background-color: rgba(186, 50, 55, 1);
  2700. .dashed {
  2701. width: 1px;
  2702. height: 100%;
  2703. background-image: linear-gradient(
  2704. #e17d24 0%,
  2705. #e17d24 40%,
  2706. transparent 50%
  2707. );
  2708. background-size: 1px 9px;
  2709. }
  2710. }
  2711. }
  2712. &.orange {
  2713. border: 1px solid #e17d24;
  2714. color: #e17d24;
  2715. .info {
  2716. border-bottom: 1px solid #e17d24;
  2717. background-color: rgba(225, 125, 36, 0.15);
  2718. .dashed {
  2719. width: 1px;
  2720. height: 100%;
  2721. background-image: linear-gradient(
  2722. #e17d24 0%,
  2723. #e17d24 40%,
  2724. transparent 50%
  2725. );
  2726. background-size: 1px 9px;
  2727. }
  2728. }
  2729. }
  2730. &.write {
  2731. border: 1px solid #51555a;
  2732. color: #ffffff;
  2733. .info {
  2734. border-bottom: 1px solid #51555a;
  2735. background-color: rgba(81, 85, 90, 1);
  2736. .dashed {
  2737. width: 1px;
  2738. height: 100%;
  2739. background-image: linear-gradient(
  2740. #262626 0%,
  2741. #262626 40%,
  2742. transparent 50%
  2743. );
  2744. background-size: 1px 9px;
  2745. }
  2746. }
  2747. }
  2748. &.gray {
  2749. border: 1px solid #606769;
  2750. color: #a7a7a7;
  2751. .info {
  2752. border-bottom: 1px solid #606769;
  2753. background-color: rgba(96, 103, 105, 0.2);
  2754. .dashed {
  2755. width: 1px;
  2756. height: 100%;
  2757. background-image: linear-gradient(
  2758. #262626 0%,
  2759. #262626 40%,
  2760. transparent 50%
  2761. );
  2762. background-size: 1px 9px;
  2763. }
  2764. }
  2765. }
  2766. }
  2767. }
  2768. }
  2769. .active_vie {
  2770. width: 100%;
  2771. margin-top: 0;
  2772. margin-bottom: 5px;
  2773. .matrix-list {
  2774. display: grid;
  2775. justify-content: space-between;
  2776. grid-template-columns: repeat(auto-fill, 114px);
  2777. width: 100%;
  2778. margin-top: 0;
  2779. }
  2780. }
  2781. }
  2782. }
  2783. .clearfix::after {
  2784. content: "";
  2785. clear: both;
  2786. height: 0;
  2787. line-height: 0;
  2788. visibility: hidden;
  2789. display: block;
  2790. }
  2791. .clearfix {
  2792. zoom: 1;
  2793. }
  2794. </style>