hsgy/src/components/Gindex.vue

126 lines
3.1 KiB
Vue

<template>
<div class="green">
<div class="index-top">
</div>
<div class="index-bottom">
<div class="one-card">
<h2>数据显示</h2>
<div class="one-card-content">
<div>
<p>径流系数</p>
<font class="font30">0.6</font>
<font>-</font>
</div>
<div>
<p>蒸腾量</p>
<font class="font30">32</font>
<font>%</font>
</div>
<div>
<p>COD</p>
<font class="font30">27</font>
<font>mg/L</font>
</div>
<div>
<p>氨氮</p>
<font class="font30">11</font>
<font>mg/L</font>
</div>
<div>
<p>Ss</p>
<font class="font30">6</font>
<font>mg/L</font>
</div>
<div>
<p>屋面温度 无绿化</p>
<font class="font30">23</font>
<font></font>
</div>
<div>
<p>屋面温度 有绿化</p>
<font class="font30">19</font>
<font></font>
</div>
<div>
<p>热岛减率</p>
<font class="font30">21</font>
<font>%</font>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
import Menus from "@/components/Menus.vue";
import { onMounted, reactive, ref, toRefs, nextTick } from "vue";
export default {
name: 'green',
components: {
Menus
},
setup() {
const state = reactive({
})
}
}
</script>
<style lang="scss" scoped>
.mt10 {
margin-top: 10px;
}
.green {
width: 100%;
height:100%;
display: flex;
justify-content: space-between;
flex-direction: column;
.index-top {
width: 100%;
height: 74%;
border: 1px solid rgb(179, 174, 174);
}
.index-bottom {
width: 100%;
height: 25%;
display: flex;
justify-content: space-between;
.one-card {
width: 100%;
height: 100%;
box-shadow: 0 0 8px #99ACB0 inset;
h2 {
padding: 10px;
text-align: center;
}
.one-card-content {
width: 100%;
height: 73%;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
align-items: center;
>div {
width: 10%;
height: 80%;
border: 1px solid rgb(197, 195, 195);
display: flex;
flex-direction: column;
background:#d8e8f7;
// align-items: center;
justify-content: center;
text-align: center;
padding: 10px;
border-radius: 10px;
font-size: 20px;
line-height: 45px;
}
}
}
}
}
</style>