From b1ee986edd5ea1c55186b795bf4b54215e4e9331 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期五, 25 四月 2025 11:09:07 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- src/books/aurturingAndEducationAged0to3/view/components/index.vue | 55 ++++++++++++++++++++++--------------------------------- 1 files changed, 22 insertions(+), 33 deletions(-) diff --git a/src/books/aurturingAndEducationAged0to3/view/components/index.vue b/src/books/aurturingAndEducationAged0to3/view/components/index.vue index 43bb60e..a097722 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,18 @@ 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 Vue from "vue"; 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 +57,7 @@ name: "pageContent", data() { return { - catalogLength: 1, // 鎬荤珷鑺傛暟 + catalogLength: 6, // 鎬荤珷鑺傛暟 showCatalogList: [], // 鏄剧ず鐨勭珷鑺� loadThreshold: 300, // 瑙﹀彂鍔犺浇闃堝�� throttleThreshold: 100, // 鑺傛祦闃堝�� @@ -86,7 +79,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 +184,8 @@ }, 500); // 娴嬭瘯椤甸潰璺宠浆 - setTimeout(() => { - this.gotoPage(2, 10); + // setTimeout(() => { + // this.gotoPage(1, 1); // setTimeout(() => { // this.renderSign("Highlight", { // id: "2ACA9359", @@ -206,7 +199,7 @@ // ids: ["2ACA9359"] // }); // }, 2000); - }, 500); + // }, 500); // const pageDom = (this.container ? this.container : document) // .querySelector("#app") @@ -744,13 +737,11 @@ // 鎵�鏈夌珷鑺傜粍浠讹紙姣忔湰涔﹀埗浣滄椂鍗曠嫭閰嶇疆锛� const pageData = { pageHeader, - // chapterOne, - // chapterTwo, - // chapterThree, - // chapterFour, - // chapterFive, - // chapterSix, - // chapterSeven + chapterOne, + chapterTwo, + chapterThree, + chapterFour, + chapterFive, }; // 閬嶅巻鎵�鏈夌珷鑺傛枃浠� for (const key in pageData) { @@ -974,13 +965,11 @@ }, components: { pageHeader, - // chapterOne, - // chapterTwo, - // chapterThree, - // chapterFour, - // chapterFive, - // chapterSix, - // chapterSeven + chapterOne, + chapterTwo, + chapterThree, + chapterFour, + chapterFive, }, }; </script> -- Gitblit v1.9.1