123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- <template>
- <div class="safe">
- <div class="bottomCard">
- <div class="cardLine">
- <div class="lineItem card">
- <Safecom
- title="风机报警"
- deviceType="windturbine"
- alarmType="windturbine"
- />
- </div>
- <div class="lineItem card">
- <Safecom
- title="风机预警"
- deviceType="windturbine"
- alarmType="custom"
- />
- </div>
- </div>
- <div class="cardLine">
- <div class="lineItem card">
- <Safecom
- title="光伏报警"
- deviceType="inverter"
- alarmType="inverter"
- />
- </div>
- <div class="lineItem card">
- <Safecom title="光伏预警" deviceType="inverter" alarmType="custom" />
- </div>
- <!-- <div class="lineItem card">
- <Safecom
- title="升压站事件"
- deviceType="booststation"
- alarmType="custom"
- />
- </div> -->
- </div>
- <div class="cardLine">
- <div class="lineItem card" style="height: 100%">
- <Safecom
- title="升压站报警"
- deviceType="booststation"
- alarmType="booststation"
- />
- </div>
- <!-- <div class="lineItem card">
- <Safecom
- title="升压站事件"
- deviceType="booststation"
- alarmType="custom"
- />
- </div> -->
- </div>
- </div>
- </div>
- </template>
- <script setup>
- import dayjs from "dayjs";
- import Safecom from "@/views/IntegratedAlarm/safe/components/safecomponent.vue";
- </script>
- <style lang="less" scoped>
- .safe {
- width: 100%;
- height: 100%;
- padding: 20px 10px;
- // .topCard {
- // height: 24vh;
- // overflow-y: auto;
- // display: flex;
- // flex-wrap: wrap;
- // justify-content: flex-start;
- // align-content: flex-start;
- // .item {
- // width: 194px;
- // height: 90px;
- // padding: 6px 10px;
- // margin: 5px;
- // display: flex;
- // background-color: #f55d5d;
- // flex-direction: column;
- // -moz-user-select: none;
- // -webkit-user-select: none;
- // user-select: none;
- // cursor: pointer;
- // .title {
- // color: #fff;
- // font-size: 14px;
- // }
- // .warn_content {
- // flex: 1;
- // font-size: 12px;
- // color: rgb(133, 133, 133);
- // line-height: 1.3;
- // color: #fff;
- // overflow: hidden;
- // text-overflow: ellipsis;
- // display: -webkit-box;
- // -webkit-line-clamp: 2;
- // -webkit-box-orient: vertical;
- // }
- // .warn_btn {
- // display: flex;
- // justify-content: space-between;
- // font-size: 14px;
- // color: #fff;
- // .el-button--mini {
- // min-height: 20px;
- // padding: 0px;
- // }
- // }
- // }
- // }
- .bottomCard {
- display: flex;
- align-items: center;
- width: 100%;
- height: 100%;
- justify-content: space-around;
- .cardLine {
- width: calc(100% / 3 - 15px);
- height: 100%;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- align-items: center;
- .lineItem {
- width: 100%;
- height: calc(100% / 2 - 10px);
- }
- }
- }
- }
- .card {
- padding: 10px;
- border-radius: 4px;
- background-color: #161f1e;
- overflow: hidden;
- color: #fff;
- -webkit-transition: 0.3s;
- transition: 0.3s;
- box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
- }
- </style>
- <style lang="scss">
- .notificatBox {
- width: 100%;
- .notificatP {
- color: rgb(7, 7, 7);
- }
- .btn {
- display: flex;
- justify-content: flex-end;
- }
- }
- .scrollbarC {
- width: 100%;
- display: flex;
- flex-wrap: wrap;
- justify-content: flex-start;
- align-content: flex-start;
- }
- </style>
|