From b1628e77a3e0ed9b534ee0ff48bce0fc85744efd Mon Sep 17 00:00:00 2001 From: sight <1453017105@qq.com> Date: Wed, 20 Sep 2023 11:57:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=BD=AE=E6=92=AD=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=8A=A8=E7=94=BB=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/carousel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/carousel.js b/src/modules/carousel.js index e58637f7..4bfbf840 100644 --- a/src/modules/carousel.js +++ b/src/modules/carousel.js @@ -299,12 +299,12 @@ layui.define(['jquery', 'lay'], function(exports){ }, 50); } - // 移除过度类 + // 移除过渡类 setTimeout(function(){ elemItem.removeClass(THIS + ' ' + ELEM_PREV + ' ' + ELEM_NEXT + ' ' + ELEM_LEFT + ' ' + ELEM_RIGHT); elemItem.eq(options.index).addClass(THIS); that.haveSlide = false; // 解锁 - }, 300); + }, 350); // 指示器焦点 that.elemInd.find('li').eq(options.index).addClass(THIS)