修改vip规则

This commit is contained in:
liuyuan
2025-03-12 10:21:24 +08:00
parent 655940c4f6
commit fee58a1e70
5 changed files with 228 additions and 144 deletions

View File

@@ -27,7 +27,7 @@
</view>
</view>
</view>
<view class="userInfoBox" style="margin-left: 30rpx;">
<view class="userInfoBox" style="margin-left: 20rpx;">
<template>
<view class="name">{{ userMes.nickname ? userMes.nickname : "未设置" }}</view>
</template>
@@ -36,7 +36,7 @@
</template>
<template v-if="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>
@@ -553,6 +553,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'){
@@ -831,7 +834,7 @@
background-color: transparent !important;
}
.bg_top {
padding: 0 20rpx;
padding: 0 10rpx 0 20rpx;
padding-top: 80rpx;
margin-bottom: 60rpx;
}
@@ -970,6 +973,13 @@
color: #fff;
margin-right: 8rpx;
}
.vip_type_item_len{
padding: 0 8rpx;
font-size: 14rpx;
line-height: 34rpx;
height: 34rpx;
margin-right: 5rpx;
}
.vip_type_item:last-child{
margin-right: 0;
}