From 5347b0042cb25d902012fe0e4d92781f81484966 Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Thu, 18 Dec 2025 20:29:32 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=B8=B8=E6=88=8F=E7=8E=8B=E6=B4=BB?= =?UTF-8?q?=E5=8A=A8):=20=E6=96=B0=E5=A2=9E=E5=90=8D=E7=A7=B0=E6=BB=9A?= =?UTF-8?q?=E5=8A=A8=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Ranking/GamesKing/components/topUser.vue | 100 ++++++++++++++++-- src/views/Ranking/GamesKing/index.vue | 44 ++++++-- 2 files changed, 125 insertions(+), 19 deletions(-) diff --git a/src/views/Ranking/GamesKing/components/topUser.vue b/src/views/Ranking/GamesKing/components/topUser.vue index 4526f2a..c066fb8 100644 --- a/src/views/Ranking/GamesKing/components/topUser.vue +++ b/src/views/Ranking/GamesKing/components/topUser.vue @@ -50,11 +50,68 @@ :style="{ height: bottomSectionHeight }" >
-
- {{ name }} + +
+ +
+
+ {{ name }} +
+ +
+ {{ distributionValue }} +
+
+ + +
+
+ {{ name }} +
+ +
+ {{ distributionValue }} +
+
@@ -166,7 +223,7 @@ const usernameAreaStyle = computed(() => { case '2': return 'height: 39%; width: 90%;' case '3': - return 'height: 26%; width: 75%;' + return 'height: 26%; width: 70%;' case '4': return 'height: 26%; width: 75%;' case '5-7': @@ -182,6 +239,11 @@ const usernameAreaStyle = computed(() => { const textSizeClass = computed(() => { return props.ranking === '1' ? 'top1Text' : 'text' }) + +// 是否为第一名 +const isTopOne = computed(() => { + return props.ranking === '1' +})