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