替换图片

This commit is contained in:
Dragon
2024-03-27 17:59:34 +08:00
parent bfac90f0d5
commit 4f23c91703
6 changed files with 3 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 KiB

After

Width:  |  Height:  |  Size: 240 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 341 KiB

After

Width:  |  Height:  |  Size: 329 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 356 KiB

After

Width:  |  Height:  |  Size: 345 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 414 KiB

After

Width:  |  Height:  |  Size: 414 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 414 KiB

View File

@@ -417,7 +417,7 @@ function giftGetRank (rankType, date) {
top3.forEach((res, i) => { top3.forEach((res, i) => {
$(`.page4 .top3 .no${i + 1} .tx`).attr('src', res.avatar); $(`.page4 .top3 .no${i + 1} .tx`).attr('src', res.avatar);
$(`.page4 .top3 .no${i + 1} .nick`).text(res.nick); $(`.page4 .top3 .no${i + 1} .nick`).text(res.nick);
$(`.page4 .top3 .no${i + 1} .score`).html(`${rankType == 1 || rankType == 2 ? '愚樂值' : '樂值'}<br>` + unitProcessing(res.score, 10000, 1, 'w')) $(`.page4 .top3 .no${i + 1} .score`).html(`${rankType == 1 || rankType == 2 ? '愚樂值' : '樂值'}<br>` + unitProcessing(res.score, 10000, 1, 'w'))
}) })
// 非前三 // 非前三
var str = ''; var str = '';
@@ -428,7 +428,7 @@ function giftGetRank (rankType, date) {
<div class="num">${res.ranking}.</div> <div class="num">${res.ranking}.</div>
<img src="${res.avatar}" alt="" class="tx"> <img src="${res.avatar}" alt="" class="tx">
<div class="nick">${res.nick}</div> <div class="nick">${res.nick}</div>
<div class="score">${rankType == 1 || rankType == 2 ? '愚樂值' : '樂值'}: ${unitProcessing(res.score, 10000, 1, 'w')}</div> <div class="score">${rankType == 1 || rankType == 2 ? '愚樂值' : '樂值'}: ${unitProcessing(res.score, 10000, 1, 'w')}</div>
</li> </li>
` `
}) })
@@ -437,7 +437,7 @@ function giftGetRank (rankType, date) {
$('.page4 .my .num').text(res.data.meRank.ranking == 0 ? '未上榜' : res.data.meRank.ranking); $('.page4 .my .num').text(res.data.meRank.ranking == 0 ? '未上榜' : res.data.meRank.ranking);
$('.page4 .my .tx').attr('src', res.data.meRank.avatar); $('.page4 .my .tx').attr('src', res.data.meRank.avatar);
$('.page4 .my .nick').text(res.data.meRank.nick); $('.page4 .my .nick').text(res.data.meRank.nick);
$('.page4 .my .score').text(`${rankType == 1 || rankType == 2 ? '愚樂值' : '樂值'}` + unitProcessing(res.data.meRank.score, 10000, 1, 'w')); $('.page4 .my .score').text(`${rankType == 1 || rankType == 2 ? '愚樂值' : '樂值'}` + unitProcessing(res.data.meRank.score, 10000, 1, 'w'));
} else { } else {
toastMsg(res.message) toastMsg(res.message)
} }