From c20313290a710302ba68c3af2e8aa9ab162ad00b Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期三, 05 三月 2025 16:09:41 +0800 Subject: [PATCH] 0~3岁婴幼儿抚育与教育分页完成 --- src/books/aurturingAndEducationAged0to3/view/components/index.vue | 46 +++++++++++++++++----------------------------- 1 files changed, 17 insertions(+), 29 deletions(-) diff --git a/src/books/aurturingAndEducationAged0to3/view/components/index.vue b/src/books/aurturingAndEducationAged0to3/view/components/index.vue index 81c6515..3dd01c6 100644 --- a/src/books/aurturingAndEducationAged0to3/view/components/index.vue +++ b/src/books/aurturingAndEducationAged0to3/view/components/index.vue @@ -19,7 +19,7 @@ v-if="showCatalogList.indexOf(2) > -1" :showPageList="loadPageList" ></chapterOne> - <!-- <chapterTwo + <chapterTwo v-if="showCatalogList.indexOf(3) > -1" :showPageList="loadPageList" ></chapterTwo> @@ -35,12 +35,6 @@ 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> --> </div> </div> </template> @@ -48,12 +42,10 @@ <script> import pageHeader from "./header.vue"; 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 chapterSix from "./chapter006.vue"; -// import chapterSeven from "./chapter007.vue"; + import chapterTwo from "./chapter002.vue"; + import chapterThree from "./chapter003.vue"; + import chapterFour from "./chapter004.vue"; + import chapterFive from "./chapter005.vue"; import NoteIcon from "@/assets/images/biji.png"; import _ from "lodash"; import Swiper from "swiper/bundle"; @@ -64,7 +56,7 @@ name: "pageContent", data() { return { - catalogLength: 2, // 鎬荤珷鑺傛暟 + catalogLength: 6, // 鎬荤珷鑺傛暟 showCatalogList: [], // 鏄剧ず鐨勭珷鑺� loadThreshold: 300, // 瑙﹀彂鍔犺浇闃堝�� throttleThreshold: 100, // 鑺傛祦闃堝�� @@ -191,8 +183,8 @@ }, 500); // 娴嬭瘯椤甸潰璺宠浆 - setTimeout(() => { - this.gotoPage(1, 1); + // setTimeout(() => { + // this.gotoPage(6, 253); // setTimeout(() => { // this.renderSign("Highlight", { // id: "2ACA9359", @@ -206,7 +198,7 @@ // ids: ["2ACA9359"] // }); // }, 2000); - }, 500); + // }, 500); // const pageDom = (this.container ? this.container : document) // .querySelector("#app") @@ -745,12 +737,10 @@ const pageData = { pageHeader, chapterOne, - // chapterTwo, - // chapterThree, - // chapterFour, - // chapterFive, - // chapterSix, - // chapterSeven + chapterTwo, + chapterThree, + chapterFour, + chapterFive, }; // 閬嶅巻鎵�鏈夌珷鑺傛枃浠� for (const key in pageData) { @@ -975,12 +965,10 @@ components: { pageHeader, chapterOne, - // chapterTwo, - // chapterThree, - // chapterFour, - // chapterFive, - // chapterSix, - // chapterSeven + chapterTwo, + chapterThree, + chapterFour, + chapterFive, }, }; </script> -- Gitblit v1.9.1