unitMonitorDialog.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988
  1. <template>
  2. <div class="main-data unit-dialog-area" @click.stop="preventDefault" @mouseleave="leaveFun">
  3. <div class="dialog-title">
  4. <img
  5. src="@/assets/images/main/cont_title_bg.png"
  6. />
  7. <div class="title">物业巡更信息</div>
  8. </div>
  9. <div class="dialog-cont">
  10. <div class="dialog-left">
  11. <div class="dialog-list">
  12. <div class="dialog-item wid100">
  13. <div class="content-title">
  14. <span class="title">巡更次数统计(近6月)</span>
  15. </div>
  16. <div class="charts-cont">
  17. <bar-chart
  18. :chart-data="electricityAreaBarData"
  19. :x-axis="electricityAreaBarAxis"
  20. :yAxis="electricityAreaBarYaxis"
  21. y-color="#FFF"
  22. l-color="#FFF"
  23. width="515px"
  24. height="200px"
  25. />
  26. </div>
  27. </div>
  28. </div>
  29. <!-- 巡更及时率 -->
  30. <div class="dialog-list">
  31. <div class="dialog-item wid100">
  32. <div class="content-title">
  33. <span class="title">巡更及时率(近6月)</span>
  34. </div>
  35. <div class="content">
  36. <line-chart
  37. :chart-data="lineData"
  38. :x-axis="lineAxis"
  39. :yAxis="lineYAxis"
  40. :legend="lineLegend"
  41. y-color="#FFF"
  42. l-color="#FFF"
  43. width="515px"
  44. height="200px"
  45. />
  46. </div>
  47. </div>
  48. </div>
  49. <!-- 巡更点统计-->
  50. <div class="dialog-list">
  51. <div class="dialog-item wid100">
  52. <div class="content-title">
  53. <span class="title">巡更点统计</span>
  54. </div>
  55. <div class="tank">
  56. <div class="ocBox">
  57. <!-- 水箱 -->
  58. <div class="leftTank"></div>
  59. </div>
  60. <div class="ocBox">
  61. <div class="table-cont">
  62. <div class="table-top">
  63. <div class="flo">楼层</div>
  64. <div class="pot">点位数</div>
  65. </div>
  66. <div class="table-bot">
  67. <div class="table-list" v-for="(item,index) in floorDataList" :key="index">
  68. <div class="fir">{{item.floor}}</div>
  69. <div class="snd">{{item.number}}</div>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. </div>
  80. </template>
  81. <script>
  82. import LineChart from "@/components/Echarts/LineChart";
  83. import PieChart from "@/components/Echarts/PieChart";
  84. import BarChart from "@/components/Echarts/BarChart.vue";
  85. import echarts from "echarts";
  86. import RaddarChart from "@/components/Echarts/RaddarChart.vue";
  87. import {frequency,patrol,patrolPoint} from "@/api/screen/service";
  88. export default {
  89. name: "UnitMonitorDialog",
  90. components: {
  91. RaddarChart,
  92. BarChart,
  93. PieChart,
  94. LineChart,
  95. },
  96. props: {
  97. monitorName:{
  98. type: String,
  99. default: ''
  100. },
  101. appOrg: {
  102. type: String,
  103. default: "0000",
  104. },
  105. },
  106. watch:{
  107. monitorName(newValue,oldValue){
  108. console.log(newValue, oldValue, "+++++")
  109. this.getMonitorList();
  110. },
  111. appOrg(){
  112. this.getMonitorList();
  113. this.handleUnitDataList();
  114. }
  115. },
  116. data() {
  117. return {
  118. //巡更次数
  119. electricityAreaBarData: [],
  120. electricityAreaBarAxis: {},
  121. electricityAreaBarYaxis: {
  122. type: "value",
  123. boundaryGap: [0, 0.01],
  124. name: '单位: 次',
  125. nameTextStyle: {
  126. color: '#fff',
  127. padding: [0,0,0,30]
  128. },
  129. axisLine:{
  130. lineStyle:{
  131. color:"#465A64"
  132. }
  133. },
  134. axisLabel: {
  135. color: "white", // 设置横坐标轴字体颜色为红色
  136. },
  137. splitLine: {
  138. show: false,
  139. },
  140. axisTick: {
  141. show: false,
  142. },
  143. splitArea:false
  144. },
  145. lineLegend: {
  146. top: 0,
  147. orient: "horizontal",
  148. right: 0,
  149. itemWidth: 17, // 设置图例标记的宽度
  150. itemHeight: 10, // 设置图例标记的高度
  151. textStyle: {
  152. color: "#FFF",
  153. },
  154. },
  155. //巡更及时率
  156. lineData: [],
  157. lineAxis: {},
  158. lineYAxis: {
  159. name: "单位: %",
  160. nameTextStyle: {
  161. color: "#fff",
  162. padding: [0, 0, 0, 30],
  163. },
  164. axisLabel: {
  165. color: "#FFF",
  166. },
  167. splitLine: {
  168. show: false,
  169. },
  170. axisLine: {
  171. show: false,
  172. },
  173. axisTick: {
  174. show: false,
  175. },
  176. splitArea: false,
  177. },
  178. cityNameList: ['长治市', '交城县', '晋中市', '岚县', '吕梁市', '平遥县', '寿阳县', '营销服务中心'],
  179. cityCodeList: ['changzhi', 'jiaocheng', 'jinzhong', 'lanxian', 'lvliang', 'pingyao', 'shouyang', 'yingxiao'],
  180. raddarData: [
  181. {
  182. name: '',
  183. type: 'radar',
  184. data: [
  185. {
  186. value: [10, 20, 30, 40, 50, 60],
  187. areaStyle: {
  188. color: '#43DCDB'
  189. }
  190. }
  191. ]
  192. },
  193. ],
  194. //巡更点统计
  195. floorDataList: [],
  196. };
  197. },
  198. created() {
  199. //巡更次数统计(近6月)
  200. this.frequency();
  201. //巡更点统计
  202. this.patrolPoint();
  203. this.patrol();
  204. this.handleUnitDataList();
  205. },
  206. destroyed() {},
  207. beforeDestroy() {},
  208. mounted() {},
  209. methods: {
  210. //巡更次数统计(近6月)
  211. frequency() {
  212. frequency(this.$props.appOrg).then((res) => {
  213. if (Number(res.code) === 200) {
  214. this.electricityAreaBarAxis = {
  215. type: "category",
  216. data: res.data.xList,
  217. axisLabel: {
  218. color: "white", // 设置横坐标轴字体颜色为红色
  219. rotate: 0,
  220. interval: 0
  221. },
  222. axisLine: {
  223. show: true
  224. },
  225. axisTick: {
  226. show: false,
  227. },
  228. splitArea: false
  229. };
  230. this.electricityAreaBarData = [
  231. {
  232. data: res.data.yList,
  233. type: "bar",
  234. barWidth: 30,
  235. itemStyle: {
  236. color: {
  237. type: 'linear',
  238. x: 0, //右
  239. y: 0, //下
  240. x2: 0, //左
  241. y2: 1, //上
  242. colorStops: [
  243. {
  244. offset: 0,
  245. color: '#FCE0BB' // 0% 处的颜色
  246. },
  247. {
  248. offset: 1,
  249. color: '#D47F1C' // 100% 处的颜色
  250. }
  251. ]
  252. }
  253. },
  254. },
  255. ];
  256. } else {
  257. //构造默认数据
  258. }
  259. });
  260. },
  261. // 巡更点统计
  262. patrolPoint() {
  263. patrolPoint(this.$props.appOrg).then((res) => {
  264. if (Number(res.code) === 200) {
  265. this.floorDataList=res.data;
  266. }
  267. });
  268. },
  269. // 巡更及时率
  270. patrol() {
  271. patrol(this.$props.appOrg).then((res) => {
  272. if (Number(res.code) === 200) {
  273. (this.lineData = [
  274. {
  275. name: "巡更及时率",
  276. type: "line",
  277. symbol: "none",
  278. areaStyle: {
  279. opacity: 0.8,
  280. color: new echarts.graphic.LinearGradient(0, 5, 15, 20, [
  281. {
  282. offset: 0.95,
  283. color: "#645727",
  284. },
  285. {
  286. offset: 0.98,
  287. color: "rgba(23, 240, 240, 0)",
  288. },
  289. ]),
  290. },
  291. lineStyle: {
  292. width: 2, // 设置线宽
  293. color: "#D67C15", // 设置线的颜色
  294. },
  295. smooth: true,
  296. data: res.data.patrolArray,
  297. },
  298. ]),
  299. (this.lineAxis = {
  300. type: "category",
  301. data: res.data.monthArray,
  302. axisLabel: {
  303. color: "white", // 设置横坐标轴字体颜色为红色
  304. },
  305. axisTick: {
  306. show: false,
  307. },
  308. axisLine: {
  309. lineStyle: {
  310. color: "#465A64",
  311. },
  312. },
  313. boundaryGap: false,
  314. });
  315. }
  316. });
  317. },
  318. //初始化
  319. handleUnitDataList() {
  320. let unitDataList = [];
  321. unitDataList.push({
  322. name: "国网太原供电公司",
  323. num: 10,
  324. });
  325. unitDataList.push({
  326. name: "国网运城供电公司",
  327. num: 8,
  328. });
  329. unitDataList.push({
  330. name: "国网临汾供电公司",
  331. num: 7,
  332. });
  333. unitDataList.push({
  334. name: "国网晋城供电公司",
  335. num: 6,
  336. });
  337. unitDataList.push({
  338. name: "国网吕梁供电公司",
  339. num: 4,
  340. });
  341. unitDataList.push({
  342. name: "国网大同供电公司",
  343. num: 4,
  344. });
  345. this.unitDataList = unitDataList;
  346. },
  347. //鼠标移出
  348. leaveFun(){
  349. setTimeout(()=>{
  350. this.$emit("closeDialog")
  351. },200)
  352. },
  353. preventDefault() {
  354. console.log(11)
  355. },
  356. },
  357. };
  358. </script>
  359. <style lang="scss">
  360. .unit-dialog-area {
  361. overflow: hidden;
  362. width: 580px;
  363. height:920px;
  364. background: url("../../../assets/images/main/main_bg.png") no-repeat;
  365. background-size: cover;
  366. padding: 19px 15px 11px 15px;
  367. .dialog-title {
  368. display: flex;
  369. flex-direction: row;
  370. align-items: center;
  371. justify-content: center;
  372. position: relative;
  373. margin-bottom: 10px;
  374. img {
  375. width: 284px;
  376. height: 32px;
  377. }
  378. .title {
  379. font-size: 20px;
  380. font-weight: 900;
  381. font-family: "PingFangSC";
  382. width: 100%;
  383. position: absolute;
  384. display: flex;
  385. align-items: center;
  386. justify-content: center;
  387. top: -5px;
  388. color: #fff;
  389. }
  390. }
  391. .dialog-cont {
  392. width:100%;
  393. height: 850px;
  394. padding: 15px;
  395. overflow-y: scroll;
  396. background: url("../../../assets/images/main/components_long_bg.png") no-repeat;
  397. background-size: cover;
  398. .dialog-left{
  399. width: 520px;
  400. float: left;
  401. }
  402. .dialog-right{
  403. width: 520px;
  404. float: right;
  405. }
  406. }
  407. .dialog-list{
  408. width: 100%;
  409. display: flex;
  410. justify-content: space-between !important;
  411. margin-bottom:20px;
  412. .dialog-item{
  413. width: calc(50% - 20px);
  414. }
  415. .dialog-item-cont{
  416. display: flex;
  417. justify-content: center;
  418. align-items: center;
  419. margin-top:40px;
  420. }
  421. .wid100{
  422. width:100%;
  423. .content-title{
  424. width:100%;
  425. background: url("../../../assets/images/main/title_pro_long.png") no-repeat;
  426. }
  427. }
  428. }
  429. .content-title {
  430. width: 100%;
  431. height: 26px;
  432. background: url("../../../assets/images/main/title_pro.png") no-repeat;
  433. background-size: 100% 100%;
  434. font-family: "PingFangSC";
  435. font-size: 16px;
  436. font-weight: bold;
  437. color: #00ffff;
  438. padding-left: 25px;
  439. .title {
  440. display: block;
  441. position: relative;
  442. top:-5px;
  443. }
  444. }
  445. .content {
  446. margin-top: 20px;
  447. .title-format {
  448. display: flex;
  449. flex-direction: row;
  450. align-items: center;
  451. img {
  452. width: 6px;
  453. height: 24px;
  454. margin-right: 6px;
  455. }
  456. .title-info {
  457. display: flex;
  458. flex-direction: column;
  459. font-size: 12px;
  460. color: #ffffff;
  461. .title-en {
  462. font-size: 8px;
  463. color: #ffffff;
  464. opacity: 0.4;
  465. }
  466. }
  467. }
  468. .total-data {
  469. display: flex;
  470. align-items: baseline;
  471. color: #19fcde;
  472. margin-top: 4px;
  473. .total {
  474. font-size: 40px;
  475. font-family: 'electronicFont';
  476. }
  477. .unit {
  478. font-size: 12px;
  479. }
  480. }
  481. .data-content{
  482. display: flex;
  483. flex-direction: row;
  484. align-items: center;
  485. flex-wrap: wrap;
  486. .data-item{
  487. position: relative;
  488. display: flex;
  489. flex-direction: column;
  490. align-items: center;
  491. justify-content: center;
  492. margin-right: 24px;
  493. img{
  494. width: 89px;
  495. height: 82px;
  496. }
  497. .desc{
  498. font-size: 14px;
  499. color: #FFFFFF;
  500. margin-top: 7px;
  501. opacity: 0.4;
  502. }
  503. .data{
  504. position: absolute;
  505. top:20px;
  506. left:0;
  507. width: 89px;
  508. font-size: 30px;
  509. display: flex;
  510. align-items: center;
  511. justify-content: center;
  512. color:#19fcde;
  513. font-family: 'electronicFont';
  514. }
  515. }
  516. .data-item:nth-child(2n){
  517. margin-right: 0;
  518. }
  519. }
  520. .data-list {
  521. display: flex;
  522. flex: 1;
  523. flex-direction: row;
  524. align-items: center;
  525. justify-content: space-between;
  526. .data-item {
  527. display: flex;
  528. flex-direction: column;
  529. align-items: center;
  530. justify-content: center;
  531. flex: 1;
  532. border-right: 1px solid rgba(25, 252, 222, 0.2);
  533. .data-detail {
  534. display: flex;
  535. flex-direction: row;
  536. align-items: baseline;
  537. color: #00ffff;
  538. margin-top: 11px;
  539. font-size: 12px;
  540. .data {
  541. font-size: 30px;
  542. font-family: 'electronicFont';
  543. }
  544. }
  545. }
  546. .data-item:last-child {
  547. border-right: none;
  548. }
  549. }
  550. .rate-area{
  551. position: relative;
  552. img{
  553. width: 198px;
  554. height: 114px;
  555. }
  556. .rate{
  557. display: flex;
  558. flex-direction: column;
  559. align-items: center;
  560. justify-content: center;
  561. width: 100%;
  562. position: absolute;
  563. top: 0;
  564. left: 0;
  565. color: #FFF;
  566. .rate-data{
  567. display: flex;
  568. flex-direction: row;
  569. align-items: baseline;
  570. color: #FFBA44;
  571. .data{
  572. font-family: 'electronicFont';
  573. font-size: 30px;
  574. }
  575. .unit{
  576. font-size: 12px;
  577. }
  578. }
  579. .desc{
  580. font-size: 12px;
  581. width: 58px;
  582. text-align: center;
  583. }
  584. }
  585. }
  586. }
  587. .tank{
  588. display: flex;
  589. height: 245px;
  590. .ocBox{
  591. width: 50%;
  592. .leftTank{
  593. height: 260px;
  594. background: url("../../../assets/images/building_guarantee/xpsota.png") no-repeat;
  595. margin: 10px 10px 10px 10px;
  596. }
  597. .table-cont{
  598. width:100%;
  599. .table-top{
  600. width:100%;
  601. height: 50px;
  602. background-color: #092B2C;
  603. padding:0 25px 0 10px;
  604. display: flex;
  605. justify-content: space-between;
  606. align-items: center;
  607. font-size:18px;
  608. color:#00FFFF;
  609. }
  610. .table-bot{
  611. width:100%;
  612. height: 165px;
  613. overflow: scroll;
  614. .table-list{
  615. width:100%;
  616. height:40px;
  617. padding:15px 25px 15px 0px;
  618. display: flex;
  619. justify-content: space-between;
  620. align-items: center;
  621. font-size:16px;
  622. color:#FFFFFF;
  623. font-weight: 500;
  624. //border: 1px dotted #14302F;
  625. }
  626. }
  627. .flo{
  628. width:50%;
  629. text-align: center;
  630. }
  631. .pot{
  632. width:50%;
  633. text-align: center;
  634. }
  635. .fir{
  636. width:50%;
  637. text-align: center;
  638. border-left: 1px solid #40E5F2;
  639. }
  640. .snd{
  641. width:50%;
  642. text-align: center;
  643. }
  644. // .color{
  645. // color:#FF8C00;
  646. // }
  647. }
  648. }
  649. }
  650. .other-cont{
  651. display: flex;
  652. .icon{
  653. display: block;
  654. width:70px;
  655. height:auto;
  656. }
  657. .other-info{
  658. padding-left:2px;
  659. .desc{
  660. font-size:12px;
  661. color:#FFFFFF;
  662. font-weight: bold;
  663. }
  664. .num-info{
  665. width:100%;
  666. padding-top:2px;
  667. display: flex;
  668. align-items: center;
  669. .num{
  670. font-size:30px;
  671. color:#19FCDE;
  672. font-weight: bold;
  673. font-family: "electronicFont";
  674. }
  675. .unit{
  676. font-size:12px;
  677. color:#00FFFF;
  678. font-weight: 500;
  679. position: relative;
  680. top:4px;
  681. }
  682. .mar{
  683. margin-left: 20px;
  684. }
  685. }
  686. }
  687. }
  688. .use-energy{
  689. width:100%;
  690. padding:0 15px;
  691. .use-energy-fir{
  692. width:100%;
  693. display: flex;
  694. align-items: center;
  695. font-size:14px;
  696. color:#FFFFFF;
  697. font-weight: 500;
  698. .num{
  699. font-weight: 900;
  700. color:#00FFFF;
  701. padding:0 8px;
  702. }
  703. }
  704. .use-energy-snd{
  705. width:100%;
  706. margin-top:15px;
  707. display: flex;
  708. align-items: center;
  709. .use-energy-snd-list{
  710. display: flex;
  711. align-items: center;
  712. .icon{
  713. display: block;
  714. width:34px;
  715. height: 34px;
  716. }
  717. .use-energy-snd-info{
  718. padding-left: 4px;
  719. .desc{
  720. font-size: 12px;
  721. color:#FFFFFF;
  722. }
  723. .num-info{
  724. display: flex;
  725. align-items: center;
  726. .num{
  727. font-size: 24px;
  728. color: #19FCDE;
  729. font-weight: bold;
  730. font-family: "electronicFont";
  731. }
  732. .unit{
  733. font-size:12px;
  734. color:#00FFFF;
  735. font-weight: 500;
  736. position: relative;
  737. top:4px;
  738. left:2px;
  739. }
  740. }
  741. }
  742. }
  743. .use-energy-snd-list:last-child{
  744. margin-left: 36px;
  745. }
  746. }
  747. }
  748. .circle-cont{
  749. width:100%;
  750. display: flex;
  751. flex-wrap: wrap;
  752. padding:0 15px;
  753. .circle-list {
  754. width:80px;
  755. display: flex;
  756. flex-direction: column;
  757. justify-content: center;
  758. align-items: center;
  759. margin-bottom: 10px;
  760. .name{
  761. font-size:12px;
  762. color:#FFFFFF;
  763. font-weight: 500;
  764. padding-top:6px;
  765. width:100%;
  766. overflow:hidden;
  767. text-align: center;
  768. white-space: nowrap;
  769. }
  770. }
  771. .el-progress__text{
  772. font-size:12px !important;
  773. color:#fff !important;
  774. }
  775. }
  776. .charts-cont{
  777. width:100%;
  778. padding-top:10px;
  779. }
  780. .data-chart {
  781. margin-top: 12px !important;
  782. margin-bottom: 10px !important;
  783. }
  784. .tab-cont {
  785. width: 100%;
  786. display: flex;
  787. align-items: center;
  788. padding-left: 15px;
  789. padding-bottom: 15px;
  790. .tab-list {
  791. width: 127px;
  792. height: 30px;
  793. background: url("../../../assets/images/building_guarantee/img_2.png")
  794. no-repeat;
  795. background-size: 100% 100%;
  796. font-family: "PingFangSC";
  797. font-size: 14px;
  798. font-weight: 500;
  799. color: #00ffff;
  800. padding-left: 15px;
  801. line-height: 30px;
  802. }
  803. .tab-list:last-child {
  804. margin-left: 20px;
  805. }
  806. }
  807. .camera-cont.pad{
  808. padding:20px 0 0 0;
  809. }
  810. .camera-cont{
  811. width:100%;
  812. padding:5px 0 25px 0;
  813. display: flex;
  814. justify-content: space-between;
  815. align-items: center;
  816. .camera-item{
  817. width: 139px;
  818. height: 80px;
  819. .camera-num{
  820. display: flex;
  821. justify-content: center;
  822. align-items: center;
  823. .num{
  824. font-size: 30px;
  825. color: #19FCDE;
  826. font-weight: bold;
  827. font-family: "electronicFont";
  828. padding-left:4px;
  829. }
  830. .unit{
  831. font-size: 12px;
  832. color: #00ffff;
  833. font-weight: 500;
  834. position: relative;
  835. top:6px;
  836. }
  837. }
  838. }
  839. .fir-bg{
  840. background: url("../../../assets/images/building_guarantee/img_5.png") no-repeat;
  841. background-size: 100% 100%;
  842. }
  843. .snd-bg{
  844. background: url("../../../assets/images/building_guarantee/img_6.png") no-repeat;
  845. background-size: 100% 100%;
  846. }
  847. }
  848. .monitor-cont{
  849. width:100%;
  850. display: flex;
  851. flex-wrap: wrap;
  852. padding:0 15px;
  853. .monitor-list{
  854. width:151px;
  855. position: relative;
  856. margin:0 10px 10px 0;
  857. .img{
  858. display: block;
  859. width:151px;
  860. height:104px;
  861. }
  862. .monitor-info{
  863. position: absolute;
  864. left:0;
  865. bottom: 0;
  866. width: 100%;
  867. height: 25px;
  868. opacity: 0.55;
  869. background: #000000;
  870. display: flex;
  871. justify-content: space-between;
  872. align-items: center;
  873. padding: 0 8px;
  874. .name{
  875. font-size: 12px;
  876. color: #FFFFFF;
  877. font-weight: 500;
  878. }
  879. .online{
  880. font-size: 12px;
  881. color: #00F6EC;
  882. font-weight: 500;
  883. }
  884. .offline{
  885. font-size: 12px;
  886. color: #F60000;
  887. font-weight: 500;
  888. }
  889. }
  890. }
  891. .monitor-list:nth-child(3n){
  892. margin-right: 0;
  893. }
  894. }
  895. ::-webkit-scrollbar {
  896. display: none;
  897. width: 3px;
  898. height: 3px;
  899. }
  900. ::-webkit-scrollbar-thumb {
  901. //滑块部分
  902. // border-radius: 5px;
  903. background-color: #58cbbb;
  904. }
  905. ::-webkit-scrollbar-track {
  906. //轨道部分
  907. // box-shadow: inset 0 0 5px #ddd;
  908. background: #ddd;
  909. // border-radius: 5px;
  910. }
  911. }
  912. </style>