mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-15 05:46:43 +08:00
Merge branch 'boe_0701_icon' into dev0515
This commit is contained in:
@@ -1288,7 +1288,7 @@
|
|||||||
},
|
},
|
||||||
audioPlay() {
|
audioPlay() {
|
||||||
//console.log("开始播放");
|
//console.log("开始播放");
|
||||||
if(this.contentData.contentType == 20){
|
if(this.contentData.contentType == 20 && this.contentData.status < 2){
|
||||||
this.contentData.status = 2;
|
this.contentData.status = 2;
|
||||||
}
|
}
|
||||||
let $this = this;
|
let $this = this;
|
||||||
@@ -1523,8 +1523,9 @@
|
|||||||
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.contentData.contentType == 10){
|
||||||
if(this.sendEventProgress>0&&this.sendEventProgress<3){
|
if(this.sendEventProgress>0&&this.contentData.status<2){
|
||||||
this.contentData.status = 2;
|
this.contentData.status = 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user