<template>
|
<div class="data">
|
<div class="data-l">
|
<div class="left">
|
<div class="left-item">
|
<div class="item-t">报警次数</div>
|
<div class="item-c"></div>
|
</div>
|
<div class="left-item">
|
<div class="item-t">街道统计</div>
|
<div class="item-c"></div>
|
</div>
|
</div>
|
</div>
|
<div class="data-c">
|
<div class="center">
|
<div class="center-item">
|
<div class="item-t">报警记录</div>
|
<div class="item-c"></div>
|
</div>
|
<div class="center-item">
|
<div class="item-t">气体浓度监测曲线</div>
|
<div class="item-c"></div>
|
</div>
|
</div>
|
</div>
|
<div class="data-r">
|
<div class="right">
|
<div class="right-item">
|
<div class="item-t">短信报警</div>
|
<div class="item-c"></div>
|
</div>
|
<div class="right-item">
|
<div class="item-t">邮箱报警</div>
|
<div class="item-c"></div>
|
</div>
|
</div>
|
</div>
|
</div>
|
</template>
|
|
<script setup>
|
|
</script>
|
|
<style scoped lang="scss">
|
.data{
|
height: 100%;
|
color: #fff;
|
display: flex;
|
justify-content: space-between;
|
&-l{
|
width: 25%;
|
height: 100%;
|
.left{
|
height: 100%;
|
display: flex;
|
flex-direction: column;
|
justify-content: space-between;
|
.left-item{
|
width: 100%;
|
height: 49%;
|
background-image: url('@/assets/images/screen/ct-default.png');
|
background-size: 100% 100%;
|
background-repeat: no-repeat;
|
.item-t{
|
width: 100%;
|
height: 3rem;
|
line-height: 3rem;
|
padding-left: 3.5rem;
|
}
|
.item-c{
|
height: calc(100% - 3rem);
|
padding: 0.5rem;
|
}
|
}
|
}
|
}
|
&-c{
|
width: 49%;
|
height: 100%;
|
.center{
|
height: 100%;
|
display: flex;
|
flex-direction: column;
|
justify-content: space-between;
|
.center-item{
|
height: 49%;
|
background-image: url('@/assets/images/screen/ct-large.png');
|
background-size: 100% 100%;
|
background-repeat: no-repeat;
|
.item-t{
|
height: 3rem;
|
line-height: 3rem;
|
padding-left: 4.5rem;
|
}
|
.item-c{
|
height: calc(100% - 3rem);
|
padding: 0.5rem;
|
}
|
}
|
}
|
}
|
&-r{
|
width: 25%;
|
height: 100%;
|
.right{
|
height: 100%;
|
display: flex;
|
flex-direction: column;
|
justify-content: space-between;
|
.right-item{
|
height: 49%;
|
background-image: url('@/assets/images/screen/ct-default.png');
|
background-size: 100% 100%;
|
background-repeat: no-repeat;
|
.item-t{
|
height: 3rem;
|
line-height: 3rem;
|
padding-left: 3rem;
|
}
|
.item-c{
|
height: calc(100% - 3rem);
|
padding: 0.5rem;
|
}
|
}
|
}
|
}
|
}
|
</style>
|