背景图片铺满整个盒子大小 uniapp-H5 .wrapper { background: url(/static/sorry.png) no-repeat center center; background-size: 100%; width: 100vw; height: 100vh; background-attachment: fixed; }