mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
视频添加进行状态
This commit is contained in:
@@ -1587,22 +1587,22 @@
|
|||||||
this.tab = 2
|
this.tab = 2
|
||||||
},
|
},
|
||||||
handleAudioTimeUpdate(currentTime) {
|
handleAudioTimeUpdate(currentTime) {
|
||||||
if(this.contentStudysLength.length == 0){
|
// if(this.contentStudysLength.length == 0){
|
||||||
let params = {
|
let params = {
|
||||||
studyId: this.studyId, //学习id,
|
studyId: this.studyId, //学习id,
|
||||||
courseId: this.courseId, //课程id,
|
courseId: this.courseId, //课程id,
|
||||||
contentId: this.contentData.id, //内容id,
|
contentId: this.contentData.id, //内容id,
|
||||||
contentType: this.contentData.contentType,
|
contentType: this.contentData.contentType,
|
||||||
contentName: this.contentData.contentName, //内容名称
|
contentName: this.contentData.contentName, //内容名称
|
||||||
progress: 100,
|
progress: 1,
|
||||||
status: 9,
|
status: 2,
|
||||||
contentTotal: this.totalContent
|
contentTotal: this.totalContent
|
||||||
};
|
};
|
||||||
if(currentTime > 3&&this.trueFalse){
|
if(currentTime > 2 && this.trueFalse){
|
||||||
apiStudy.studyContent(params)
|
apiStudy.studyContent(params)
|
||||||
this.trueFalse = false
|
this.trueFalse = false
|
||||||
}
|
}
|
||||||
}
|
// }
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user