heyujie
2021-06-24 e01cac63860c20450a6b9d8dd3a937dafdcc1d3b
切换路况视频左侧高亮的bug
1个文件已修改
12 ■■■■■ 已修改文件
src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue
@@ -53,7 +53,7 @@
          <div class="v-name-block">
            <div
              class="video-name"
              :class="{ current: curVideo.id == video.id }"
              :class="{ current: curVideo.GroupID == video.GroupID }"
              @click="checkVideo(video, index)"
              v-for="(video, index) in curRoomVideos"
              :key="video.id"
@@ -491,7 +491,6 @@
      } else {
        this.videoArrs.forEach((v, i) => {
          this.$refs[`player_${v.id}`][0].seek(val);
          // this.$refs[`player_${v.ID}`][0].play();
          if (i == 0) {
            let curT = this.$refs[`player_${v.id}`][0].getCurrentTime();
          }
@@ -549,8 +548,9 @@
      let _this = this;
      _this.curVideo = cmd;
      _this.curCamera = _this.curVideo.CameraPosition;
      _this.$nextTick(() => {
        const a = _this.$refs[`player_${_this.curVideo.id}`]
        const b = _this.$refs[`player_${_this.curVideo.id}`][0]
        _this.$refs[`player_${_this.curVideo.id}`][0].init();
      });
    },
@@ -597,7 +597,6 @@
        _this.curRoomVideos = _this.allCurVideos.filter((item) => {
          return item.IsCab == "0";
        });
        _this.$nextTick(() => {
          _this.$refs[`player_${_this.curVideo.id}`][0].init();
          let arr = _this.maxVideoTime.split(":");
@@ -618,7 +617,6 @@
          _this.curCamera = _this.popDownArr[0].CameraPosition;
        }
      });
      _this.popDownArr;
    },
    renderLabelOpts() {
      let _this = this;
@@ -637,7 +635,6 @@
          }
        });
      });
      _this.popDownArr;
    },
    checkVideo(video, index) {
      this.refreshCurVideoLabel(video);
@@ -656,6 +653,7 @@
        (item) => video.GroupID == item.GroupID
      );
      this.$nextTick(() => {
        const a = this.$refs[`player_${this.curVideo.id}`]
        this.$refs[`player_${this.curVideo.id}`][0].init();
      });
    },
@@ -677,9 +675,7 @@
            `calc(` + 100 / guid + `%)`;
          this.$refs[`gridVideoItem_${i}`][0].style.height =
            `calc(` + 100 / guid + `%)`;
          // this.$refs["playerWrap"].offsetHeight / guid + "px";
        }
        // console.log(this.$refs[`player_${this.videoArrs[index].ID}`]);
      });
    },
    cancelLabelChecked() {