vip功能测试

This commit is contained in:
liuyuan
2025-02-19 16:11:29 +08:00
parent 341321af5f
commit b262de009e
4 changed files with 12 additions and 60 deletions

View File

@@ -17,6 +17,7 @@
<image v-if="!course.image" src="/static/nobg.jpg" mode="widthFix"></image>
<image v-else :src="course.image" mode="widthFix"></image>
</view>
<view class="containerBg1">
<view class="course_info_box">
<view class="course_info">
@@ -248,7 +249,7 @@
<view class="shitingTag">
<u-icon
v-if="librayList[curIndex].isBuy == 0 && userVip==null && item.isAudition == 0"
name="lock" color="#258feb" size="28"></u-icon>
name="lock" color="#258feb" size="26"></u-icon>
</view>
</view>
@@ -564,15 +565,13 @@
// 隐藏原生的tabbar
uni.hideTabBar();
this.windowWidth = uni.getSystemInfoSync().windowWidth;
// this.pageTitle = e.title
console.log(e, "传入分类id");
this.getUserInfo();
this.courseId = e.id;
//是否是vip
this.getCourseByVip();
this.getSayList();
this.getOS()
this.getOS();
},
onPageScroll(e) {
this.scrollTop = e.scrollTop;
@@ -1099,7 +1098,6 @@
},
})
.then(async (res) => {
console.log("res at line 493:", res);
if (res.code == 0) {
this.getCourseDescriptionData(v);
}
@@ -3071,7 +3069,7 @@
.describe_block button{
display: inline-block;
text-align: center;
width: 150rpx;
width: 125rpx;
font-size: 24rpx;
color: #fff;
border-radius: 10rpx;