div固定大小,然后让内容超出滚动
使用:overflow: scroll
<div
style="background: white;float: right;width: 100%;height:100%;margin-top: 0px;margin-left: 0px;overflow: scroll">
<router-view
style="background: white;float: right;width: 100%;height:auto;"/>
</div>
div铺满剩余高度
尝试使用指定高度:height: calc(100% - 100px) 100px为已经使用了的高度