Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
vender
/
P0006
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
0
Wiki
Atividade
Ver código fonte
fix footer
master
meixinbin
2 anos atrás
pai
84cbb049da
commit
4180650766
1 arquivos alterados
com
22 adições
e
1 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+22
-1
src/view/main/main.vue
+ 22
- 1
src/view/main/main.vue
Ver arquivo
@@ -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)"
@@ -231,4 +231,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>
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar