mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-08 02:16:46 +08:00
正常视频播放事件
This commit is contained in:
@@ -19,7 +19,8 @@ if(process.env.NODE_ENV === 'development'){
|
|||||||
oldApiBaseUrl = '/uboeApi';
|
oldApiBaseUrl = '/uboeApi';
|
||||||
statApiBaseUrl='/statApi';
|
statApiBaseUrl='/statApi';
|
||||||
socialApiBaseUrl='/socialApi';
|
socialApiBaseUrl='/socialApi';
|
||||||
fileUrl = 'https://u-pre.boe.com/cdn/upload';
|
fileUrl = 'https://u-pre.boe.com/upload';
|
||||||
|
//fileUrl = 'https://u-pre.boe.com/cdn/upload';
|
||||||
loginPath='/mobile/pages/login/login';
|
loginPath='/mobile/pages/login/login';
|
||||||
scormPlayer='https://u-pre.boe.com/scorm-player';
|
scormPlayer='https://u-pre.boe.com/scorm-player';
|
||||||
}else if(process.env.ENV_TYPE === 'preview'){
|
}else if(process.env.ENV_TYPE === 'preview'){
|
||||||
|
|||||||
@@ -568,6 +568,12 @@
|
|||||||
getSysTypeTree:'sysType/getSysTypeTree',
|
getSysTypeTree:'sysType/getSysTypeTree',
|
||||||
loadSysTypes:'sysType/loadSysTypes'
|
loadSysTypes:'sysType/loadSysTypes'
|
||||||
}),
|
}),
|
||||||
|
// 没有写播放时间
|
||||||
|
onPlayerPlay() {
|
||||||
|
this.playerBoxShow = false;
|
||||||
|
this.isAppendTime=true;
|
||||||
|
this.appendStudyTime();//启动追加学习时长
|
||||||
|
},
|
||||||
convertTypeName(code){
|
convertTypeName(code){
|
||||||
if(!code){return '';}
|
if(!code){return '';}
|
||||||
return this.sysTypeMap.get(code);
|
return this.sysTypeMap.get(code);
|
||||||
@@ -945,7 +951,8 @@
|
|||||||
return false;
|
return false;
|
||||||
})
|
})
|
||||||
this.scrollInfo.scrollLeft=len*this.scrollItemWidth+len*6;
|
this.scrollInfo.scrollLeft=len*this.scrollItemWidth+len*6;
|
||||||
if(con.contentType>20){
|
//50事scorm项目单独计时
|
||||||
|
if(con.contentType>20 && con.contentType !== 50){
|
||||||
let $this=this;
|
let $this=this;
|
||||||
//用户的学习时长,音视频课程学习,单独的处理,不再追加学习时长
|
//用户的学习时长,音视频课程学习,单独的处理,不再追加学习时长
|
||||||
this.isAppendTime = false;
|
this.isAppendTime = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user