| | |
| | | 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' |
| | | VUE_APP_BOOK_LIST = "childHealth/lifeCare/sportsAndHealth/embedded/english/artAndDance/artAndDrama/mathBook/botany/civilAviation" |
| | | VUE_APP_BOOK_ID = 'civilAviation' |
| | |
| | | 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( |
| | |
| | | <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> |
| | |
| | | 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) { |
| | |
| | | margin-bottom: 0.2em !important; |
| | | text-indent: 2em; |
| | | line-height: 30px; |
| | | font-size: 18px; |
| | | // font-size: 18px; |
| | | text-align: justify; |
| | | } |
| | | |
| | |
| | | scrollFun(event) { |
| | | this.handleVideoPicture() |
| | | // 判断向上滚动还是向下滚动 |
| | | console.log(11); |
| | | |
| | | if (event.target.scrollTop > this.previousScrollTop) { |
| | | this.getAduio(); |
| | | // 向下 |
| | |
| | | <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> |