修复首页

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{ .menu{
user-select: none; user-select: none;
width: 171px; width: 171px;
height: 100vh; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background: linear-gradient(0deg, #0EDCC2, #50DF98, #7EE278, #A2E562); background: linear-gradient(0deg, #0EDCC2, #50DF98, #7EE278, #A2E562);

View File

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