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/OralAndBroadcasting/view/components/index.vue | 83 +++++++++++++++++++---------------------- 1 files changed, 38 insertions(+), 45 deletions(-) diff --git a/src/books/OralAndBroadcasting/view/components/index.vue b/src/books/OralAndBroadcasting/view/components/index.vue index 0ca0536..61af7b9 100644 --- a/src/books/OralAndBroadcasting/view/components/index.vue +++ b/src/books/OralAndBroadcasting/view/components/index.vue @@ -19,13 +19,38 @@ v-if="showCatalogList.indexOf(2) > -1" :showPageList="loadPageList" ></chapter001> + <chapter002 + v-if="showCatalogList.indexOf(3) > -1" + :showPageList="loadPageList" + ></chapter002> + <chapter003 + v-if="showCatalogList.indexOf(4) > -1" + :showPageList="loadPageList" + ></chapter003> + <chapter004 + v-if="showCatalogList.indexOf(5) > -1" + :showPageList="loadPageList" + ></chapter004> + <chapter005 + v-if="showCatalogList.indexOf(5) > -1" + :showPageList="loadPageList" + > + </chapter005> </div> + <miniAudio :path="audioPath" :currentTime="currentTime" @closeMiniAudio="closeMiniAudio" ref="audioPlayer"> + </miniAudio> </div> </template> <script> +import Vue from "vue"; +import miniAudio from "@/components/miniAudio/index.vue"; import pageHeader from "./header.vue"; import chapter001 from "./chapter001.vue"; +import chapter002 from "./chapter002.vue"; +import chapter003 from "./chapter003.vue"; +import chapter004 from "./chapter004.vue"; +import chapter005 from "./chapter005.vue"; import NoteIcon from "@/assets/images/biji.png"; import _ from "lodash"; import Swiper from "swiper/bundle"; @@ -36,7 +61,7 @@ name: "pageContent", data() { return { - catalogLength: 2, // 鎬荤珷鑺傛暟 + catalogLength: 5, // 鎬荤珷鑺傛暟 showCatalogList: [], // 鏄剧ず鐨勭珷鑺� loadThreshold: 300, // 瑙﹀彂鍔犺浇闃堝�� throttleThreshold: 100, // 鑺傛祦闃堝�� @@ -164,51 +189,10 @@ // 娴嬭瘯椤甸潰璺宠浆 // setTimeout(() => { - // this.gotoPage(2, 23); - // 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") - // .querySelectorAll(".page-box"); - // 妫�绱� - // console.log(this.searchTextByPage("淇濇姢鍐呰剰鍣ㄥ畼"), "searchTextByPage"); - // 妫�绱㈣烦杞� - // this.searchItemLocation({ - // catalog: 2, - // page: 10, - // txt: " 杩愬姩绯荤粺鏄敱楠ㄣ�侀杩炵粨鍜岄楠艰倢涓夐儴鍒嗙粍鎴愮殑銆傚叏韬殑楠ㄩ�氳繃楠ㄨ繛缁撶粍鎴愪汉浣撻楠硷紙瑙佸浘1-1锛夈�傞楠兼槸浜轰綋鐨勬敮鏋讹紝鍏锋湁淇濇姢鍐呰剰鍣ㄥ畼銆佷緵鑲岃倝闄勭潃鍜屼綔涓鸿倢鑲夎繍鍔ㄧ殑鏉犳潌绛変綔鐢ㄣ�傚湪绁炵粡绯荤粺鐨勬敮閰嶄笅锛岃倢鑲夋敹缂╃壍鍔ㄦ墍闄勭潃鐨勯缁曠潃鍏宠妭杞姩锛屼娇韬綋浜х敓鍚勭鍔ㄤ綔銆傛墍浠ワ紝杩愬姩绯荤粺鍏锋湁杩愬姩銆佹敮鎸佸拰淇濇姢绛夊姛鑳斤紝骞煎勾鏃舵湡鐨勯楠艰繕鍏锋湁閫犺鍔熻兘銆� ", - // txtIndex: 57 - // }); + // this.gotoPage(5, 161); // }, 500); }, methods: { - // setZoom1() { - // let scale = this.$store.state.qiankun.scale + 10; - // const scrollBox = ( - // this.container ? this.container : document - // ).querySelector(".page-main"); - // this.$store.commit("setZoom", scale); - // }, - // setZoom2() { - // let scale = this.$store.state.qiankun.scale - 10; - // const scrollBox = ( - // this.container ? this.container : document - // ).querySelector(".page-main"); - // this.$store.commit("setZoom", scale); - // }, // 婊氬姩鐩戝惉 scrollFun(event) { this.handleVideoPicture(); @@ -716,7 +700,11 @@ // 鎵�鏈夌珷鑺傜粍浠讹紙姣忔湰涔﹀埗浣滄椂鍗曠嫭閰嶇疆锛� const pageData = { pageHeader, - chapter001 + chapter001, + chapter002, + chapter003, + chapter004, + chapter005, }; // 閬嶅巻鎵�鏈夌珷鑺傛枃浠� for (const key in pageData) { @@ -940,7 +928,12 @@ }, components: { pageHeader, - chapter001 + chapter001, + chapter002, + chapter003, + chapter004, + chapter005, + miniAudio }, }; </script> -- Gitblit v1.9.1