处理等级不显示异常

This commit is contained in:
dragon
2024-12-30 18:26:01 +08:00
parent f455500f57
commit 575f8f0704

View File

@@ -137,7 +137,7 @@ function getConfig() {
listTo3.forEach((res, i) => {
$(`.page1 .top .top${i + 1} .tx`).attr('src', res.avatar);
$(`.page1 .top .top${i + 1} .name b`).text(res.name);
$(`.page1 .top .top1${i + 1} .name img`).text(res.experUrl);
$(`.page1 .top .top${i + 1} .name img`).attr('src', res.userLevelVo.experUrl);
$(`.page1 .top .top${i + 1} .id`).text('ID:' + res.erbanNo);
$(`.page1 .top .top${i + 1} .score b`).text(unitProcessingAr(res.totalNum));
if (res.erbanNo == null) {
@@ -153,7 +153,7 @@ function getConfig() {
$('.page1 .my .tx').text("src", my.avatar);
$('.page1 .my .num').text(my.rank == 0 ? '30+' : my.rank);
$('.page1 .my .info p b').text(my.name);
$('.page1 .my .info p img').text(my.experUrl);
$('.page1 .my .info p img').attr('src', res.data.myRank.userLevelVo.experUrl);
$('.page1 .my .info span').text(`ID:${my.erbanNo}`);
$('.page1 .my .score b').text(unitProcessingAr(my.totalNum, 1));
} else {
@@ -183,7 +183,7 @@ function loadMore() {
<div class="info">
<p>
<b>${res.name}</b>
<img src="${res.experUrl}" alt="" class="icon">
<img src="${res.userLevelVo.experUrl}" alt="" class="icon">
</p>
<span>ID:${res.erbanNo}</span>
</div>