From db3225736aa34192d34eeea3c657b2ede54a4bd9 Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期三, 23 十月 2024 16:33:24 +0800 Subject: [PATCH] 民航服务心理 --- src/books/civilAviation/view/components/index.vue | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/books/civilAviation/view/components/index.vue b/src/books/civilAviation/view/components/index.vue index efbc8d7..c140f6c 100644 --- a/src/books/civilAviation/view/components/index.vue +++ b/src/books/civilAviation/view/components/index.vue @@ -1,5 +1,5 @@ <template> - <div class="page-main" @scroll="throttledScrollHandler"> + <div class="page-main" @scroll="throttledScrollHandler"> <div id="searchDomBox" style="display: none"> <div id="searchContent"></div> </div> @@ -46,6 +46,7 @@ }, computed: { fontSize() { + this.transformDom(this.$store.state.qiankun.fontSize) return this.$store.state.qiankun.fontSize; }, pageZoom() { @@ -209,7 +210,7 @@ event.target.scrollHeight - this.loadThreshold ) { console.log(1); - + debugger // 鍒拌揪闃堝�� if ( @@ -909,6 +910,13 @@ playVudio.requestPictureInPicture(); } } + }, + //鍏朵粬绫诲悕涓嬪瓧浣撳ぇ灏忓彉鍖� + transformDom(fs) { + const blockElement = this.$refs.blockElement; + if (blockElement) { + blockElement.style.fontSize = fs; // 鎴栬�呬綘鎯宠鐨勪换浣曞ぇ灏� + } } }, components: { -- Gitblit v1.9.1