中建四局(安全管理):完成布局

This commit is contained in:
Jack 2022-08-24 19:40:02 +08:00
parent b39329d1bd
commit 3e4f25a027
9 changed files with 23 additions and 72 deletions

View File

@ -1,6 +1,6 @@
<template> <template>
<Card title="晴雨表"> <Card title="危大工程">
晴雨表 危大工程
</Card> </Card>
</template> </template>

View File

@ -1,6 +1,6 @@
<template> <template>
<Card title="实时数据"> <Card title="人员管理">
实时数据 人员管理
</Card> </Card>
</template> </template>

View File

@ -1,33 +1,25 @@
<template> <template>
<div class="security"> <div class="security">
<div class="between"> <div class="left">
<div class="top"><LeftTop /></div> <div class="top"><LeftTop /></div>
<div class="center"><LeftCenter /></div>
<div class="bottom"><LeftBottom /></div> <div class="bottom"><LeftBottom /></div>
</div> </div>
<div class="center"> <div class="center">
<div class="top"><CenterTop /></div> <div class="top"><CenterTop /></div>
<div class="bottom"><CenterBottom /></div> <div class="bottom"><CenterBottom /></div>
</div> </div>
<div class="between"> <div class="right"><RightTop /></div>
<div class="top"><RightTop /></div>
<div class="center"><RightCenter /></div>
<div class="bottom"><RightBottom /></div>
</div>
</div> </div>
</template> </template>
<script> <script>
import LeftTop from './leftTop.vue' import LeftTop from './leftTop.vue'
import LeftCenter from './leftCenter.vue'
import LeftBottom from './leftBottom.vue' import LeftBottom from './leftBottom.vue'
import CenterTop from './centerTop.vue' import CenterTop from './centerTop.vue'
import CenterBottom from './centerBottom.vue' import CenterBottom from './centerBottom.vue'
import RightTop from './rightTop.vue' import RightTop from './rightTop.vue'
import RightCenter from './rightCenter.vue'
import RightBottom from './rightBottom.vue'
export default { export default {
components: { LeftTop, LeftCenter, LeftBottom, CenterTop, CenterBottom, RightTop, RightCenter, RightBottom } components: { LeftTop, LeftBottom, CenterTop, CenterBottom, RightTop }
} }
</script> </script>
@ -39,28 +31,29 @@ export default {
justify-content: space-between; justify-content: space-between;
// background: url(../assets/temp/5.png) no-repeat; // background: url(../assets/temp/5.png) no-repeat;
// background-size: 100% 100%; // background-size: 100% 100%;
.between { .left {
width: 20%; width: 20%;
height: 100%; height: 100%;
.top { .top {
height: 33.33%; height: 60%;
}
.center {
height: 33.33%;
} }
.bottom { .bottom {
height: 33.33%; height: 40%;
} }
} }
> .center { .center {
width: calc(60% - 40px); width: calc(60% - 40px);
height: 100%; height: 100%;
.top { .top {
height: 70%; height: 65%;
} }
.bottom { .bottom {
height: 30%; height: 35%;
} }
} }
.right {
width: 20%;
height: 100%;
}
} }
</style> </style>

View File

@ -1,6 +1,6 @@
<template> <template>
<Card title="趋势图"> <Card title="视频AI分析">
趋势图 视频AI分析
</Card> </Card>
</template> </template>

View File

@ -1,14 +0,0 @@
<template>
<Card title="雾炮喷淋">
雾炮喷淋
</Card>
</template>
<script>
import Card from '../components/Card.vue'
export default {
components: { Card }
}
</script>
<style></style>

View File

@ -1,6 +1,6 @@
<template> <template>
<Card title="环境监测"> <Card title="安全巡检">
环境监测 安全巡检
</Card> </Card>
</template> </template>

View File

@ -1,14 +0,0 @@
<template>
<Card title="报警记录">
报警记录
</Card>
</template>
<script>
import Card from '../components/Card.vue'
export default {
components: { Card }
}
</script>
<style></style>

View File

@ -1,14 +0,0 @@
<template>
<Card title="今日报警统计">
今日报警统计
</Card>
</template>
<script>
import Card from '../components/Card.vue'
export default {
components: { Card }
}
</script>
<style></style>

View File

@ -1,6 +1,6 @@
<template> <template>
<Card title="空气分析"> <Card title="设备监控">
空气分析 设备监控
</Card> </Card>
</template> </template>