湖里大屏(安全管理):更改布局

This commit is contained in:
Jack 2022-08-03 15:58:50 +08:00
parent d158d8ccc6
commit 7d3bc793cb
3 changed files with 21 additions and 17 deletions

View File

@ -1,23 +1,23 @@
<template>
<!-- CIM -->
<!-- CIM -->
<div class="container">
<div class="leftBox">
<div class="leftTop">
<leftTop title="问题类型" />
<leftTop title="问题类型" />
</div>
<div class="leftCenter">
<leftCenter title="安全预警" />
<leftCenter title="安全预警" />
</div>
<div class="leftBottom">
<leftCenter title="隐患排查" />
<leftBottom title="隐患排查" />
</div>
</div>
<div class="centerBox">
<div class="centerTop">
<centerTop title="检查统计" />
<div class="rightTop">
<rightTop title="检查统计" />
</div>
<div class="centerBottom">
<centerTop title="隐患趋势" />
<div class="rightBottom">
<rightBottom title="隐患趋势" />
</div>
</div>
</div>
@ -27,12 +27,16 @@
import leftTop from './leftTop'
import leftCenter from './leftCenter'
import leftBottom from './leftBottom'
import centerTop from './centerTop'
import centerBottom from './centerBottom';
import rightTop from './rightTop'
import rightBottom from './rightBottom'
export default {
components: {
leftTop,leftCenter,leftBottom,centerTop,centerBottom
},
leftTop,
leftCenter,
leftBottom,
rightTop,
rightBottom
}
}
</script>
@ -67,12 +71,12 @@ export default {
width: 70%;
height: 100%;
margin-right: 15px;
.centerTop {
height: 66%;
.rightTop {
height: 35%;
margin-bottom: 15px;
}
.centerBottom {
height: 30%;
.rightBottom {
height: 62%;
}
}
</style>
</style>