From 349c71993acd660132f967203aca08001f2d68f4 Mon Sep 17 00:00:00 2001 From: peijunlei Date: Mon, 31 Aug 2026 16:23:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DinitSceneSwiper?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E4=B8=AD=E7=9A=84slidesPerView=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E4=B8=BA"auto"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/themes/dist_static/static/js/solution2.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/themes/dist_static/static/js/solution2.js b/public/themes/dist_static/static/js/solution2.js index b8944d6..60ae736 100644 --- a/public/themes/dist_static/static/js/solution2.js +++ b/public/themes/dist_static/static/js/solution2.js @@ -37,6 +37,7 @@ function initSceneSwiper() { const el = root?.querySelector(".sl2-scene__swiper"); if (!root || !el || !window.Swiper) return; new window.Swiper(el, { + slidesPerView: "auto", spaceBetween: 40, speed: 600, observer: true,