2 커밋

작성자 SHA1 메시지 날짜
  meixinbin f3514210a7 Merge remote-tracking branch 'origin/master' 2 년 전
  meixinbin 4180650766 fix footer 2 년 전
1개의 변경된 파일22개의 추가작업 그리고 1개의 파일을 삭제
분할 보기
  1. +22
    -1
      src/view/main/main.vue

+ 22
- 1
src/view/main/main.vue 파일 보기

@@ -21,7 +21,7 @@
</el-menu>
</el-header>
<router-view/>
<el-footer style="height: 100px" class="linear">
<el-footer style="height: 100px;flex: 0 0 auto;width: 100%" class="linear">
<div class="footer">
<div class="footer-bar">
<span @click="clickItem(index)"
@@ -236,4 +236,25 @@ export default {
align-items: center;
justify-content: center;
}
html{
height:100%;
}
body{
min-height:100%;
margin:0;
padding:0;
position:relative;
}
.el-container{
display: flex;
flex-direction: column;
height: 100%;
}

main{
flex: 1 0 auto;
}
footer{
flex:0 0 auto;
}
</style>

불러오는 중...
취소
저장