This commit is contained in:
@fawn-nine
2024-09-24 18:06:13 +08:00
parent 1a2df86df2
commit 6ef6e4e725
14 changed files with 280 additions and 205 deletions

View File

@@ -734,13 +734,15 @@
_myurl = '/pages/course/chapterDetailAndorid'
// }
if (this.librayList[this.curIndex].isBuy == 1 || v.isAudition == 1 ||
this.vip.type != "1" || this.vip.type != "2") {
this.vip.type == "1" || this.vip.type == "2") {
let noRecored = false
v.isAudition == 1 && this.userMsg.vip == 0 && this.librayList[this.curIndex].isBuy == 0 ?
noRecored = true : ''
uni.navigateTo({
url: `${_myurl}?navTitle=${this.pageTitle}&title=${v.title}&courseId=${this.courseId}&id=${v.id}&conditions=${v.conditions}&noRecored=${noRecored}`,
});
}else if(this.vip.type != "1" && this.librayList[this.curIndex].type == 2){
this.$commonJS.showToast("请开通超V后观看本课程");
} else {
this.$commonJS.showToast("请先购买课程");
}