From 0f4d0f26c8e1be4a4c520240acde777457d9d812 Mon Sep 17 00:00:00 2001 From: litian <2804272236@qq.com> Date: 星期四, 13 二月 2025 18:08:55 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- src/books/toddlerGameImplementation/view/components/index.vue | 50 +++++++++++++++++++++++++++++++------------------- 1 files changed, 31 insertions(+), 19 deletions(-) diff --git a/src/books/toddlerGameImplementation/view/components/index.vue b/src/books/toddlerGameImplementation/view/components/index.vue index c4d9ea0..02dc400 100644 --- a/src/books/toddlerGameImplementation/view/components/index.vue +++ b/src/books/toddlerGameImplementation/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> @@ -27,14 +27,20 @@ v-if="showCatalogList.indexOf(4) > -1" :showPageList="loadPageList" ></chapterThree> - <chapterfour + <chapterFour v-if="showCatalogList.indexOf(5) > -1" :showPageList="loadPageList" - ></chapterfour> - <chapterfive + ></chapterFour> + <chapterFive v-if="showCatalogList.indexOf(6) > -1" :showPageList="loadPageList" - ></chapterfive> --> + ></chapterFive> + <chapterSix v-if="showCatalogList.indexOf(7) > -1" + :showPageList="loadPageList" > + </chapterSix> + <chapterSeven v-if="showCatalogList.indexOf(8) > -1" + :showPageList="loadPageList" > + </chapterSeven> </div> </div> </template> @@ -42,10 +48,12 @@ <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 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 NoteIcon from "@/assets/images/biji.png"; import _ from "lodash"; import Swiper from "swiper/bundle"; @@ -56,7 +64,7 @@ name: "pageContent", data() { return { - catalogLength: 2, // 鎬荤珷鑺傛暟 + catalogLength: 8, // 鎬荤珷鑺傛暟 showCatalogList: [], // 鏄剧ず鐨勭珷鑺� loadThreshold: 300, // 瑙﹀彂鍔犺浇闃堝�� throttleThreshold: 100, // 鑺傛祦闃堝�� @@ -184,7 +192,7 @@ // 娴嬭瘯椤甸潰璺宠浆 setTimeout(() => { - this.gotoPage(2, 9); + this.gotoPage(2, 10); // setTimeout(() => { // this.renderSign("Highlight", { // id: "2ACA9359", @@ -737,10 +745,12 @@ const pageData = { pageHeader, chapterOne, - // chapterTwo, - // chapterThree, - // chapterfour, - // chapterfive, + chapterTwo, + chapterThree, + chapterFour, + chapterFive, + chapterSix, + chapterSeven }; // 閬嶅巻鎵�鏈夌珷鑺傛枃浠� for (const key in pageData) { @@ -965,10 +975,12 @@ components: { pageHeader, chapterOne, - // chapterTwo, - // chapterThree, - // chapterfour, - // chapterfive, + chapterTwo, + chapterThree, + chapterFour, + chapterFive, + chapterSix, + chapterSeven }, }; </script> -- Gitblit v1.9.1