Merge branch '250417-bugfix-shl' into test0214

This commit is contained in:
joshen
2025-04-18 09:54:20 +08:00
3 changed files with 1545 additions and 1535 deletions

View File

@@ -760,6 +760,7 @@
}
},
onPlayerPlaying(e){
console.log("=======microDetail");
//console.log("当前播放11",itme);
this.isAppendTime=false;//禁止追加学习时间
//console.log("当前播放11"+itme);
@@ -798,7 +799,7 @@
itemId:this.coursewareInfo.studyItemId,
videoTime:intTime
}
apiCourseStudy.studyVideoTime(postData).then(rs=>{
apiCourseStudy.updateStudyVideoTime(postData).then(rs=>{
if(rs.status!=200){
console.log('记录播放时间错误');
}
@@ -829,6 +830,7 @@
//console.log('audioPause');
},
audioPlaying(e,second){
console.log("=======microDetail");
// console.log(e,'e');
// console.log(e.currentTime,'currentTime');
// console.log(second,'second');
@@ -869,7 +871,7 @@
itemId:this.coursewareInfo.studyItemId,
videoTime:intTime
}
apiCourseStudy.studyVideoTime(postData).then(rs=>{
apiCourseStudy.updateStudyVideoTime(postData).then(rs=>{
if(rs.status!=200){
console.log('记录播放时间错误');
}

View File

@@ -1578,6 +1578,7 @@
}
},
onPlayerPlaying(e){
console.log("=======courseStudy");
if(e.detail.currentTime > 2 && this.trueFalse && this.curContent.status < 9){
let params ={
studyId: this.studyId,//学习id,
@@ -1685,6 +1686,7 @@
this.stopStudyTime();
},
audioPlaying(e,second){
console.log("=======courseStudy");
this.isAppendTime=true;//打开追加载学习时长
let intTime=second;//当前播放时间

File diff suppressed because it is too large Load Diff