闫增涛
2024-06-07 81ffd0cf79a784e91f5bb64e41b5629a93d867fe
src/books/sportsAndHealth/index.vue
@@ -17,22 +17,26 @@
        v-if="showCatalogList.indexOf(2) > -1"
        :showPageList="loadPageList"
        :questionData="questionData"
        :isSearch="isSearch"
      />
      <ChapterTwo
        v-if="showCatalogList.indexOf(3) > -1"
        :showPageList="loadPageList"
        :questionData="questionData"
        @eventPublic="swdtChange"
        :isSearch="isSearch"
      />
      <ChapterThree
        v-if="showCatalogList.indexOf(4) > -1"
        :showPageList="loadPageList"
        :questionData="questionData"
        :isSearch="isSearch"
      />
      <ChapterFour
        v-if="showCatalogList.indexOf(5) > -1"
        :showPageList="loadPageList"
        :questionData="questionData"
        :isSearch="isSearch"
      />
      <!-- <ChapterFive
        v-if="showCatalogList.indexOf(6) > -1"
@@ -144,6 +148,7 @@
      loadPageList: [],
      questionData: {},
      renderSignMap: {},
      isSearch: false,
    };
  },
  computed: {
@@ -189,7 +194,7 @@
  },
  mounted() {
    // 默认加载章节
    this.showCatalogList = [5];
    this.showCatalogList = [1];
    // 滚动监听节流
    this.throttledScrollHandler = _.throttle(
      this.scrollFun,