vip功能发布

This commit is contained in:
liuyuan
2025-02-20 13:36:59 +08:00
parent 6605abadf7
commit 179a2c492e

View File

@@ -201,6 +201,7 @@
</view>
</view>
</view>
<view v-else-if="librayList[curIndex].type == 0"></view>
<view v-else style="padding: 20rpx; padding-bottom: 0;">
<view class="libOther">
<!-- 没有观看权限的时候 -->
@@ -232,13 +233,12 @@
<view class="flexbox" style="align-items: center;">
<view
:class="['textBox','flex_box', librayList[curIndex].isBuy == 0 ? 'lock' : '']">
<text class="hidden1" style="width: 86%;">{{ item.title }}</text>
<text class="hidden1" style="width: 88%;">{{ item.title }}</text>
<uni-tag
v-if="item.isAudition == 1 && librayList[curIndex].isBuy == 0 && userVip==null"
style="margin-left: 10rpx" :inverted="true" text="试听" size="mini"
type="success" />
<template
v-if="librayList[curIndex] && librayList[curIndex].isBuy == 1 || userVip!=null">
<template v-if="librayList[curIndex] && librayList[curIndex].isBuy == 1 || userVip!=null">
<uni-tag v-if="item.isLearned == 0" style="margin-left: 10rpx;"
:inverted="true" text="未学" size="mini" type="primary" />
<uni-tag v-if="item.isLearned == 1" style="margin-left: 10rpx;"
@@ -246,7 +246,7 @@
</template>
</view>
<view class="shitingTag">
<view class="shitingTag" style="position: absolute; right: 20px;">
<u-icon
v-if="librayList[curIndex].type!=0 &&librayList[curIndex].isBuy == 0 && userVip==null && item.isAudition == 0"
name="lock" color="#258feb" size="26"></u-icon>