style: 优化vip到期时间展示

This commit is contained in:
ccnetcore
2026-02-07 01:31:25 +08:00
parent f7eb1b7048
commit 097798268b

View File

@@ -54,7 +54,7 @@ const vipRemainingDays = computed(() => {
// VIP到期状态文本
const vipExpireStatusText = computed(() => {
if (!userVipStatus.value) return '';
if (!vipExpireTime.value) return '永久VIP';
if (!vipExpireTime.value) return '-';
if (vipRemainingDays.value === null) return '';
if (vipRemainingDays.value < 0) return '已过期';
if (vipRemainingDays.value === 0) return '今日到期';
@@ -202,7 +202,7 @@ function bindWechat() {
{{ formatDate(vipExpireTime)?.split(' ')[0] || '-' }}
</template>
<template v-else>
永久
-
</template>
</div>
<div class="stat-label">