设置头像、商品、轮播图为背景图时需要的css background-repeat: no-repeat;background-size: cover;background-position: center center;