| | |
| | | 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(); |
| | |
| | | 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) => { |
| | |
| | | if (text.indexOf("过分相") > -1) { |
| | | return "blue"; |
| | | } |
| | | if ( |
| | | text.indexOf("玩手机") > -1 || |
| | | text.indexOf("趴伏") > -1 || |
| | | text.indexOf("仰卧") > -1 |
| | | ) { |
| | | return "red"; |
| | | } |
| | | return ""; |
| | | }, |
| | | refreshCurVideoLabel(video) { |