From a708abec873464a8ed23a48a6c7711b2675f5614 Mon Sep 17 00:00:00 2001 From: jiangx Date: Fri, 5 Jan 2024 15:28:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=9A=80=20=E9=97=B4=E9=9A=945?= =?UTF-8?q?=E5=88=86=E9=92=9F=E5=88=B7=E6=96=B0=E4=B8=80=E6=AC=A1=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 36 +++++++++++++++++----- src/components/ScrollList/ScrollList.vue | 39 +++++------------------- src/composables/useAutoBack.ts | 33 -------------------- 3 files changed, 36 insertions(+), 72 deletions(-) delete mode 100644 src/composables/useAutoBack.ts diff --git a/src/App.vue b/src/App.vue index 0d0f941..c8162f8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,28 +1,48 @@ diff --git a/src/components/ScrollList/ScrollList.vue b/src/components/ScrollList/ScrollList.vue index 9f1b6e6..736e783 100644 --- a/src/components/ScrollList/ScrollList.vue +++ b/src/components/ScrollList/ScrollList.vue @@ -5,6 +5,9 @@ v-if="chunkList.length" rewind :autoplay="chunkList.length > 1 ? { delay: 15000 } : false" + observer + observe-parents + observe-slide-children :modules="modules" style="height: 879px" @swiper="swiperInit" @@ -25,10 +28,7 @@