提交
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<uni-collapse-item v-for="(item,index) in courseList" :key="index" :title="item.courseMedicine.title"
|
||||
:thumb="item.courseMedicine.icon">
|
||||
<view class="content" v-show="item.courseList.length > 1" style="padding:20rpx;">
|
||||
<view :class="['courseItemleve1',userMsg.vip != 0 ? 'isVip' :'']"
|
||||
<view :class="['courseItemleve1',(userMsg.vip != 0 && userMsg.vip != 3) ? 'isVip' :'']"
|
||||
v-for="(item1, index1) in item.courseList" :key="index1"
|
||||
@click="onPageJump('/pages/course/courseDetail',item1.id)">
|
||||
<view class="vipSee" v-if="userMsg.vip != 0 && userMsg.vip != 3">
|
||||
@@ -31,8 +31,9 @@
|
||||
size="24"></u-icon><text style="font-size: 32rpx;">{{item1.title}}</text>
|
||||
</view>
|
||||
<template v-if="item1.courseCatalogueEntityList && item1.courseCatalogueEntityList.length > 0">
|
||||
<view class="" v-for="(item2, index2) in item1.courseCatalogueEntityList" :key="index2">
|
||||
<view :class="['priceItem', item2.isBuy == 1 && userMsg.vip == 0 ? 'isBuy' : '']">
|
||||
|
||||
<view class="" v-for="(item2, index2) in item1.courseCatalogueEntityList" :key="index2">
|
||||
<view :class="['priceItem', item2.isBuy == 1 && (userMsg.vip == 0 || userMsg.vip == 3) ? 'isBuy' : '']">
|
||||
<text class="text mname" v-if="item1.courseCatalogueEntityList.length > 1"
|
||||
style="font-weight: bold; margin-right: 10rpx;">【{{item2.title}}】</text>
|
||||
<view class="pbox flexbox">
|
||||
@@ -40,11 +41,13 @@
|
||||
height: 40rpx; text-align: center; line-height: 40rpx; color: #ffb861;">V</text>
|
||||
<text class="text">半年:¥{{item2.halfFee}} 元</text><text class="text"
|
||||
style="margin-left: 20rpx;">整年:¥{{item2.fee}} 元</text>
|
||||
<!-- <pre>
|
||||
{{userMsg}}-{{item2.isBuy}}
|
||||
</pre> -->
|
||||
<text class="buybtns" @click.stop="goBuy(item2)"
|
||||
v-if="item2.isBuy == 0 && userMsg.vip == 0">立即购买</text>
|
||||
v-if="item2.isBuy == 0 && (userMsg.vip == 0 || userMsg.vip == 3)">立即购买</text>
|
||||
</view>
|
||||
<i class="haveBuy" v-if="item2.isBuy == 1 && userMsg.vip == 0">已购买</i>
|
||||
|
||||
<i class="haveBuy" v-if="item2.isBuy == 1 && (userMsg.vip == 0 || userMsg.vip == 3)">已购买</i>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user