修改vip规则

This commit is contained in:
liuyuan
2025-03-12 10:13:56 +08:00
parent f7ffe12e38
commit ef66c81ca7
8 changed files with 31 additions and 29 deletions

View File

@@ -30,13 +30,13 @@
</view>
</view>
<view class="userInfoBox" style="margin-left: 30rpx;">
<view class="userInfoBox" style="margin-left: 20rpx;">
<view class="name">昵称{{ userMes.nickname ? userMes.nickname : "未设置" }}</view>
<view class="name" style="color: #606266 !important;font-weight: normal;font-size: 28rpx;" v-if="userMes.tel">手机号({{ userMes.tel }})</view>
<template v-if="isAndorid&&textList.length>0">
<view class="vip_type">
<view class="vip_type_item" v-for="(item,index) in textList" :key="index">
<view class="vip_type_item" :class="textList.length>4?'vip_type_item_len':''" v-for="(item,index) in textList" :key="index">
{{item}}<image src="@/static/icon/chao_vip.png"></image>
</view>
</view>
@@ -97,9 +97,7 @@
style="float: right; margin: 0 6rpx"></u-icon>
</view>
<view class="text" style="line-height: 40rpx; display: flex">{{
userMes.peanutCoin ? userMes.peanutCoin : 0
}}</view>
<view class="text" style="line-height: 40rpx; display: flex">{{userMes.peanutCoin ? userMes.peanutCoin : 0}}</view>
</view>
<view class="chong_list_item" style="
@@ -112,9 +110,7 @@
积分
</view>
<view class="text" style="line-height: 40rpx">{{
userMes.jf ? userMes.jf : 0
}}</view>
<view class="text" style="line-height: 40rpx">{{userMes.jf ? userMes.jf : 0}}</view>
</view>
@@ -130,9 +126,7 @@
>
<view class="pay_item_img"> 优惠券 </view>
<view class="text" style="line-height: 40rpx">{{
userCouponNum
}}</view>
<view class="text" style="line-height: 40rpx">{{userCouponNum}}</view>
</view>
</view>
<view class="chong_list_item" style="
@@ -629,6 +623,9 @@
}else if(item.type=='8'){
item.text = '心理学';
this.textList.push(item.text);
}else if(item.type=='9'){
item.text = '中西汇通学';
this.textList.push(item.text);
}else if(item.type=='1'){
item.text = '医学S';
}else if(item.type=='2'){
@@ -652,7 +649,7 @@
.per_mes {
position: relative;
margin: 0rpx 20rpx 0rpx 20rpx;
margin: 0rpx 0rpx 0rpx 20rpx;
align-items: center;
display: flex;
align-items: center;
@@ -1333,12 +1330,19 @@
padding: 0 10rpx;
background: linear-gradient(90deg, #258feb 0%, #00e1ec 100%);
border-radius: 20rpx;
font-size: 20rpx;
font-size: 18rpx;
line-height: 40rpx;
height: 40rpx;
font-weight: bold;
color: #fff;
margin-right: 10rpx;
margin-right: 8rpx;
}
.vip_type_item_len{
padding: 0 7rpx;
font-size: 13rpx;
line-height: 34rpx;
height: 34rpx;
margin-right: 4rpx;
}
.vip_type_item:last-child{
margin-right: 0;

View File

@@ -39,7 +39,7 @@
</view>
<view class="vip_qx">
<text class="font_bold" style=" display: block;">VIP权限</text>
<view class="vip_qx_v" v-if="item.type==1">无限制观看吴门医述APP中医学针灸学肿瘤学个板块任意课程</view>
<view class="vip_qx_v" v-if="item.type==1">无限制观看吴门医述APP中医学中西汇通学针灸学肿瘤学个板块任意课程</view>
<view class="vip_qx_v" v-else-if="item.type==2">无限制观看众妙之门APP与吴门医述APP心理学板块任意课程</view>
<view class="vip_qx_v" v-else-if="item.type==7">无限制观看众妙之门APP任意课程</view>
<view class="vip_qx_v" v-else>无限制观看吴门医述APP{{item.title.replace(/VIP/g, '')}}板块任意课程</view>