This commit is contained in:
zhangsir
2024-07-03 15:45:47 +08:00
parent 5146e41954
commit 6ec5e4ce45

View File

@@ -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) {