index.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, value.wpid)"
  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/headerNavSta/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: "fc", //全部 风电 光伏
  610. enterpriseIndex: "all", //公司
  611. tabIndex: -1, //全部 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, wpid) {
  921. this.displayMatrix = true;
  922. this.wtType = type;
  923. this.$nextTick(() => {
  924. this.wind = { ...wt, wtType: type, wpid };
  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: 45px;
  1579. height: 100%;
  1580. display: flex;
  1581. flex-direction: column;
  1582. align-items: center;
  1583. .card-name {
  1584. font-size: 13px;
  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. // width: 7%;
  2522. width: 8%;
  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. width: 6%;
  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: 45px;
  2566. height: 100%;
  2567. display: flex;
  2568. flex-direction: column;
  2569. align-items: center;
  2570. .card-name {
  2571. font-size: 13px;
  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>