breakpoints: {
320: { //当屏幕宽度大于等于320
slidesPerView: 2,
slidesPerGroup: 2,
spaceBetween: 50
},
1000: { //当屏幕宽度大于等于768
slidesPerView: 3,
slidesPerGroup: 3,
spaceBetween: 60
},
1280: { //当屏幕宽度大于等于1280
slidesPerView: 4,
slidesPerGroup: 4,
spaceBetween: 45
}
},
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
暂无评论内容