zhongshujie
2024-12-27 f95d8436affff7d9c48281be520b2c5f271ac879
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,7 @@
    // 默认加载章节
    this.showCatalogList = [1];
    // 滚动监听节流
    debugger
    // debugger
    this.throttledScrollHandler = _.throttle(
      this.scrollFun,
      this.throttleThreshold,
@@ -158,7 +158,7 @@
    //测试页面跳转
    setTimeout(() => {
      this.gotoPage(2, 35);
      this.gotoPage(3, 134);
      //   setTimeout(() => {
      //     this.renderSign("Highlight", {
      //       id: "2ACA9359",
@@ -218,7 +218,7 @@
        ) {
          console.log(1);
          debugger
          // debugger
          // 到达阈值
          if (
            this.showCatalogList[this.showCatalogList.length - 1] <
@@ -532,7 +532,7 @@
      });
    },
    loadPageCallback(entries, observer) {
      console.log(entries,1234);
      // console.log(entries,1234);
      entries.forEach(async (entry) => {
        if (entry.isIntersecting) {
          const target = entry.target;