From eb7bce2289148efac4a9293847cdc0cdd3f6c342 Mon Sep 17 00:00:00 2001 From: zoujing Date: Tue, 22 Sep 2026 17:09:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=B1=95=E7=A4=BA=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BenefitCard/index.vue | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/components/BenefitCard/index.vue b/src/components/BenefitCard/index.vue index 35b3d02..b46ff84 100644 --- a/src/components/BenefitCard/index.vue +++ b/src/components/BenefitCard/index.vue @@ -74,8 +74,8 @@ const slogan = computed(() => const validText = computed(() => { const { valid_until: until, valid_days: days } = b.value; - if (until) return `有效期至 ${dotDate(until)}`; - if (days) return `有效期:${days} 天`; + if (until) return `有效至 ${dotDate(until)}`; + if (days) return `有效期 ${days} 天`; return "长期有效"; }); @@ -197,16 +197,15 @@ const onTap = () => { {{ b.title || b.special_notes || b.description || b.merchant_name || "" }} - + - + {{ validText }} - - - {{ secondMeta.text }} + + + {{ secondMeta.text }}