Commit 2068e6a8 authored by Mac's avatar Mac

1

parent 6c717e48
......@@ -245,6 +245,9 @@
this.learned++;
}
})
if(this.selectcourse.IsRead==0){
this.learned++;
}
let obj = {
name:this.name,
cover_pic:this.cover_pic,
......@@ -298,6 +301,17 @@
});
this.studybg = true;
this.studytext='立即试看'
if(this.selectcourse.IsRead==0){
this.learned++;
}
let obj = {
name:this.name,
cover_pic:this.cover_pic,
Sort:this.selectcourse.Sort,
learned:this.learned,
count:this.count,
}
uni.setStorageSync("laststudy", obj);
this.setMyCourseStudyOK()//在换章节的时候标记
}else{
let that =this
......@@ -342,6 +356,17 @@
item.ImageList.forEach((x) => {
this.img.push(x.Path);
});
if(this.selectcourse.IsRead==0){
this.learned++;
}
let obj = {
name:this.name,
cover_pic:this.cover_pic,
Sort:this.selectcourse.Sort,
learned:this.learned,
count:this.count,
}
uni.setStorageSync("laststudy", obj);
this.setMyCourseStudyOK()//在换章节的时候标记
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment