fix(总排行榜): 初始化发送接口的参数没更新

This commit is contained in:
hzj 2025-11-28 11:50:21 +08:00
parent aa5e652046
commit e4267b12f5

View File

@ -447,6 +447,8 @@ watchEffect(() => {
rankItemBackground.value =
'linear-gradient(97deg, rgba(50, 34, 21, 0.60) 12.03%, rgba(99, 52, 33, 0.60) 100.37%)'
rankItemBorder.value = 'solid #FFA166'
params_type.value = 'GIFTS_SEND'
}
if (rankingType.value == 'Charm') {
backgroundColor.value = '#112C1E'
@ -459,6 +461,8 @@ watchEffect(() => {
rankItemBackground.value =
'linear-gradient(97deg, rgba(21, 50, 22, 0.60) 12.03%, rgba(33, 99, 40, 0.60) 100.37%)'
rankItemBorder.value = 'solid #66FF82'
params_type.value = 'GIFTS_RECEIVED'
}
if (rankingType.value == 'Room') {
backgroundColor.value = '#211031'
@ -471,6 +475,8 @@ watchEffect(() => {
rankItemBackground.value =
'linear-gradient(97deg, rgba(33, 21, 50, 0.60) 12.03%, rgba(60, 33, 99, 0.60) 100.37%)'
rankItemBorder.value = 'solid #A366FF'
params_type.value = 'ROOM_GIFTS'
}
})