mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-10 11:26:47 +08:00
Merge branch 'zcwy0428-zsx' into 'master'
Zcwy0428 zsx See merge request !31
This commit is contained in:
@@ -426,6 +426,7 @@
|
|||||||
export default {
|
export default {
|
||||||
data(){
|
data(){
|
||||||
return{
|
return{
|
||||||
|
trueFalse: true,
|
||||||
loading:false,//加载中
|
loading:false,//加载中
|
||||||
courseId:'',//当前课程的id
|
courseId:'',//当前课程的id
|
||||||
studyId: '',//当前学习的id
|
studyId: '',//当前学习的id
|
||||||
@@ -1524,6 +1525,20 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPlayerPlaying(e){
|
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);
|
||||||
//console.log("当前播放11"+itme);
|
//console.log("当前播放11"+itme);
|
||||||
let intTime=parseInt(e.detail.currentTime);
|
let intTime=parseInt(e.detail.currentTime);
|
||||||
|
|||||||
2
unpackage/dist/build/h5/index.html
vendored
2
unpackage/dist/build/h5/index.html
vendored
@@ -19,4 +19,4 @@
|
|||||||
hm.src = "https://hm.baidu.com/hm.js?ea89f02dca369037a73c5e3907e2c14a";
|
hm.src = "https://hm.baidu.com/hm.js?ea89f02dca369037a73c5e3907e2c14a";
|
||||||
var s = document.getElementsByTagName("script")[0];
|
var s = document.getElementsByTagName("script")[0];
|
||||||
s.parentNode.insertBefore(hm, s);
|
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
1
unpackage/dist/build/h5/static/js/pages-study-courseStudy.8ed29dc6.js
vendored
Normal file
1
unpackage/dist/build/h5/static/js/pages-study-courseStudy.8ed29dc6.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user