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爲已經使用了的高度