.my-shixun{ height: 100%; display: flex; flex-direction: column; } .shixun-wrap{ margin: 2px 0; } .body{ flex:1 1 1px; height: 1px; }