detailMatrix.vue 80 KB

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