vip功能发布

This commit is contained in:
liuyuan
2025-02-20 10:01:41 +08:00
parent b262de009e
commit 6605abadf7
3 changed files with 8 additions and 10 deletions

View File

@@ -248,7 +248,7 @@
</view>
<view class="shitingTag">
<u-icon
v-if="librayList[curIndex].isBuy == 0 && userVip==null && item.isAudition == 0"
v-if="librayList[curIndex].type!=0 &&librayList[curIndex].isBuy == 0 && userVip==null && item.isAudition == 0"
name="lock" color="#258feb" size="26"></u-icon>
</view>
@@ -986,7 +986,7 @@
this.currentCateIndex = courseIndex;
let _myurl = ''
_myurl = '/pages/course/chapterDetailAndorid'
if (this.librayList[this.curIndex].isBuy == 1 || v.isAudition == 1 || this.userVip!=null) {
if (this.librayList[this.curIndex].type == 0 ||this.librayList[this.curIndex].isBuy == 1 || v.isAudition == 1 || this.userVip!=null) {
let noRecored = false
v.isAudition == 1 && this.userVip==null && this.librayList[this.curIndex].isBuy == 0 ?
noRecored = true : ''