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

@@ -127,7 +127,7 @@
.close_btj { .close_btj {
position: absolute; position: absolute;
top: 50%; top: 60%;
left: 50%; left: 50%;
width: 290rpx; width: 290rpx;
height: 68rpx; height: 68rpx;
@@ -137,7 +137,7 @@
.close_1624 { .close_1624 {
position: absolute; position: absolute;
top: 50%; top: 60%;
left: 50%; left: 50%;
width: 290rpx; width: 290rpx;
height: 68rpx; height: 68rpx;

View File

@@ -7,9 +7,9 @@
<public-module></public-module> <public-module></public-module>
<!-- <z-nav-bar :title="pageTitle ? pageTitle : '课程详情'"> --> <!-- <z-nav-bar :title="pageTitle ? pageTitle : '课程详情'"> -->
<z-nav-bar title="课程介绍"> <z-nav-bar title="课程介绍">
<view class="curseSet" slot="right" @click="newOnShare"> <!-- <view class="curseSet" slot="right" @click="newOnShare">
<uni-icons type="redo" size="26"></uni-icons><text style="font-size: 26rpx;"></text> 分享课程</view> <uni-icons type="redo" size="26"></uni-icons><text style="font-size: 26rpx;"></text> 分享课程
</view> -->
</z-nav-bar> </z-nav-bar>
<view class="contentBox commonPageContentBox"> <view class="contentBox commonPageContentBox">
@@ -42,8 +42,7 @@
</template> </template>
</u-alert> </u-alert>
<scroll-view <scroll-view
scroll-y="true" scroll-y="true"
class="scroll-Y" class="scroll-Y"
> >

View File

@@ -299,8 +299,8 @@
price: val.activityPrice && val.activityPrice != 0 ? val.activityPrice : val.price, price: val.activityPrice && val.activityPrice != 0 ? val.activityPrice : val.price,
goodsType: val.goodsType, goodsType: val.goodsType,
}, ], }, ],
navTitle: this.options.navTitle, navTitle: val.productName,
title: this.options.title, title: val.productName,
typeId: 0, typeId: 0,
}); // 这里转换成 字符串 }); // 这里转换成 字符串

View File

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

View File

@@ -370,10 +370,10 @@ export default {
type: "pageJump", type: "pageJump",
}, },
{ // {
name: "分享APP", // name: "分享APP",
type: "share", // type: "share",
}, // },
{ {
name: "关于我们", name: "关于我们",

View File

@@ -286,6 +286,7 @@ export default {
quanyi: this.superQuanyi, quanyi: this.superQuanyi,
}); });
} else if (i == "sociology" || i == "sociology_hd") { } else if (i == "sociology" || i == "sociology_hd") {
console.log('i+++++++++++++++++',i)
this.dataList.push({ this.dataList.push({
title: "吴门医述VIP", title: "吴门医述VIP",
key: "sociology", key: "sociology",
@@ -303,6 +304,7 @@ export default {
} }
} }
} }
console.log(' this.dataList++++++++', this.dataList)
} }
}); });
}, },

View File

@@ -118,9 +118,9 @@
</view> </view>
</view> </view>
<view class="youKeL" style="margin-bottom: 80rpx;"> <!-- <view class="youKeL" style="margin-bottom: 80rpx;">
<view @click="onPageJump('/pages/user/visitor')">免登陆体验</view> <view @click="onPageJump('/pages/user/visitor')">免登陆体验</view>
</view> </view> -->
<z-popup v-model="HealthOpen" type="center" :hideOnBlur="false"> <z-popup v-model="HealthOpen" type="center" :hideOnBlur="false">