@@ -453,8 +453,7 @@
width: 77px;
height: 20px;
background: url('./new-images/icon-permanent1.png') no-repeat center;
- background-size: contain;
-
+ background-size: cover;
}
.s_title {
@@ -546,7 +545,7 @@
left: -2px;
top: -2px;
background: url('./new-images/icon-permanent.png') no-repeat center;
width: 61px;
height: 16px;
@@ -113,7 +113,9 @@ export default defineComponent({
return 'NOT_VIP'
} else if (state.tabActive === 'VIP') {
- if (
+ if (userInfo.value.userVip?.vipType === 'PERMANENT_SVIP') {
+ return 'PERMANENT'
+ } else if (
userInfo.value.userVip?.vipType === 'VIP' ||
userInfo.value.userVip?.vipEndDays > 0
) {