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,