This commit is contained in:
@fawn-nine
2024-06-27 11:15:18 +08:00
parent c6598c1dcf
commit 99c292820b
7 changed files with 23 additions and 22 deletions

View File

@@ -28,12 +28,12 @@
<view :class="['coursePart','flexbox',fixed ? 'fixed' : '']" v-if="librayList.length > 1">
<view :class="['item','flexbox',curId == item.id? 'active': '' ]" v-for="(item, index) in librayList"
:key="index" @click="clicklib(item,index)">
<u-icon v-if="item.isBuy == 0 && curId == item.id" name="lock" color="#258feb" size="28"></u-icon>
<u-icon v-if="item.isBuy == 0 && curId != item.id" name="lock" color="#fff" size="28"></u-icon>
<u-icon v-if="item.isBuy == 0 && userMsg.vip == 0" name="lock" color="#258feb" size="28"></u-icon>
<u-icon v-if="item.isBuy == 0 && userMsg.vip == 0" name="lock" color="#fff" size="28"></u-icon>
<view class="">{{item.title}}</view>
</view>
</view>
<view :class="['courseList',fold ? 'fold' : '', librayList[curIndex].isBuy == 1 || userMsg.vip != 0 ? '' : 'lock']" v-if="courseList.length > 0">
<view :class="['courseList',fold ? 'fold' : '', librayList[curIndex].isBuy == 0 && 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'">
@@ -65,7 +65,7 @@
color="#258feb" size="28"></u-icon></view>
<text> </text>
</view> -->
<view class="buyBox flexbox" v-if="librayList[curIndex].isBuy == 0">
<view class="buyBox flexbox" v-if="librayList[curIndex].isBuy == 0 && userMsg.vip == 0">
<!-- 普通未购买 -->
<view class="item">
<text>您未购买此目录课程或已到期购买后或开通 <text style="font-weight: bold;">超级VIP</text> 即可学习本目录课程</text> <view class="tag-view">
@@ -795,8 +795,8 @@
price: val.activityPrice && val.activityPrice != 0 ? val.activityPrice : val.price,
goodsType: val.goodsType,
}, ],
navTitle: this.options.navTitle,
title: this.options.title,
navTitle: val.productName,
title: val.productName,
typeId: 0,
}); // 这里转换成 字符串
@@ -1460,7 +1460,7 @@
}
}
}
.courseList.lock{height: 800rpx; overflow: hidden; position: relative;}
.courseList.lock{height: 800rpx; overflow: hidden !important; position: relative;}
.containerBg1 {
// border-top: 1px solid #fff;