修复bug
This commit is contained in:
@@ -181,7 +181,7 @@ function getRank () {
|
|||||||
networkRequest({
|
networkRequest({
|
||||||
type: 'get',
|
type: 'get',
|
||||||
url: urlPrefix + '/act/2023Halloween/rank/getRank',
|
url: urlPrefix + '/act/2023Halloween/rank/getRank',
|
||||||
data: { rankType: 4 },
|
data: { rankType: 4, pageSize: 15, },
|
||||||
success (res) {
|
success (res) {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
// 處理前三
|
// 處理前三
|
||||||
@@ -266,7 +266,7 @@ function getRooms () {
|
|||||||
$('.page2 .topRoom .tx').attr('src', top[0].roomAvatar);
|
$('.page2 .topRoom .tx').attr('src', top[0].roomAvatar);
|
||||||
$('.page2 .topRoom .roomName').text(top[0].roomTitle);
|
$('.page2 .topRoom .roomName').text(top[0].roomTitle);
|
||||||
$('.page2 .topRoom .score b').text(top[0].percentage + '%');
|
$('.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 .topLine span').text(`${top[0].activityValue}/${top[0].conditionValue}`);
|
||||||
$('.page2 .page2ToRoomBut').attr("uid", top[0].roomUid);
|
$('.page2 .page2ToRoomBut').attr("uid", top[0].roomUid);
|
||||||
$('.page2 .page2ToRoomBut').attr("src", top[0].isUnderway ? './images/page2ToRoomBut.png' : './images/page2ToRoomBut2.png');
|
$('.page2 .page2ToRoomBut').attr("src", top[0].isUnderway ? './images/page2ToRoomBut.png' : './images/page2ToRoomBut2.png');
|
||||||
|
Reference in New Issue
Block a user