From fe52c75b42ef2815dc5c66e964c2b388ed09d097 Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期五, 25 四月 2025 11:28:21 +0800 Subject: [PATCH] 环境变量修改 --- src/books/toddlerGameImplementation/view/components/index.vue | 81 +++++++++++++++++++++++----------------- 1 files changed, 47 insertions(+), 34 deletions(-) diff --git a/src/books/toddlerGameImplementation/view/components/index.vue b/src/books/toddlerGameImplementation/view/components/index.vue index c4d9ea0..23268f6 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,25 +27,34 @@ 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> <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 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 +65,7 @@ name: "pageContent", data() { return { - catalogLength: 2, // 鎬荤珷鑺傛暟 + catalogLength: 8, // 鎬荤珷鑺傛暟 showCatalogList: [], // 鏄剧ず鐨勭珷鑺� loadThreshold: 300, // 瑙﹀彂鍔犺浇闃堝�� throttleThreshold: 100, // 鑺傛祦闃堝�� @@ -183,22 +192,22 @@ }, 500); // 娴嬭瘯椤甸潰璺宠浆 - setTimeout(() => { - this.gotoPage(2, 9); - // setTimeout(() => { - // this.renderSign("Highlight", { - // id: "2ACA9359", - // txt: "棰樹竴瀛︿範涓婚涓� 杩愬姩", - // page: "10", - // type: "Highlight", - // color: "#F5E12A" - // }); - // setTimeout(() => { - // this.delSign({ - // ids: ["2ACA9359"] - // }); - // }, 2000); - }, 500); + // setTimeout(() => { + // this.gotoPage(1, 5); + // // setTimeout(() => { + // // this.renderSign("Highlight", { + // // id: "2ACA9359", + // // txt: "棰樹竴瀛︿範涓婚涓� 杩愬姩", + // // page: "10", + // // type: "Highlight", + // // color: "#F5E12A" + // // }); + // // setTimeout(() => { + // // this.delSign({ + // // ids: ["2ACA9359"] + // // }); + // // }, 2000); + // }, 500); // const pageDom = (this.container ? this.container : document) // .querySelector("#app") @@ -737,10 +746,12 @@ const pageData = { pageHeader, chapterOne, - // chapterTwo, - // chapterThree, - // chapterfour, - // chapterfive, + chapterTwo, + chapterThree, + chapterFour, + chapterFive, + chapterSix, + chapterSeven }; // 閬嶅巻鎵�鏈夌珷鑺傛枃浠� for (const key in pageData) { @@ -965,10 +976,12 @@ components: { pageHeader, chapterOne, - // chapterTwo, - // chapterThree, - // chapterfour, - // chapterfive, + chapterTwo, + chapterThree, + chapterFour, + chapterFive, + chapterSix, + chapterSeven }, }; </script> -- Gitblit v1.9.1