123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210 |
- <template>
- <div class="center-area-green">
- <div class="container">
- <div class="risk-score">
- <div class="vent-icon"></div>
- <div class="item-content">
- <div class="ite-label">瓦斯监测预警</div>
- <div class="ite-val">低风险</div>
- </div>
- <div class="item-content">
- <div class="ite-label">矿井瓦斯等级鉴定</div>
- <div class="ite-val">低瓦斯</div>
- </div>
- </div>
- <div class="dust-warn">
- <div class="ite-content">
- <div class="ite-label">粉尘监测预警</div>
- <div class="ite-val">低风险</div>
- </div>
- </div>
- <div class="water-warn">
- <div class="ite-content">
- <div class="ite-label">水灾</div>
- <div class="ite-val">低风险</div>
- </div>
- </div>
- <div class="vent-warn">
- <div class="ite-content">
- <div class="ite-label">通风监测预警</div>
- <div class="ite-val">低风险</div>
- </div>
- </div>
- <div class="device-warn">
- <div class="device-icon"></div>
- <div class="ite-content">
- <div class="ite-label">设备监测预警</div>
- <div class="ite-val">低风险</div>
- </div>
- </div>
- <div class="fire-warn">
- <div class="fire-icon"></div>
- <div class="ite-content">
- <div class="ite-label">火灾监测预警</div>
- <div class="ite-val">低风险</div>
- </div>
- </div>
- <div class="db-warn">
- <div class="ite-content">
- <div class="ite-label">顶板</div>
- <div class="ite-val">低风险</div>
- </div>
- </div>
- <div class="gas-warn">
- <div class="ite-content1">
- <div class="item-label">风险得分</div>
- <div class="item-val">1.45</div>
- </div>
- </div>
- </div>
- </div>
- </template>
- <script lang="ts" setup>
- import { ref } from 'vue';
- </script>
- <style lang="less" scoped>
- .center-area-green {
- height: 100%;
- .container {
- position: relative;
- width: 60%;
- height: 70%;
- margin-top: 16%;
- margin-left: 20%;
- background: url(/src/assets/images/home-warn/6-1.png) no-repeat center;
- background-size: 100% 100%;
- }
- .risk-score {
- display: flex;
- position: absolute;
- flex-direction: row;
- justify-content: space-around;
- left: 45%;
- top: -46px;
- transform: translate(-44%, 0);
- width: 299px;
- height: 60px;
- font-size: 13px;
- color: #fff;
- background: url(/src/assets/images/home-warn/6-2.png) no-repeat;
- background-size: 100% 100%;
- .item-content {
- margin-left: 30px;
- }
- }
- .dust-warn {
- position: absolute;
- right: -26%;
- top: 197px;
- width: 217px;
- height: 64px;
- color: #fff;
- background: url(/src/assets/images/home-warn/6-3.png) no-repeat;
- background-size: 100% 100%;
- }
- .water-warn {
- position: absolute;
- right: -19%;
- bottom: 70px;
- width: 217px;
- height: 64px;
- color: #fff;
- background: url(/src/assets/images/home-warn/6-7.png) no-repeat;
- background-size: 100% 100%;
- }
- .db-warn {
- position: absolute;
- left: -20%;
- bottom: 70px;
- width: 217px;
- height: 64px;
- color: #fff;
- background: url(/src/assets/images/home-warn/6-8.png) no-repeat;
- background-size: 100% 100%;
- }
- .vent-warn {
- position: absolute;
- left: -20%;
- top: 64px;
- width: 207px;
- height: 64px;
- color: #fff;
- background: url(/src/assets/images/home-warn/6-5.png) no-repeat;
- background-size: 100% 100%;
- }
- .device-warn {
- position: absolute;
- right: -21%;
- top: 64px;
- width: 217px;
- height: 64px;
- color: #fff;
- background: url(/src/assets/images/home-warn/6-6.png) no-repeat;
- background-size: 100% 100%;
- }
- .fire-warn {
- position: absolute;
- left: -7%;
- top: 197px;
- transform: translate(-50%, 0);
- width: 217px;
- height: 64px;
- color: #fff;
- background: url(/src/assets/images/home-warn/6-4.png) no-repeat;
- background-size: 100% 100%;
- }
- .gas-warn {
- position: absolute;
- left: 51%;
- top: 65%;
- transform: translate(-50%, 0);
- width: 182px;
- height: 80px;
- text-align: center;
- line-height: 80px;
- }
- .item-content {
- position: relative;
- display: flex;
- flex-direction: column;
- margin-left: 58px;
- line-height: 32px;
- }
- .ite-content {
- position: absolute;
- display: flex;
- flex-direction: column;
- margin-left: 100px;
- line-height: 33px;
- }
- .ite-val {
- font-size: 12px;
- font-family: 'douyuFont';
- color: #bcf6fc !important;
- }
- .ite-content1 {
- width: 100%;
- position: absolute;
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- }
- .item-val {
- font-size: 22px;
- font-family: 'douyuFont';
- color: #b9f3ff !important;
- font-weight: bold;
- line-height: 88px;
- }
- .item-label {
- font-weight: bold;
- font-size: 22px;
- color: #fafafb;
- }
- }
- </style>
|