mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-13 04:46:44 +08:00
Merge branch 'boe_0701_icon' into dev0515
This commit is contained in:
@@ -1108,6 +1108,11 @@
|
|||||||
|
|
||||||
onPlayerPlay() {
|
onPlayerPlay() {
|
||||||
//console.log("开始播放");
|
//console.log("开始播放");
|
||||||
|
if(this.contentData.contentType == 10){
|
||||||
|
if(this.contentData.status<2){
|
||||||
|
this.contentData.status = 2;
|
||||||
|
}
|
||||||
|
}
|
||||||
this.playerBoxShow = false;
|
this.playerBoxShow = false;
|
||||||
let $this = this;
|
let $this = this;
|
||||||
//这里有些不准备,如果文件未能加载,这个事件就是错误的
|
//这里有些不准备,如果文件未能加载,这个事件就是错误的
|
||||||
@@ -1523,12 +1528,6 @@
|
|||||||
progress(val) {
|
progress(val) {
|
||||||
const progressValue = parseFloat(val) * 100;
|
const progressValue = parseFloat(val) * 100;
|
||||||
this.sendEventProgress = Number(progressValue.toFixed(2));
|
this.sendEventProgress = Number(progressValue.toFixed(2));
|
||||||
console.log('进度')
|
|
||||||
if(this.contentData.contentType == 10){
|
|
||||||
if(this.sendEventProgress>0&&this.contentData.status<2){
|
|
||||||
this.contentData.status = 2;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
saveStudyDuration(duration) { //保存本地存储的学习时长
|
saveStudyDuration(duration) { //保存本地存储的学习时长
|
||||||
if (duration > 0) {
|
if (duration > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user