chore(游戏活动页): 增加美元图标

This commit is contained in:
hzj 2025-11-28 18:44:50 +08:00
parent 68cb588c35
commit 785ace137d

View File

@ -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`
}