mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-07 18:06:47 +08:00
学习时长上报接口合并
This commit is contained in:
@@ -760,6 +760,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPlayerPlaying(e){
|
onPlayerPlaying(e){
|
||||||
|
console.log("=======microDetail");
|
||||||
//console.log("当前播放11",itme);
|
//console.log("当前播放11",itme);
|
||||||
this.isAppendTime=false;//禁止追加学习时间
|
this.isAppendTime=false;//禁止追加学习时间
|
||||||
//console.log("当前播放11"+itme);
|
//console.log("当前播放11"+itme);
|
||||||
@@ -829,6 +830,7 @@
|
|||||||
//console.log('audioPause');
|
//console.log('audioPause');
|
||||||
},
|
},
|
||||||
audioPlaying(e,second){
|
audioPlaying(e,second){
|
||||||
|
console.log("=======microDetail");
|
||||||
// console.log(e,'e');
|
// console.log(e,'e');
|
||||||
// console.log(e.currentTime,'currentTime');
|
// console.log(e.currentTime,'currentTime');
|
||||||
// console.log(second,'second');
|
// console.log(second,'second');
|
||||||
|
|||||||
@@ -1578,6 +1578,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPlayerPlaying(e){
|
onPlayerPlaying(e){
|
||||||
|
console.log("=======courseStudy");
|
||||||
if(e.detail.currentTime > 2 && this.trueFalse && this.curContent.status < 9){
|
if(e.detail.currentTime > 2 && this.trueFalse && this.curContent.status < 9){
|
||||||
let params ={
|
let params ={
|
||||||
studyId: this.studyId,//学习id,
|
studyId: this.studyId,//学习id,
|
||||||
@@ -1685,6 +1686,7 @@
|
|||||||
this.stopStudyTime();
|
this.stopStudyTime();
|
||||||
},
|
},
|
||||||
audioPlaying(e,second){
|
audioPlaying(e,second){
|
||||||
|
console.log("=======courseStudy");
|
||||||
this.isAppendTime=true;//打开追加载学习时长
|
this.isAppendTime=true;//打开追加载学习时长
|
||||||
|
|
||||||
let intTime=second;//当前播放时间
|
let intTime=second;//当前播放时间
|
||||||
|
|||||||
@@ -745,6 +745,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPlayerPlaying(e){
|
onPlayerPlaying(e){
|
||||||
|
console.log("=======在线课");
|
||||||
//console.log("当前播放11",itme);
|
//console.log("当前播放11",itme);
|
||||||
this.isAppendTime=false;//禁止追加学习时间
|
this.isAppendTime=false;//禁止追加学习时间
|
||||||
//console.log("当前播放11"+itme);
|
//console.log("当前播放11"+itme);
|
||||||
@@ -815,6 +816,7 @@
|
|||||||
audioPause(){
|
audioPause(){
|
||||||
},
|
},
|
||||||
audioPlaying(e,second){
|
audioPlaying(e,second){
|
||||||
|
console.log("=======在线课");
|
||||||
this.isAppendTime=false;//禁止追加学习时间
|
this.isAppendTime=false;//禁止追加学习时间
|
||||||
let intTime=second;//当前播放时间
|
let intTime=second;//当前播放时间
|
||||||
let videDuration=e.duration;//音频总时长,秒
|
let videDuration=e.duration;//音频总时长,秒
|
||||||
|
|||||||
Reference in New Issue
Block a user