123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- <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" v-if="false">
- <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: calc(100% - 20px);
- height: calc(100% - 40px - 50px);
- padding: 20px 10px;
- .bottomCard {
- display: flex;
- align-items: center;
- width: 100%;
- height: 100%;
- justify-content: space-around;
- .cardLine {
- // width: calc(100% / 3 - 30px);
- width: calc(100% / 2 - 30px);
- height: 100%;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- align-items: center;
- .lineItem {
- width: 100%;
- height: calc(100% / 2 - 30px);
- }
- }
- }
- }
- .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>
|