From bec902883b62ddc9a8834ae9ecddcdb7efa7010b Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期一, 08 十一月 2021 16:37:32 +0800 Subject: [PATCH] 玩手机打点 --- src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue b/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue index 219d3be..00c6898 100644 --- a/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue +++ b/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue @@ -549,8 +549,9 @@ this.showPlayBtn = false; if (this.guid == 1) { this.$refs[`player_${this.curVideo.id}`][0].play(); - this.maxDuration = - this.$refs[`player_${this.curVideo.id}`][0].getDuration(); + this.maxDuration = this.$refs[ + `player_${this.curVideo.id}` + ][0].getDuration(); } else { this.videoArrs.forEach((v) => { this.$refs[`player_${v.id}`][0].play(); @@ -579,8 +580,9 @@ this.$refs[`player_${this.curVideo.id}`][0].seek(val); // this.$refs[`player_${this.curVideo.ID}`][0].play(); setTimeout(() => { - let curT = - that.$refs[`player_${that.curVideo.ID}`][0].getCurrentTime(); + let curT = that.$refs[ + `player_${that.curVideo.ID}` + ][0].getCurrentTime(); }, 600); } else { this.videoArrs.forEach((v, i) => { @@ -720,6 +722,13 @@ if (text.indexOf("杩囧垎鐩�") > -1) { return "blue"; } + if ( + text.indexOf("鐜╂墜鏈�") > -1 || + text.indexOf("瓒翠紡") > -1 || + text.indexOf("浠板崸") > -1 + ) { + return "red"; + } return ""; }, refreshCurVideoLabel(video) { -- Gitblit v1.8.0