This commit is contained in:
@fawn-nine
2024-06-25 13:26:24 +08:00
parent 7018a5c242
commit 8e58d4af88
2 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@
<view class="">{{item.title}}</view>
</view>
</view>
<view :class="['courseList',fold ? 'fold' : '', librayList[curIndex].isBuy == 1 ? '' : 'lock']" v-if="courseList.length > 0">
<view :class="['courseList',fold ? 'fold' : '', librayList[curIndex].isBuy == 1 || userMsg.vip != 0 ? '' : 'lock']" v-if="courseList.length > 0">
<!-- 目录是否已经购买 -->
<!-- 0:普通 1超级 2医学 3国学 -->
<view class="endBox" v-if="librayList[curIndex].isBuy == 1 && userMsg.vip == '0'">
@@ -44,7 +44,7 @@
</view>
<view class="flexbox" v-else>
<text >课程观看有效期截止到{{librayList[curIndex].endTime}} </text>
<uni-tag type="primary" text="继续学习" @click="onPageJump('',)"></uni-tag>
<!-- <uni-tag type="primary" text="继续学习" @click="onPageJump('')"></uni-tag> -->
</view>
</view>
</view>