zhongshujie
1 天以前 dbe633cefd288df06fc6d4b49a717800e9dceda7
src/books/toddlerSportsSafetyProtection/view/components/index.vue
@@ -16,10 +16,10 @@
        :showPageList="loadPageList"
      ></pageHeader>
      <!-- <chapterOne
          v-if="showCatalogList.indexOf(2) > -1"
          :showPageList="loadPageList"
        ></chapterOne> -->
        <!-- <chapterTwo
        v-if="showCatalogList.indexOf(2) > -1"
        :showPageList="loadPageList"
      ></chapterOne> -->
      <!-- <chapterTwo
          v-if="showCatalogList.indexOf(3) > -1"
          :showPageList="loadPageList"
        ></chapterTwo>
@@ -30,11 +30,11 @@
        <chapterFour
          v-if="showCatalogList.indexOf(5) > -1"
          :showPageList="loadPageList"
        ></chapterFour>
        ></chapterFour>-->
        <chapterFive
          v-if="showCatalogList.indexOf(6) > -1"
          v-if="showCatalogList.indexOf(2) > -1"
          :showPageList="loadPageList"
        ></chapterFive> -->
        ></chapterFive>
    </div>
  </div>
</template>
@@ -45,7 +45,7 @@
//   import chapterTwo from "./chapter002.vue";
//   import chapterThree from "./chapter003.vue";
//   import chapterFour from "./chapter004.vue";
//   import chapterFive from "./chapter005.vue";
import chapterFive from "./chapter005.vue";
import NoteIcon from "@/assets/images/biji.png";
import _ from "lodash";
import Swiper from "swiper/bundle";
@@ -56,7 +56,7 @@
  name: "pageContent",
  data() {
    return {
      catalogLength: 1, // 总章节数
      catalogLength: 2, // 总章节数
      showCatalogList: [], // 显示的章节
      loadThreshold: 300, // 触发加载阈值
      throttleThreshold: 100, // 节流阈值
@@ -184,20 +184,20 @@
    // 测试页面跳转
    setTimeout(() => {
      this.gotoPage(1, 1);
    //   setTimeout(() => {
    //     this.renderSign("Highlight", {
    //       id: "2ACA9359",
    //       txt: "题一学习主题一 运动",
    //       page: "10",
    //       type: "Highlight",
    //       color: "#F5E12A"
    //     });
    // setTimeout(() => {
    //   this.delSign({
    //     ids: ["2ACA9359"]
    //   });
    // }, 2000);
      this.gotoPage(2, 175);
      //   setTimeout(() => {
      //     this.renderSign("Highlight", {
      //       id: "2ACA9359",
      //       txt: "题一学习主题一 运动",
      //       page: "10",
      //       type: "Highlight",
      //       color: "#F5E12A"
      //     });
      // setTimeout(() => {
      //   this.delSign({
      //     ids: ["2ACA9359"]
      //   });
      // }, 2000);
    }, 500);
    // const pageDom = (this.container ? this.container : document)
@@ -740,7 +740,7 @@
        //   chapterTwo,
        //   chapterThree,
        //   chapterFour,
        //   chapterFive,
        chapterFive,
      };
      // 遍历所有章节文件
      for (const key in pageData) {
@@ -968,7 +968,7 @@
    //   chapterTwo,
    //   chapterThree,
    //   chapterFour,
    //   chapterFive,
    chapterFive,
  },
};
</script>