This commit is contained in:
裴浩宇 2020-04-10 17:21:33 +08:00
parent f059d0ac14
commit 6e70e3b728
2 changed files with 10 additions and 9 deletions

View File

@ -2,7 +2,7 @@
<el-main class="body-background"> <el-main class="body-background">
<div class="left"> <div class="left">
<div class="top"> <div class="top">
<img src="../assets/img/left-1.gif" height="83" width="142"/> <img src="../assets/img/left-1.gif"/>
</div> </div>
<div class="bottom"> <div class="bottom">
<el-menu <el-menu
@ -52,6 +52,7 @@
.left img{ .left img{
display: block; display: block;
margin: 0 auto; margin: 0 auto;
width: 100%;
} }
.el-main{ .el-main{
padding: 1rem; padding: 1rem;

View File

@ -264,17 +264,17 @@
display: flex; display: flex;
height: 1.5rem; height: 1.5rem;
line-height: 1.5rem; line-height: 1.5rem;
padding: 0 2rem; padding: 0 1rem;
} }
.merit-student .one div:nth-child(1){ .merit-student .one div:nth-child(1){
flex: 2; flex: 3;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
cursor: pointer; cursor: pointer;
} }
.merit-student .one div:nth-child(2){ .merit-student .one div:nth-child(2){
flex: 3; flex: 2;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
@ -284,20 +284,20 @@
display: flex; display: flex;
height: 1.5rem; height: 1.5rem;
line-height: 1.5rem; line-height: 1.5rem;
padding: 0 2rem; padding: 0 1rem;
} }
.prominent-teacher .one .subject{ .prominent-teacher .one .subject{
flex: 1!important; flex: 1!important;
} }
.prominent-teacher .one div:nth-child(1){ .prominent-teacher .one div:nth-child(1){
flex: 2; flex: 3;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
cursor: pointer; cursor: pointer;
} }
.prominent-teacher .one div:nth-child(2){ .prominent-teacher .one div:nth-child(2){
flex: 3; flex: 2;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
@ -373,8 +373,8 @@
} }
.school-dynamic{ .school-dynamic{
display: flex; display: flex;
width: 80%; width: calc(100% - 2rem);
padding: 0 10%; padding: 1rem;
height: 24rem; height: 24rem;
} }
#title{ #title{