杨磊
2025-07-23 e97bf2c8c21eb9b89384ac4ab59b3b1d0ba781d4
src/books/preschoolGameGuidance/view/components/index.vue
@@ -18,14 +18,15 @@
        :showPageList="loadPageList"
      ></pageHeader>
      <chapterOne v-if="showCatalogList.indexOf(2) > -1" :showPageList="loadPageList"></chapterOne>
      <chapterTwo v-if="showCatalogList.indexOf(3) > -1" :showPageList="loadPageList"></chapterTwo>
      <!-- <chapterThree v-if="showCatalogList.indexOf(4) > -1" :showPageList="loadPageList"></chapterThree>
      <chapterFour v-if="showCatalogList.indexOf(5) > -1" :showPageList="loadPageList"></chapterFour>
      <chapterfive v-if="showCatalogList.indexOf(6) > -1" :showPageList="loadPageList"></chapterfive>
      <chapterSix v-if="showCatalogList.indexOf(7) > -1" :showPageList="loadPageList"></chapterSix>
      <chapterSeven v-if="showCatalogList.indexOf(8) > -1" :showPageList="loadPageList"></chapterSeven>
      <chapterEight v-if="showCatalogList.indexOf(9) > -1" :showPageList="loadPageList"></chapterEight>
      <chapterNine v-if="showCatalogList.indexOf(10) > -1" :showPageList="loadPageList"></chapterNine> -->
      <chapterTwo1 v-if="showCatalogList.indexOf(3) > -1" :showPageList="loadPageList"></chapterTwo1>
      <chapterTwo v-if="showCatalogList.indexOf(4) > -1" :showPageList="loadPageList"></chapterTwo>
      <chapterThree v-if="showCatalogList.indexOf(5) > -1" :showPageList="loadPageList"></chapterThree>
      <chapterFour v-if="showCatalogList.indexOf(6) > -1" :showPageList="loadPageList"></chapterFour>
      <chapterfive v-if="showCatalogList.indexOf(7) > -1" :showPageList="loadPageList"></chapterfive>
      <chapterSix v-if="showCatalogList.indexOf(8) > -1" :showPageList="loadPageList"></chapterSix>
      <chapterSeven v-if="showCatalogList.indexOf(9) > -1" :showPageList="loadPageList"></chapterSeven>
      <chapterEight v-if="showCatalogList.indexOf(10) > -1" :showPageList="loadPageList"></chapterEight>
      <chapterNine v-if="showCatalogList.indexOf(11) > -1" :showPageList="loadPageList"></chapterNine>
    </div>
  </div>
</template>
@@ -34,15 +35,16 @@
import Vue from "vue";
import pageHeader from "./front001";
import chapterOne from './chapter001.vue'
import chapterTwo from './chapter002.vue'
// import chapterThree from './chapter003.vue'
// import chapterFour from './chapter004.vue'
// import chapterfive from './chapter005.vue'
import chapterTwo1 from './chapter002.vue'
import chapterTwo from './chapter003.vue'
import chapterThree from './chapter004.vue'
import chapterFour from './chapter005.vue'
import chapterfive from './chapter006.vue'
// import chapterSix from './chapter006.vue'
// import chapterSeven from './chapter007.vue'
// import chapterEight from './chapter008.vue'
// import chapterNine from './chapter009.vue'
import chapterSix from './chapter007.vue'
import chapterSeven from './chapter008.vue'
import chapterEight from './chapter009.vue'
import chapterNine from './chapter010.vue'
import NoteIcon from "@/assets/images/biji.png";
import _ from "lodash";
@@ -55,7 +57,7 @@
export default {
  data() {
    return {
      catalogLength: 3, // 总章节数
      catalogLength: 11, // 总章节数
      showCatalogList: [], // 显示的章节
      loadThreshold: 300, // 触发加载阈值
      throttleThreshold: 100, // 节流阈值
@@ -173,20 +175,7 @@
    // 测试页面跳转
    setTimeout(() => {
      this.gotoPage(3, 66);
      //   setTimeout(() => {
      //     this.renderSign("Highlight", {
      //       id: "2ACA9359",
      //       txt: "题一学习主题一 运动",
      //       page: "10",
      //       type: "Highlight",
      //       color: "#F5E12A"
      //     });
      // setTimeout(() => {
      //   this.delSign({
      //     ids: ["2ACA9359"]
      //   });
      // }, 2000);
      this.gotoPage(11, 223);
    }, 500);
    // const pageDom = (this.container ? this.container : document)
@@ -197,7 +186,7 @@
    // 检索跳转
    // this.searchItemLocation({
    //   catalog: 2,
    //   page: 10,
    //   page: 10,
    //   txt: " 运动系统是由骨、骨连结和骨骼肌三部分组成的。全身的骨通过骨连结组成人体骨骼(见图1-1)。骨骼是人体的支架,具有保护内脏器官、供肌肉附着和作为肌肉运动的杠杆等作用。在神经系统的支配下,肌肉收缩牵动所附着的骨绕着关节转动,使身体产生各种动作。所以,运动系统具有运动、支持和保护等功能,幼年时期的骨骼还具有造血功能。 ",
    //   txtIndex: 57
    // });
@@ -741,13 +730,14 @@
        pageHeader,
        chapterOne,
        chapterTwo,
        // chapterThree,
        // chapterFour,
        // chapterfive,
        // chapterSix,
        // chapterSeven,
        // chapterEight,
        // chapterNine
        chapterTwo1,
        chapterThree,
        chapterFour,
        chapterfive,
        chapterSix,
        chapterSeven,
        chapterEight,
        chapterNine
        // assemblyOne,
        // assemblyTwo,
      };
@@ -879,14 +869,15 @@
  components: {
    pageHeader,
    chapterOne,
    chapterTwo1,
    chapterTwo,
    // chapterThree,
    // chapterFour,
    // chapterfive,
    // chapterSix,
    // chapterSeven,
    // chapterEight,
    // chapterNine
    chapterThree,
    chapterFour,
    chapterfive,
    chapterSix,
    chapterSeven,
    chapterEight,
    chapterNine,
    // assemblyOne,
    // assemblyTwo,
    // ChapterFour,