Merge branch 'zcwy0428-zsx' into 'master'

Zcwy0428 zsx

See merge request !31
This commit is contained in:
joshen
2024-05-27 21:14:22 +08:00
5 changed files with 18 additions and 3 deletions

View File

@@ -426,6 +426,7 @@
export default {
data(){
return{
trueFalse: true,
loading:false,//加载中
courseId:'',//当前课程的id
studyId: '',//当前学习的id
@@ -1524,6 +1525,20 @@
}
},
onPlayerPlaying(e){
if(e.detail.currentTime > 2 && this.trueFalse){
let params ={
studyId: this.studyId,//学习id,
courseId: this.courseId,//课程id,
contentId: this.curContent.id,//内容id,
contentType: this.curContent.contentType,
contentName: this.curContent.contentName,//内容名称
progress: 1,
status: 2,
contentTotal:this.totalContent
}
apiCourseStudy.studyContent(params)
this.trueFalse = false
}
//console.log("当前播放11",itme);
//console.log("当前播放11"+itme);
let intTime=parseInt(e.detail.currentTime);

View File

@@ -19,4 +19,4 @@
hm.src = "https://hm.baidu.com/hm.js?ea89f02dca369037a73c5e3907e2c14a";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();</script></head><body><div id=app></div><script src=/mobile/static/js/chunk-vendors.7c4a142a.js></script><script src=/mobile/static/js/index.a56f5f19.js></script></body></html>
})();</script></head><body><div id=app></div><script src=/mobile/static/js/chunk-vendors.7c4a142a.js></script><script src=/mobile/static/js/index.9e700f8c.js></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long