问题描述
您好,我正在Shopify网站上工作。以DEbut主题。我在“相关产品”部分中创建了一个“平滑”滑块。
我面临的问题是,当第二张幻灯片出现时,图像和内容就会跳动。
这是我的网站链接:https://inkacorps.myshopify.com/collections/baby-kids-children/products/carseat
pw:闪耀
if ( jQuery(window).width() >= 1200) {
jQuery('.collection-slider').slick({
infinite: true,slidesToShow: 5,slidesToScroll: 1,infinite: true,focusOnSelect: false,centerPadding: '0px',dots: false,draggable: true,autoplay:false,autoplaySpeed:2500,prevArrow: '.thumbnails-slider__prev--recommendation',nextArrow: '.thumbnails-slider__next--recommendation'
});
} else if (jQuery(window).width() >= 600) {
jQuery('.collection-slider').slick({
infinite: true,slidesToShow: 2,infinite: false,focusOnSelect: true,autoplay:true,autoplaySpeed:1500,nextArrow: '.thumbnails-slider__next--recommendation'
});
} else {
jQuery('.collection-slider').slick({
infinite: true,slidesToShow: 1,nextArrow: '.thumbnails-slider__next--recommendation'
});
}
如果我做错了事,请告诉我。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)