mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-09 19:06:46 +08:00
Merge branch '250417-bugfix-shl' into test0214
This commit is contained in:
@@ -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('记录播放时间错误');
|
||||
}
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user