修复bug

This commit is contained in:
Dragon
2024-03-26 20:48:39 +08:00
parent db4564f660
commit 260a862cd0

View File

@@ -181,7 +181,7 @@ function getRank () {
networkRequest({
type: 'get',
url: urlPrefix + '/act/2023Halloween/rank/getRank',
data: { rankType: 4 },
data: { rankType: 4, pageSize: 15, },
success (res) {
if (res.code === 200) {
// 處理前三
@@ -266,7 +266,7 @@ function getRooms () {
$('.page2 .topRoom .tx').attr('src', top[0].roomAvatar);
$('.page2 .topRoom .roomName').text(top[0].roomTitle);
$('.page2 .topRoom .score b').text(top[0].percentage + '%');
$('.page2 .topLine div').css('width', top[0].percentage);
$('.page2 .topLine div').css('width', top[0].percentage + '%');
$('.page2 .topLine span').text(`${top[0].activityValue}/${top[0].conditionValue}`);
$('.page2 .page2ToRoomBut').attr("uid", top[0].roomUid);
$('.page2 .page2ToRoomBut').attr("src", top[0].isUnderway ? './images/page2ToRoomBut.png' : './images/page2ToRoomBut2.png');