__.container是需要背景虚化的内容板块,使用::before来定位设置 __
.container {
height: 100%;
position: relative;
/* 可根据需要选择其他值 */
padding-top: 260rpx;
z-index: 0;
}
.container::before {
content: '';
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
width: 100%;
height: 100%;
filter: blur(35px);
background-image: url(../../static/imageOne/bg_home.png);
background-size: 105% 100%;
background-repeat: no-repeat;
background-position: center 0;
z-index: -1;
}