Browse Source

fix: layout调整

feature/three
guoapeng 3 months ago
parent
commit
be4641b835
  1. 13
      src/layouts/default.vue

13
src/layouts/default.vue

@ -76,15 +76,13 @@ onUnmounted(() => {
</el-container> </el-container>
<el-footer class="footer"> <el-footer class="footer">
<el-row> <el-row>
<el-col :span="15">
<el-col :span="16">
<div class="footer-left"> <div class="footer-left">
<img src="../assets/images/run.svg" alt=""> <img src="../assets/images/run.svg" alt="">
<span class="text">机器运行状态</span> <span class="text">机器运行状态</span>
</div> </div>
</el-col> </el-col>
<el-col :span="1">
<div />
</el-col>
<el-col :span="8"> <el-col :span="8">
<div class="footer-right"> <div class="footer-right">
<div class="status" /> <div class="status" />
@ -104,10 +102,11 @@ onUnmounted(() => {
background: #F6F6F6; background: #F6F6F6;
.header, .footer { .header, .footer {
height: 50px; height: 50px;
width: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding: 10px 20px;
padding: 10px 15px;
} }
.header { .header {
color: #393F46; color: #393F46;
@ -225,6 +224,7 @@ onUnmounted(() => {
position: relative; position: relative;
} }
.content { .content {
width: 100%;
height: 100%; height: 100%;
background: #fff; background: #fff;
border-radius: 10px; border-radius: 10px;
@ -232,6 +232,7 @@ onUnmounted(() => {
padding: 10px; padding: 10px;
} }
.footer { .footer {
padding-left: 185px !important;
.el-row { .el-row {
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -249,6 +250,7 @@ onUnmounted(() => {
padding: 0 20px; padding: 0 20px;
} }
.footer-left { .footer-left {
border-right: 5px solid #F6F6F6;
img { img {
height: 60%; height: 60%;
} }
@ -259,6 +261,7 @@ onUnmounted(() => {
} }
} }
.footer-right { .footer-right {
border-left: 10px solid #F6F6F6;
.status { .status {
width: 15px; width: 15px;
height: 15px; height: 15px;

Loading…
Cancel
Save