修复首页

This commit is contained in:
luyuan 2020-09-25 16:34:20 +08:00
parent a06e7134dc
commit d8e89c92f9
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3
2 changed files with 9 additions and 5 deletions

View File

@ -35,7 +35,7 @@
.menu{
user-select: none;
width: 171px;
height: 100vh;
height: 100%;
display: flex;
flex-direction: column;
background: linear-gradient(0deg, #0EDCC2, #50DF98, #7EE278, #A2E562);

View File

@ -2,9 +2,9 @@
<div class="mine">
<NavTop style="flex-shrink:0"></NavTop>
<div class="body">
<Menu style="flex-shrink:0"></Menu>
<Menu></Menu>
<div class="container">
<router-view/>
</div>
</div>
</div>
@ -13,12 +13,16 @@
.mine{
display: flex;
flex-direction: column;
height: 100vh;
.body{
display: flex;
height: calc(100% - 57px);
.container{
width: 100%;
width: calc(100% - 171px);
height: 100%;
overflow: auto;
background-color: #F5F5F5;
padding: 23rpx;
padding: 23px;
}
}
}