From a07a7e8444f73ea93bedfb358cfedeeb74e25c24 Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Fri, 10 Apr 2026 16:55:39 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=B9=B8=E8=BF=90=E7=BE=8E=E9=87=91?= =?UTF-8?q?=E7=AC=AC=E5=9B=9B=E6=9C=9F):=20=E8=B0=83=E6=95=B4=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E6=95=B0=E6=8D=AE=E5=92=8C=E5=80=92=E8=AE=A1=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Activities/LuckyDollars/Season4/index.vue | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/views/Activities/LuckyDollars/Season4/index.vue b/src/views/Activities/LuckyDollars/Season4/index.vue index d024c49..f807bc3 100644 --- a/src/views/Activities/LuckyDollars/Season4/index.vue +++ b/src/views/Activities/LuckyDollars/Season4/index.vue @@ -1849,9 +1849,9 @@ const handleBt = (type) => { selectedCoin.value = null // 清除选择币种 } -// 获取目标时间(2026年1月16日上午5点,北京时间) +// 获取目标时间(2026年4月30日上午5点,北京时间) const getTargetTime = () => { - const target = new Date(2026, 0, 16, 5, 0, 0) // 月份从0开始,10代表11月 + const target = new Date(2026, 3, 30, 5, 0, 0) // 月份从0开始,10代表11月 return target.getTime() } @@ -1922,8 +1922,8 @@ const showTarget = (task) => { let currentValue = timeType ? task.currentValue : task.currentValue / 60 let targetValue = timeType ? task.targetValue : task.targetValue / 60 // 直接去除小数部分(向下取整) - currentValue = Math.floor(currentValue) - targetValue = Math.floor(targetValue) + currentValue = Math.floor(currentValue * 10) / 10 + targetValue = Math.floor(targetValue * 10) / 10 let timeUnit = timeType ? t('minutes_short') : t('hours_short') return t('on_mic_progress', { @@ -1932,46 +1932,46 @@ const showTarget = (task) => { unit: timeUnit, }) } else if (task.targetType == 'SEND_GIFT') { - if (task.taskCode == 'SPINS_SEND_GIFT_5') { - return t('Gifts: 5 gifts({currentValue}/{targetValue})', { + if (task.taskCode == 'SP_SEND_GIFT_5') { + return t('Send 5 Ramadan gifts ({currentValue}/{targetValue})', { currentValue: task.currentValue, targetValue: task.targetValue, }) } - } else if (task.targetType == 'SPEND_COINS') { - if (task.taskCode == 'SPINS_SPEND_5000') { - return t('Spend 5000 coins in the game ({currentValue}/{targetValue})', { + } else if (task.targetType == 'SAVE_COINS') { + if (task.taskCode == 'SP_SAVE_50000') { + return t('Win 50,000 coins in total across any games ({currentValue}/{targetValue})', { currentValue: task.currentValue, targetValue: task.targetValue, }) - } else if (task.taskCode == 'SPINS_SPEND_10000') { - return t('Spend 10000 coins in the game ({currentValue}/{targetValue})', { + } else if (task.taskCode == 'SP_SAVE_100000') { + return t('Win 100,000 coins in total across any games ({currentValue}/{targetValue})', { currentValue: task.currentValue, targetValue: task.targetValue, }) - } else if (task.taskCode == 'SPINS_SPEND_50000') { - return t('Spend 50000 coins in the game ({currentValue}/{targetValue})', { + } else if (task.taskCode == 'SP_SAVE_500000') { + return t('Win 500,000 coins in total across any games ({currentValue}/{targetValue})', { currentValue: task.currentValue, targetValue: task.targetValue, }) } } else if (task.targetType == 'RECHARGE_AMOUNT') { - if (task.taskCode == 'SPINS_RECHARGE_1') { + if (task.taskCode == 'SP_RECHARGE_1') { return t('Daily total recharge amount: $1 ({currentValue}/{targetValue})', { currentValue: task.currentValue, targetValue: task.targetValue, }) - } else if (task.taskCode == 'SPINS_RECHARGE_10') { + } else if (task.taskCode == 'SP_RECHARGE_10') { return t('Daily total recharge amount: $10 ({currentValue}/{targetValue})', { currentValue: task.currentValue, targetValue: task.targetValue, }) - } else if (task.taskCode == 'SPINS_RECHARGE_50') { + } else if (task.taskCode == 'SP_RECHARGE_50') { return t('Daily total recharge amount: $50 ({currentValue}/{targetValue})', { currentValue: task.currentValue, targetValue: task.targetValue, }) - } else if (task.taskCode == 'SPINS_RECHARGE_100') { + } else if (task.taskCode == 'SP_RECHARGE_100') { return t('Daily total recharge amount: $100 ({currentValue}/{targetValue})', { currentValue: task.currentValue, targetValue: task.targetValue,