课程列表显示已读未读
This commit is contained in:
@@ -172,7 +172,6 @@
|
||||
</template>
|
||||
|
||||
<template slot="contentList" slot-scope="slotProps">
|
||||
|
||||
<view
|
||||
v-if="
|
||||
userVip == null &&
|
||||
@@ -227,12 +226,9 @@
|
||||
>
|
||||
<template slot="labelSlot" slot-scope="slotProps1">
|
||||
<view
|
||||
:style="`${
|
||||
slotProps1.rowIndex < 3
|
||||
? 'width:calc(100% - 100rpx);float:left;'
|
||||
: 'width:100%;'
|
||||
}`"
|
||||
>
|
||||
:style="`${ slotProps1.row.isAudition==1|| slotProps1.row.isLearned==1||slotProps1.row.isLearned==0
|
||||
? 'width:calc(100% - 100rpx);float:left;'
|
||||
: 'width:100%;'}`">
|
||||
<text
|
||||
:class="`${
|
||||
slotProps1.row.viewFlg == 1 ? 'aui-text-success' : ''
|
||||
@@ -247,10 +243,16 @@
|
||||
<text
|
||||
class="fdButtonBox aui-text-success"
|
||||
style="background: none"
|
||||
v-if="slotProps1.row.isAudition == 1"
|
||||
v-if="slotProps.data.isBuy == 0&&slotProps1.row.isAudition == 1&&userVip==null"
|
||||
>试听</text
|
||||
>
|
||||
|
||||
|
||||
<template v-if="slotProps.data.isBuy == 1 || userVip!=null">
|
||||
<uni-tag v-if="slotProps1.row.isLearned == 0" style="position: absolute; right: 10rpx; top: 5rpx;"
|
||||
:inverted="true" text="未学" size="mini" type="primary" />
|
||||
<uni-tag v-if="slotProps1.row.isLearned == 1" style="position: absolute; right: 10rpx; top: 5rpx;"
|
||||
:inverted="true" text="已学" size="mini" type="success" />
|
||||
</template>
|
||||
<view class="shitingTag" v-if="slotProps.data.type != 0">
|
||||
<u-icon
|
||||
v-if="
|
||||
@@ -1198,6 +1200,8 @@ export default {
|
||||
/deep/.titleItem {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/deep/.scroll-view-item:nth-child(2n-1) {
|
||||
|
||||
Reference in New Issue
Block a user