| | |
| | | <template> |
| | | <div class="content"> |
| | | <div class="video-analyze-content"> |
| | | <div class="content-top"> |
| | | <div class="grid-check"> |
| | | <span |
| | |
| | | <!-- {{curVideo.ID}} --> |
| | | <!-- <img :src="curVideo.VideoCover" style="width:100px" /> --> |
| | | <ali-player |
| | | :source="'http://' + curVideo.VideoPath" |
| | | :source="curVideo.VideoPath" |
| | | :markers="curVideo.marks" |
| | | :ref="`player_${curVideo.ID}`" |
| | | /> |
| | |
| | | style="width:100px" |
| | | />--> |
| | | <ali-player |
| | | :source="'http://' + videoArrs[index].VideoPath" |
| | | :source="videoArrs[index].VideoPath" |
| | | :markers="videoArrs[index].marks" |
| | | :ref="`player_${videoArrs[index].ID}`" |
| | | /> |
| | |
| | | this.$message.success("添加成功"); |
| | | // 标注 |
| | | _this.setMarks(this.curVideo); |
| | | _this.$parent.$parent.filterSearchData(); |
| | | } else { |
| | | this.$message.warning(rsp.msg); |
| | | } |
| | |
| | | this.$message.success("删除成功"); |
| | | // 标注 |
| | | _this.setMarks(_this.curVideo); |
| | | _this.$parent.$parent.filterSearchData(); |
| | | } else { |
| | | this.$message.warning(rsp.msg); |
| | | } |
| | | }); |
| | | }, |
| | | mergeMarks(videoInfo) { |
| | | // debugger |
| | | const eMarks = videoInfo.EventLst.map(function (item) { |
| | | return { |
| | | offset: item.SecondsInVideo + "", |
| | |
| | | }; |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | | .content { |
| | | <style lang="scss" > |
| | | .video-analyze-content { |
| | | margin: 0; |
| | | padding: 15px; |
| | | text-align: left; |
| | | .content-top { |