unknown
2024-05-30 4a005e0d39e74f0175d67d0d6f06ae438f3a6c50
src/books/lifeCare/index.vue
@@ -122,6 +122,10 @@
import _ from "lodash";
import getQuestionList from "@/assets/methods/examination";
import testData from "./js/examinationList";
import Swiper from "swiper/bundle";
import "swiper/swiper-bundle.css";
import Viewer from "viewerjs";
import "viewerjs/dist/viewer.css";
export default {
  data() {
    return {
@@ -182,7 +186,7 @@
  },
  mounted() {
    // 默认加载章节
    this.showCatalogList = [1];
    this.showCatalogList = [4];
    // 滚动监听节流
    this.throttledScrollHandler = _.throttle(
      this.scrollFun,
@@ -635,11 +639,11 @@
          // 窗口变化,重新init,针对F11全屏和放大缩小,必须加
          observer: true,
          observeParents: true,
          // 如果需要分页器
          pagination: {
            el: ".swiper-pagination",
            clickable: true // 分页器可以点击
          }
          // // 如果需要分页器
          // pagination: {
          //   el: ".swiper-pagination",
          //   clickable: true // 分页器可以点击
          // }
        });
      }
    },