虽然body设置高度,但是背景色还是会铺满整个屏幕! 查到了但懒得写了。。。。 嘿嘿: https://blog.csdn.net/weixin_44430893/article/details/115074758.