From db59774d5092635a0f4713312e1c0a3ad1c10c30 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期四, 23 一月 2025 15:45:38 +0800 Subject: [PATCH] 1 --- src/books/botany/view/components/index.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/books/botany/view/components/index.vue b/src/books/botany/view/components/index.vue index 158e650..7b42115 100644 --- a/src/books/botany/view/components/index.vue +++ b/src/books/botany/view/components/index.vue @@ -1,7 +1,7 @@ <template> <div class="page-main" @scroll="throttledScrollHandler"> <div class="page-content" :style="{ - fontSize: fontSize ? fontSize + 'px' : '16px', + fontSize: fontSize ? fontSize + 'px' : '18px', transform: `scale(${pageZoom ? pageZoom : 1})`, transformOrigin: 'center top', }"> @@ -657,7 +657,10 @@ const dom = pptDoms[i]; new Swiper(dom, { loop: false, // 鏃犵紳 - autoplay: false, + autoplay: { + delay: 3000, // 璁剧疆鑷姩鎾斁鐨勯棿闅旀椂闂翠负3000姣锛�3绉掞級 + disableOnInteraction: false, // 鐢ㄦ埛鎿嶄綔鍚庝笉绂佺敤鑷姩鎾斁 + }, paginationClickable: true, slidesPerView: 1, // 涓�缁勪笁涓� spaceBetween: 30, // 闂撮殧 -- Gitblit v1.9.1