zhongshujie
12 小时以前 30d147c4c92dbfd5ca1b2f8c24a617dc82d2d25b
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',
      }">
@@ -20,6 +20,7 @@
  </template>
  
  <script>
  import Vue from "vue";
  import pageHeader from "./header.vue";
  // import chapterOne from "./chapterr001.vue";
//   import chapterTwo from "./chapter002.vue";
@@ -657,7 +658,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, // 间隔