From ad37da5a4a15e7ce84f0ff04ac965a8d823f719e Mon Sep 17 00:00:00 2001 From: dragon <3013557874@qq.com> Date: Thu, 5 Dec 2024 21:13:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E9=99=A4=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/molistar/modules/weekStar/js/index.js | 3 +- .../modules/weekStar/newWeekStar.html | 30 +++++++++---------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/view/molistar/modules/weekStar/js/index.js b/view/molistar/modules/weekStar/js/index.js index 1829dd29..8ef006d1 100644 --- a/view/molistar/modules/weekStar/js/index.js +++ b/view/molistar/modules/weekStar/js/index.js @@ -141,7 +141,8 @@ function getConfig() { // 渲染倒计时 countup(res.data.endTime - res.timestamp); // 处理上周榜单前三 - const lastWeekRankList = res.data.lastWeekStar && res.data.lastWeekList.weekStarRankList ? + console.log(res.data.lastWeekStar.weekStarRankList); + const lastWeekRankList = res.data.lastWeekStar && res.data.lastWeekStar.weekStarRankList ? res.data.lastWeekStar.weekStarRankList : []; lastWeekList(lastWeekRankList); // 处理本周礼物渲染 diff --git a/view/molistar/modules/weekStar/newWeekStar.html b/view/molistar/modules/weekStar/newWeekStar.html index 8435acd1..74914f57 100644 --- a/view/molistar/modules/weekStar/newWeekStar.html +++ b/view/molistar/modules/weekStar/newWeekStar.html @@ -6,7 +6,7 @@ - + @@ -94,15 +94,15 @@
- 礼物昵称 +
- 礼物昵称 +
- 礼物昵称 +
@@ -115,7 +115,7 @@ 0.00 -
虚位以待
+
ID:0
@@ -125,7 +125,7 @@ 0.00
-
虚位以待
+
ID:0
@@ -135,7 +135,7 @@ 0.00
-
虚位以待
+
ID:0
@@ -148,7 +148,7 @@
04
-

虚位以待

+

ID:0
@@ -169,7 +169,7 @@
04
-

虚位以待

+

ID:0
@@ -211,10 +211,10 @@ - - - - + + + + - - \ No newline at end of file + + \ No newline at end of file