From 785ace137d7c97ac34ca03a0d8ebc3170eca15f5 Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Fri, 28 Nov 2025 18:44:50 +0800 Subject: [PATCH] =?UTF-8?q?chore(=E6=B8=B8=E6=88=8F=E6=B4=BB=E5=8A=A8?= =?UTF-8?q?=E9=A1=B5):=20=E5=A2=9E=E5=8A=A0=E7=BE=8E=E5=85=83=E5=9B=BE?= =?UTF-8?q?=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Activities/Game/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/Activities/Game/index.vue b/src/views/Activities/Game/index.vue index cb13141..ba62dfd 100644 --- a/src/views/Activities/Game/index.vue +++ b/src/views/Activities/Game/index.vue @@ -521,9 +521,11 @@ const getCountdown = () => { // 格式化奖励的展示信息 const showDetail = (type, reward) => { - let showamount = ['GOLD', 'DIAMOND', 'GIFT', 'FRAGMENTS', 'DOLLARS'] + let showamount = ['GOLD', 'DIAMOND', 'GIFT', 'FRAGMENTS'] if (showamount.includes(type)) { return reward.content + } else if (type === 'DOLLARS') { + return `$${reward.content}` } else { return `${reward.quantity}Days` }