123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240 |
- <template>
- <!-- <div class="body">
- <img class="logo" src="../../assets/img/logo.png" alt="" />
- <div class="title">关注区</div>
- <div class="agc" @click="showAGC">AGC监控</div>
- <div class="booster" @click="showBooster">升压站监控</div>
- <div style="margin-top: 50px; margin-left: 10px; height: 24vh">
- <el-scrollbar>
- <div class="scoll" style="margin-left: 5px">
- <FocusCard></FocusCard>
- </div>
- </el-scrollbar>
- </div>
- <AGCDetails v-model="display"></AGCDetails>
- <StationSvgDetailPages v-model="displayBooster" @close="close">
- </StationSvgDetailPages>
- </div> -->
- <div class="body">
- <img class="logo" src="../../assets/img/logo.png" alt="" />
- <div class="title">关注区</div>
- <!-- <div class="agc" @click="showAGC">AGC监控</div>
- <el-tooltip
- v-if="$store.state.syzBtnFlicker"
- class="box-item"
- effect="light"
- :content="`您有${$store.state.syzAlarmArray.length}条报警未处理`"
- placement="left"
- >
- <div
- class="syz"
- :class="$store.state.syzBtnFlicker ? 'flicker' : ''"
- @click="showSYZ"
- >
- 升压站
- </div>
- </el-tooltip> -->
- <!-- <div v-else class="syz" @click="showSYZ">升压站</div> -->
- <div style="margin-top: 50px; margin-left: 10px; height: 24vh">
- <el-scrollbar>
- <div class="scoll" style="margin-left: 5px">
- <FocusCard></FocusCard>
- </div>
- </el-scrollbar>
- </div>
- <!-- <AGCDetails v-model="display"></AGCDetails>
- <SYZDetails v-model="$store.state.syzDialogShow"></SYZDetails> -->
- </div>
- </template>
- <script>
- import FocusCard from "./focusCard.vue";
- // import AGCDetails from "./agcDetails.vue";
- // import StationSvgDetailPages from "../stationSvgDetailPages.vue";
- // import SYZDetails from "./syzDetails.vue";
- export default {
- data() {
- return {
- display: false,
- displayBooster: false,
- };
- },
- components: {
- FocusCard,
- // AGCDetails,
- // StationSvgDetailPages,
- // SYZDetails,
- },
- methods: {
- // showAGC() {
- // this.display = true;
- // },
- // showBooster() {
- // this.displayBooster = true;
- // },
- // close() {
- // this.displayBooster = false;
- // },
- // showSYZ() {
- // this.$store.commit("syzDialogShow", true);
- // },
- },
- };
- </script>
- <style scoped>
- /* .box {
- width: 100px;
- height: 20px;
- margin-top: 30px;
- }
- .body {
- border: 1px solid #373737;
- width: 100%;
- margin-left: 15px;
- margin-top: 10px;
- height: 30.5vh;
- }
- .body .scoll {
- height: 91%;
- }
- .title {
- color: #ffffff;
- font-size: 14px;
- margin-left: 32px;
- margin-bottom: 10px;
- width: 29vw;
- height: 50px;
- display: flex;
- align-items: center;
- position: absolute;
- background-color: #000000;
- }
- .title::before {
- z-index: 1;
- content: "";
- position: absolute;
- left: -18px !important;
- width: 5px;
- height: 5px;
- background-color: rgba(230, 191, 65, 1);
- border-radius: 50%;
- }
- .logo {
- position: absolute;
- top: 2px;
- left: 12px;
- }
- .agc {
- position: absolute;
- color: #ffffff;
- font-size: 14px;
- right: 0;
- top: 23px;
- width: 80px;
- height: 30px;
- display: flex;
- align-items: center;
- justify-content: center;
- background-color: rgba(37, 116, 219, 1);
- }
- .booster {
- position: absolute;
- color: #ffffff;
- font-size: 14px;
- right: 100px;
- top: 23px;
- width: 80px;
- height: 30px;
- display: flex;
- align-items: center;
- justify-content: center;
- background-color: rgba(37, 116, 219, 1);
- } */
- .body {
- border: 1px solid #373737;
- width: 100%;
- margin-left: 15px;
- margin-top: 10px;
- height: 30.5vh;
- }
- .body .scoll {
- height: 91%;
- }
- .title {
- color: #ffffff;
- font-size: 14px;
- margin-left: 32px;
- /* margin-top: 12px; */
- margin-bottom: 10px;
- /* width: 570px; */
- width: 27vw;
- height: 50px;
- display: flex;
- align-items: center;
- position: absolute;
- background-color: #000000;
- }
- .title::before {
- z-index: 1;
- content: "";
- position: absolute;
- left: -18px !important;
- /* top: 30px !important; */
- width: 5px;
- height: 5px;
- background-color: rgba(230, 191, 65, 1);
- border-radius: 50%;
- }
- .logo {
- position: absolute;
- top: 2px;
- left: 12px;
- }
- .agc,
- .syz {
- position: absolute;
- color: #ffffff;
- font-size: 14px;
- right: 0;
- top: 23px;
- width: 80px;
- height: 30px;
- display: flex;
- align-items: center;
- justify-content: center;
- background-color: rgba(37, 116, 219, 1);
- cursor: pointer;
- }
- .syz {
- right: 90px;
- transition: 0.2s;
- }
- .syz.flicker {
- right: 90px;
- animation: flicker 0.8s infinite;
- }
- @keyframes flicker {
- 0% {
- background: rgba(37, 116, 219);
- }
- 50% {
- background: orangered;
- }
- 100% {
- background: rgba(37, 116, 219);
- }
- }
- </style>
|