zhongshujie
2025-01-02 89bc2a06d2112b276c9417e19f3b37e3808cff78
src/books/meetingPlanners/view/components/index.vue
@@ -10,8 +10,8 @@
    }">
      <pageHeader v-if="showCatalogList.indexOf(1) > -1" :showPageList="loadPageList" ></pageHeader>
      <chapterOne v-if="showCatalogList.indexOf(2) > -1" :showPageList="loadPageList" :interfaceQuestion="questionDataMap"></chapterOne>
      <chapterTwo v-if="showCatalogList.indexOf(3) > -1" :showPageList="loadPageList"></chapterTwo>
      <chapterThree  v-if="showCatalogList.indexOf(4) > -1" :showPageList="loadPageList"></chapterThree>
      <chapterTwo v-if="showCatalogList.indexOf(3) > -1" :showPageList="loadPageList" :interfaceQuestion="questionDataMap"></chapterTwo>
      <chapterThree  v-if="showCatalogList.indexOf(4) > -1" :showPageList="loadPageList" :interfaceQuestion="questionDataMap"></chapterThree>
    </div>
  </div>
</template>
@@ -102,7 +102,6 @@
    // 默认加载章节
    this.showCatalogList = [1];
    // 滚动监听节流
    debugger
    this.throttledScrollHandler = _.throttle(
      this.scrollFun,
      this.throttleThreshold,
@@ -158,7 +157,7 @@
    //测试页面跳转
    setTimeout(() => {
      this.gotoPage(2, 84);
      this.gotoPage(3, 249);
      //   setTimeout(() => {
      //     this.renderSign("Highlight", {
      //       id: "2ACA9359",
@@ -218,7 +217,6 @@
        ) {
          console.log(1);
          debugger
          // 到达阈值
          if (
            this.showCatalogList[this.showCatalogList.length - 1] <
@@ -532,7 +530,7 @@
      });
    },
    loadPageCallback(entries, observer) {
      console.log(entries,1234);
      // console.log(entries,1234);
      entries.forEach(async (entry) => {
        if (entry.isIntersecting) {
          const target = entry.target;