调整vip规则
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<z-nav-bar title="课程介绍"></z-nav-bar>
|
||||
<view class="contentBox commonPageContentBox">
|
||||
<view v-if="goBuyTitle" class="describe_block">
|
||||
<view style=" display: flex;">
|
||||
<view style=" display: flex; align-items: center;">
|
||||
<uni-icons type="info" size="20" color="#fff"></uni-icons>
|
||||
<text>{{goBuyTitle}}</text>
|
||||
</view>
|
||||
@@ -24,13 +24,20 @@
|
||||
<view class="flexbox course_title" v-if="course.id">
|
||||
<text class="courseTitle title">{{ course.title }}</text>
|
||||
</view>
|
||||
<view style="color: #b0b0b0; padding: 0 20rpx">
|
||||
{{
|
||||
librayList && librayList.length > 0
|
||||
? `共${librayList.length}个目录`
|
||||
: ""
|
||||
}}
|
||||
</view>
|
||||
<view class="containerBg" v-if="course.content && course.content != ''">
|
||||
<view class="prof">
|
||||
<view style="
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
">
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
">
|
||||
<view :class="`${isHideCourseInfo ? 'hidden2' : ''}`"
|
||||
style="font-size: 30rpx; text-align: justify;" v-html="course.content">
|
||||
</view>
|
||||
@@ -236,7 +243,7 @@
|
||||
<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"
|
||||
style="margin-left: 10rpx;font-size: 20rpx;" :inverted="true" text="试听" size="mini"
|
||||
type="success" />
|
||||
<template v-if="librayList[curIndex] && librayList[curIndex].isBuy == 1 || userVip!=null">
|
||||
<uni-tag v-if="item.isLearned == 0" style="margin-left: 10rpx;"
|
||||
@@ -249,7 +256,7 @@
|
||||
<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>
|
||||
name="lock" color="#258feb" size="24"></u-icon>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
@@ -2658,14 +2665,10 @@
|
||||
line-height: 50rpx;
|
||||
padding: 10rpx 0;
|
||||
color: #333;
|
||||
// background-color: #f0f0f0;
|
||||
// margin-bottom: 10rpx;
|
||||
|
||||
}
|
||||
|
||||
::v-deep .prof img {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
|
||||
.prof image{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.catalogueTitle {
|
||||
@@ -2750,10 +2753,9 @@
|
||||
border: 1rpx solid $themeColor;
|
||||
background-color: $themeColor;
|
||||
color: #fff !important;
|
||||
// width: 100%;
|
||||
float: right;
|
||||
padding: 4rpx 14rpx;
|
||||
font-size: 24rpx;
|
||||
padding: 4rpx 10rpx;
|
||||
font-size: 20rpx;
|
||||
font-weight: 500;
|
||||
line-height: 30rpx;
|
||||
border-radius: 10rpx;
|
||||
@@ -2856,7 +2858,6 @@
|
||||
.course_title {
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.courseTitle {
|
||||
@@ -2959,7 +2960,7 @@
|
||||
.textBox {
|
||||
padding: 20rpx 0;
|
||||
align-items: center;
|
||||
justify-content: start;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
font-size: 28rpx;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user