body{
background: url(/static/images/yingdi.png) no-repeat;
background-attachment: fixed;
background-size:cover;
background-position: 50% 0px;
}
在手机uc和edge里面图片会缩小,图片宽带为屏幕宽度,高为等比缩小的高度,下面为空白。
但是在小米自带浏览器中会占满屏幕