0

这是js代码

if(slider2){
    new Glide(slider2, {
        type:'carousel',
        startAt: 0,
        hoverpause:true,
        preview: 4,
        animationDuration: 800,
        animationTimingFunc: 'cubic-bezier(0.165, 0.840, 0.44, 0.1)',
        breakpoints:{
            1200:{
                preview: 3,
            },
            768:{
                preview: 2,
            },
        },
    }).mount();
}
4

0 回答 0