From 8113647226209422d377515271cc239e49c614cf Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期二, 22 十月 2024 18:20:50 +0800 Subject: [PATCH] 删除 --- .env.product | 6 +++--- src/books/civilAviation/view/components/index.vue | 2 -- src/books/English/view/index.vue | 13 +------------ src/books/civilAviation/view/index.vue | 5 +---- src/App.vue | 2 +- src/books/civilAviation/assets/main.less | 2 +- 6 files changed, 7 insertions(+), 23 deletions(-) diff --git a/.env.product b/.env.product index 65aca30..330fb39 100644 --- a/.env.product +++ b/.env.product @@ -1,8 +1,8 @@ VUE_APP_ENV = 'product' VUE_APP_API_URL = "https://jsek.bnuic.com" VUE_APP_RESOURCE_CTX = 'https://jsek.bnuic.com/books/resource/' -VUE_APP_PUBLIC_PATH = 'https://jsek.bnuic.com/books/book/mathBook' +VUE_APP_PUBLIC_PATH = 'https://jsek.bnuic.com/books/book/civilAviation' # VUE_APP_RESOURCE_CTX = 'http://182.92.203.7:3007/books/resource/' # VUE_APP_PUBLIC_PATH = 'http://182.92.203.7:3007/books/book/botany' -VUE_APP_BOOK_LIST = "childHealth/lifeCare/sportsAndHealth/embedded/english/artAndDance/artAndDrama/mathBook/botany" -VUE_APP_BOOK_ID = 'mathBook' \ No newline at end of file +VUE_APP_BOOK_LIST = "childHealth/lifeCare/sportsAndHealth/embedded/english/artAndDance/artAndDrama/mathBook/botany/civilAviation" +VUE_APP_BOOK_ID = 'civilAviation' \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 04f2ced..980e04b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -68,7 +68,7 @@ process.env.VUE_APP_RESOURCE_CTX + (process.env.VUE_APP_ENV == "product" ? process.env.VUE_APP_BOOK_ID - : "mathBook") + : "civilAviation") ); // this.activeBook = await this.config.getBookConfig( diff --git a/src/books/English/view/index.vue b/src/books/English/view/index.vue index 62ee7fa..9bd7e2b 100644 --- a/src/books/English/view/index.vue +++ b/src/books/English/view/index.vue @@ -1,8 +1,5 @@ <template> - <div class="english-book" @mouseup="handleMouseUp" :style="{ - fontSize: fontSize ? fontSize + 'px' : '16px', - transform: `scale(${pageZoom ? pageZoom : 1})`, - }"> + <div class="english-book" @mouseup="handleMouseUp"> <pageContent></pageContent> </div> </template> @@ -12,14 +9,6 @@ export default { name: "english-book", components: { pageContent }, - computed: { - fontSize() { - return this.$store.state.qiankun.fontSize; - }, - pageZoom() { - return this.$store.state.qiankun.scale / 100; - }, - }, methods: { getParentWithClass(element, className) { while (element.parentElement) { diff --git a/src/books/civilAviation/assets/main.less b/src/books/civilAviation/assets/main.less index 586d74a..8d62973 100644 --- a/src/books/civilAviation/assets/main.less +++ b/src/books/civilAviation/assets/main.less @@ -659,7 +659,7 @@ margin-bottom: 0.2em !important; text-indent: 2em; line-height: 30px; - font-size: 18px; + // font-size: 18px; text-align: justify; } diff --git a/src/books/civilAviation/view/components/index.vue b/src/books/civilAviation/view/components/index.vue index b7efa64..294406d 100644 --- a/src/books/civilAviation/view/components/index.vue +++ b/src/books/civilAviation/view/components/index.vue @@ -199,8 +199,6 @@ scrollFun(event) { this.handleVideoPicture() // 鍒ゆ柇鍚戜笂婊氬姩杩樻槸鍚戜笅婊氬姩 - console.log(11); - if (event.target.scrollTop > this.previousScrollTop) { this.getAduio(); // 鍚戜笅 diff --git a/src/books/civilAviation/view/index.vue b/src/books/civilAviation/view/index.vue index f832165..41c8b2e 100644 --- a/src/books/civilAviation/view/index.vue +++ b/src/books/civilAviation/view/index.vue @@ -1,8 +1,5 @@ <template> - <div class="civilAviation-book" @mouseup="handleMouseUp" :style="{ - fontSize: fontSize ? fontSize + 'px' : '16px', - transform: `scale(${pageZoom ? pageZoom : 1})`, - }"> + <div class="civilAviation-book" @mouseup="handleMouseUp"> <pageContent></pageContent> </div> </template> -- Gitblit v1.9.1