-
+
{{note.sysUpdateTime}}
{{note.openType == 9?'公开':'私密'}}
@@ -32,20 +30,16 @@
-
+
-
删除
+
删除
-
编辑
+
编辑
-
+
![]()
{{formatSeconds(note.playTime)}}
@@ -73,17 +67,15 @@
-
+
-
视频位置
+
视频位置
公开
私密
取消
@@ -184,7 +176,7 @@ export default {
},
data(val){
if(val.id) {
- console.log(val,'val');
+ //console.log(val,'val');
this.mynoteData.courseId = this.courseId;
this.mynoteData.courseName = this.data.name;
// this.mynoteData.contentId = this.data.id;
diff --git a/src/components/VideoPlayer/index.vue b/src/components/VideoPlayer/index.vue
index 83f96fe5..7b44d328 100644
--- a/src/components/VideoPlayer/index.vue
+++ b/src/components/VideoPlayer/index.vue
@@ -524,6 +524,16 @@ export default {
document.msFullScreen
);
},
+ //开始播放
+ startPlay:function(newTime){
+ if(newTime){
+ this.videoDom.currentTime = newTime;
+ this.barrageTimelineStart = newTime;
+ this.updateProgressBySetTime(newTime);
+ }
+ this.isPlaying = true;
+ this.videoDom.play();
+ },
},
watch: {
currentVolume: function () {
@@ -539,13 +549,13 @@ export default {
this.$emit('onPlayerEnded', {})
}
},
- notePlay: function(val) {
- if(val) {
- this.updateProgressBySetTime(val);
- this.isPlaying = true;
- this.videoDom.play();
- }
- },
+ // notePlay: function(val) {
+ // if(val) {
+ // this.updateProgressBySetTime(val);
+ // this.isPlaying = true;
+ // this.videoDom.play();
+ // }
+ // },
src: function () {
// 当视频地址变更时,重载视频
this.videoDom.load();
diff --git a/src/components/VideoPlayer/progress-bar.vue b/src/components/VideoPlayer/progress-bar.vue
index 325215a2..0a2e72ec 100644
--- a/src/components/VideoPlayer/progress-bar.vue
+++ b/src/components/VideoPlayer/progress-bar.vue
@@ -49,7 +49,7 @@ export default {
};
},
mounted() {
- console.log(this.isDrag,'isDrag');
+ //console.log(this.isDrag,'isDrag');
//初始化一些固定数据
let dom_full = this.$el.getElementsByClassName("progress-full")[0];
this.dom_full = dom_full;
diff --git a/src/views/study/coursenew.vue b/src/views/study/coursenew.vue
index a7f91c61..00d00376 100644
--- a/src/views/study/coursenew.vue
+++ b/src/views/study/coursenew.vue
@@ -25,7 +25,7 @@
-
@@ -65,8 +65,7 @@
{{ contentData.contentName }}
@@ -124,7 +123,7 @@
{{item.section.name}}
![]()
{{i+1}}.
- {{ ele.contentName }}
+
{{ ele.contentName }}