闫增涛
2024-10-22 8113647226209422d377515271cc239e49c614cf
删除
6个文件已修改
30 ■■■■ 已修改文件
.env.product 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/App.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/books/English/view/index.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/books/civilAviation/assets/main.less 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/books/civilAviation/view/components/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/books/civilAviation/view/index.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.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'
VUE_APP_BOOK_LIST = "childHealth/lifeCare/sportsAndHealth/embedded/english/artAndDance/artAndDrama/mathBook/botany/civilAviation"
VUE_APP_BOOK_ID = 'civilAviation'
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(
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) {
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;
    }
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();
        // 向下
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>