From d4958bcf867a1a0c2906ed4499e5badd4555ff5b Mon Sep 17 00:00:00 2001 From: qiaofie Date: Fri, 7 Mar 2025 16:40:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E4=B8=89nick?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/molistar/activity/gameChallenge/index.html | 12 ++++++------ view/molistar/activity/gameChallenge/js/index.js | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/view/molistar/activity/gameChallenge/index.html b/view/molistar/activity/gameChallenge/index.html index 9270976..fc187d8 100644 --- a/view/molistar/activity/gameChallenge/index.html +++ b/view/molistar/activity/gameChallenge/index.html @@ -69,14 +69,14 @@ -
名字
+
ID:0
-
名字
+
ID:0
Behind 0K @@ -87,7 +87,7 @@ -
名字
+
ID:0
Behind 0K @@ -102,7 +102,7 @@
-

名字

+

ID:1234567
@@ -119,7 +119,7 @@
-

名字

+

ID:1234567
@@ -258,4 +258,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/view/molistar/activity/gameChallenge/js/index.js b/view/molistar/activity/gameChallenge/js/index.js index 8342625..f9c2480 100644 --- a/view/molistar/activity/gameChallenge/js/index.js +++ b/view/molistar/activity/gameChallenge/js/index.js @@ -151,7 +151,7 @@ function getInit() { let prevScore = null; // 记录上一名的score listTo3.forEach((res, i) => { $(`.page1 .top .top${i + 1} .tx`).attr('src', res.avatar); - $(`.page1 .top .top${i + 1} .name`).html(res.name); + $(`.page1 .top .top${i + 1} .name`).html(res.nick); $(`.page1 .top .top${i + 1} .icon`).attr('src', res.vipLevel ? `./images/vip/${res.vipLevel}.png` : ''); $(`.page1 .top .top${i + 1} .id`).html('ID:' + res.erbanNo); // 计算当前与上一名的差值