hanbaoshan
2020-08-12 cffa0a71a4ee4bc1b68549cd30e50f1e122c16ab
fix 统计查询样式bug
2个文件已修改
19 ■■■■■ 已修改文件
src/pages/desktop/index/components/DFrame.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/search/index/Searching.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/desktop/index/components/DFrame.vue
@@ -104,18 +104,19 @@
      this.$store.commit('desktop/refreshFrame', this.data);
    },
    minFrame(data, e) {
      debugger
      //找到当前的iframe
      let curIframe = Array.from(document.querySelectorAll('iframe')).find(iframe => iframe.src.indexOf(data.url) >= 0);
      //保存当前应用快照
      html2canvas(curIframe.contentWindow.document.body, {
        dpi: window.devicePixelRatio * 4,
        //logging: true, //查看html2canvas内部执行流程
        logging: true, //查看html2canvas内部执行流程
        removeContainer: true,
        imageTimeout: 0,
        //useCORS: true //开启跨域配置
        useCORS: true, //开启跨域配置
        //allowTaint: true
      }).then(canvas => {
        let shotSrc = canvas.toDataURL();
        this.$store.commit('desktop/addMinDock', {
          id: this.data.id,
          src: this.data.icon,
src/pages/search/index/Searching.vue
@@ -120,7 +120,7 @@
            <b class="clear-searching" @click="clearSearch">重置</b>
          </p>
        </div>
        <div ref="mid" style="height:100%;">
        <div ref="mid" style="height:calc(100% - 50px);">
          <div class="left-selection" v-if="VideoPhotoData.uploadDiaplay">
              <upload-img ref="uploadImg" @labelDisabled="disabled"></upload-img>
            </div>
@@ -676,7 +676,7 @@
      color: rgba(0, 0, 0, 0.78) !important;
    }
    .searching-right-content {
      height: calc(100% - 135px);
      height: calc(100% - 80px);
      width: 100%;
      box-sizing: border-box;
      .top {
@@ -728,8 +728,8 @@
        overflow: hidden;
        width: 100%;
        height: 80px;
        line-height: 80px;
        padding-top: 24px;
        //line-height: 80px;
        padding-top: 20px;
        padding-right: 24px;
        box-sizing: border-box;
        text-align: right;
@@ -840,7 +840,9 @@
  .right-section {
    //width: calc(100% - 315px);
    height: 100%;
    float: left;
    padding-bottom: 20px;
    box-sizing: border-box;
    //float: left;
    overflow: auto;
    position: relative;
  }