unknown
2024-05-30 13d502a211ac1fe818285f54d51e31d87dba80e5
swdt
6个文件已删除
2个文件已修改
709 ■■■■■ 已修改文件
src/books/lifeCare/components/carousel.vue 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/books/lifeCare/components/chapter01/table-1-1-1.vue 85 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/books/lifeCare/components/chapter01/table-1-1-2.vue 245 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/books/lifeCare/components/chapter01/table-1-1-3.vue 148 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/books/lifeCare/components/customTable.vue 108 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/books/lifeCare/components/header.vue 50 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/books/lifeCare/index.vue 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/books/lifeCare/view/chapter007.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/books/lifeCare/components/carousel.vue
File was deleted
src/books/lifeCare/components/chapter01/table-1-1-1.vue
File was deleted
src/books/lifeCare/components/chapter01/table-1-1-2.vue
File was deleted
src/books/lifeCare/components/chapter01/table-1-1-3.vue
File was deleted
src/books/lifeCare/components/customTable.vue
File was deleted
src/books/lifeCare/components/header.vue
File was deleted
src/books/lifeCare/index.vue
@@ -47,6 +47,7 @@
        v-if="showCatalogList.indexOf(8) > -1"
        :showPageList="loadPageList"
        :questionData="questionData"
        @eventSwdt="swdtChange"
      />
      <chapterEight
        v-if="showCatalogList.indexOf(9) > -1"
@@ -139,7 +140,7 @@
      loadPageObserver: null,
      loadPageList: [],
      questionData: {},
      renderSignMap: {}
      renderSignMap: {},
    };
  },
  computed: {
@@ -172,7 +173,7 @@
          this.initObservation();
          this.initThemeColor();
        }, 500);
      }
      },
    },
    loadPageList: {
      handler(newVal, oldVal) {
@@ -181,12 +182,12 @@
          this.initSwiper();
          this.initViewer();
        }, 200);
      }
    }
      },
    },
  },
  mounted() {
    // 默认加载章节
    this.showCatalogList = [4];
    this.showCatalogList = [8];
    // 滚动监听节流
    this.throttledScrollHandler = _.throttle(
      this.scrollFun,
@@ -306,7 +307,7 @@
          this.showCatalogList = [
            this.catalogLength - 2,
            this.catalogLength - 1,
            this.catalogLength
            this.catalogLength,
          ];
        } else {
          this.showCatalogList = [catalog - 1, catalog, catalog + 1];
@@ -554,7 +555,7 @@
            this.$store.state.qiankun.pageChange({
              page: page,
              catalog: catalog,
              text
              text,
            });
          // const sections = Array.from(document.querySelectorAll(".section"));
          //sections:获取所有具有 .section 类名的元素,并转换为数组。
@@ -626,7 +627,7 @@
          autoplay: {
            //自动开始
            delay: 3000, //时间间隔
            disableOnInteraction: false //*手动操作轮播图后不会暂停*
            disableOnInteraction: false, //*手动操作轮播图后不会暂停*
          },
          paginationClickable: true,
          slidesPerView: 1, // 一组三个
@@ -634,7 +635,7 @@
          // 如果需要前进后退按钮
          navigation: {
            nextEl: ".swiper-button-next",
            prevEl: ".swiper-button-prev"
            prevEl: ".swiper-button-prev",
          },
          // 窗口变化,重新init,针对F11全屏和放大缩小,必须加
          observer: true,
@@ -656,7 +657,7 @@
        new Viewer(dom, {
          navbar: true, // 显示导航栏
          toolbar: true, // 显示工具栏
          title: true // 显示标题
          title: true, // 显示标题
        });
      }
    },
@@ -711,6 +712,13 @@
        }
      }
    },
    swdtChange(data) {
      if (this.$store.state.qiankun && this.$store.state.qiankun.chooseWords) {
        this.$store.state.qiankun.chooseWords({
          type: data,
        });
      }
    },
  },
  components: {
    front001,
src/books/lifeCare/view/chapter007.vue
@@ -1367,19 +1367,6 @@
            />
          </p>
          <div class="bk-tx" style="min-height: 200px">
            <div class="bk-iframe" v-if="chapter007.isShowSwdt">
              <div class="header-swdt">
                <p>思维导图</p>
                <i class="el-icon-close" @click="showSwdt"></i>
              </div>
              <iframe
                width="100%"
                height="600px"
                frameborder="0"
                scrolling="no"
                src="https://www.iodraw.com/mind"
              ></iframe>
            </div>
            <div
              class="bk-inputUpload"
              v-if="chapter007.pictrueList.length == 0"
@@ -2854,7 +2841,7 @@
      localStorage.setItem("chapter007", JSON.stringify(this.chapter007));
    },
    showSwdt() {
      this.chapter007.isShowSwdt = !this.chapter007.isShowSwdt;
      this.$emit('eventSwdt','swdt')
    },
    handUploadFile(e, type) {
      var that = this;
@@ -2893,7 +2880,7 @@
        });
    },
    handFile(str) {
      let dom = document.getElementById(str);
      let dom = (document).getElementById(str);
      dom.click();
    },
  },