默认样式: flex:1;(实则表示:flex-grow:1;flex-shrink:1;flex-basis:0%;) height:100%; 优化之后的样式: flex:0 1 auto; height:auto;