From ba32a9384afe96a4ff14cee319c827c73ce9f6a2 Mon Sep 17 00:00:00 2001 From: litian <2804272236@qq.com> Date: 星期五, 07 三月 2025 10:09:48 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- src/books/aurturingAndEducationAged0to3/view/components/index.vue | 54 +++++++++++++++++++++--------------------------------- 1 files changed, 21 insertions(+), 33 deletions(-) diff --git a/src/books/aurturingAndEducationAged0to3/view/components/index.vue b/src/books/aurturingAndEducationAged0to3/view/components/index.vue index 43bb60e..3dd01c6 100644 --- a/src/books/aurturingAndEducationAged0to3/view/components/index.vue +++ b/src/books/aurturingAndEducationAged0to3/view/components/index.vue @@ -15,7 +15,7 @@ v-if="showCatalogList.indexOf(1) > -1" :showPageList="loadPageList" ></pageHeader> - <!-- <chapterOne + <chapterOne v-if="showCatalogList.indexOf(2) > -1" :showPageList="loadPageList" ></chapterOne> @@ -35,25 +35,17 @@ 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> <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 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 NoteIcon from "@/assets/images/biji.png"; import _ from "lodash"; import Swiper from "swiper/bundle"; @@ -64,7 +56,7 @@ name: "pageContent", data() { return { - catalogLength: 1, // 鎬荤珷鑺傛暟 + catalogLength: 6, // 鎬荤珷鑺傛暟 showCatalogList: [], // 鏄剧ず鐨勭珷鑺� loadThreshold: 300, // 瑙﹀彂鍔犺浇闃堝�� throttleThreshold: 100, // 鑺傛祦闃堝�� @@ -86,7 +78,7 @@ this.transformDom(this.$store.state.qiankun.fontSize); return this.$store.state.qiankun.fontSize ? this.$store.state.qiankun.fontSize - : 14; + : 18; }, pageZoom() { return this.$store.state.qiankun.scale @@ -191,8 +183,8 @@ }, 500); // 娴嬭瘯椤甸潰璺宠浆 - setTimeout(() => { - this.gotoPage(2, 10); + // 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") @@ -744,13 +736,11 @@ // 鎵�鏈夌珷鑺傜粍浠讹紙姣忔湰涔﹀埗浣滄椂鍗曠嫭閰嶇疆锛� const pageData = { pageHeader, - // chapterOne, - // chapterTwo, - // chapterThree, - // chapterFour, - // chapterFive, - // chapterSix, - // chapterSeven + chapterOne, + chapterTwo, + chapterThree, + chapterFour, + chapterFive, }; // 閬嶅巻鎵�鏈夌珷鑺傛枃浠� for (const key in pageData) { @@ -974,13 +964,11 @@ }, components: { pageHeader, - // chapterOne, - // chapterTwo, - // chapterThree, - // chapterFour, - // chapterFive, - // chapterSix, - // chapterSeven + chapterOne, + chapterTwo, + chapterThree, + chapterFour, + chapterFive, }, }; </script> -- Gitblit v1.9.1