窗体页面背景色全屏(平铺的样式) body {background:url(bg.jpg) top center no-repeat; background-size:cover;} 这样的话一张背景图片就可以平铺整个屏幕