mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 11:56:44 +08:00
视频
This commit is contained in:
@@ -1088,6 +1088,11 @@
|
||||
|
||||
onPlayerPlay() {
|
||||
//console.log("开始播放");
|
||||
if(this.contentData.contentType == 10){
|
||||
if(this.contentData.status<2){
|
||||
this.contentData.status = 2;
|
||||
}
|
||||
}
|
||||
this.playerBoxShow = false;
|
||||
let $this = this;
|
||||
//这里有些不准备,如果文件未能加载,这个事件就是错误的
|
||||
@@ -1463,12 +1468,6 @@
|
||||
progress(val) {
|
||||
const progressValue = parseFloat(val) * 100;
|
||||
this.sendEventProgress = Number(progressValue.toFixed(2));
|
||||
console.log('进度')
|
||||
if(this.contentData.contentType == 10){
|
||||
if(this.sendEventProgress>0&&this.contentData.status<2){
|
||||
this.contentData.status = 2;
|
||||
}
|
||||
}
|
||||
},
|
||||
saveStudyDuration(duration) { //保存本地存储的学习时长
|
||||
if (duration > 0) {
|
||||
|
||||
Reference in New Issue
Block a user