1.高度 100%

1
height: 100vh;

2.隐藏整个网页滚动条

1
<html style="overflow-y:hidden"></html>