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' +})