From d1a736197c88f7cfa2da178187afd63fd93cab74 Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Mon, 27 Oct 2025 15:53:53 +0800 Subject: [PATCH] =?UTF-8?q?style(=E6=8E=92=E8=A1=8C=E6=A6=9C=E9=A1=B5):=20?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Ranking/topUser.vue | 28 ++++++++++++++++++++++++++-- src/views/Ranking/Ranking.vue | 2 +- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/src/components/Ranking/topUser.vue b/src/components/Ranking/topUser.vue index c5df585..73bf859 100644 --- a/src/components/Ranking/topUser.vue +++ b/src/components/Ranking/topUser.vue @@ -156,10 +156,34 @@ const defaultAvatarUrl = (e) => { } .top1Text { - font-size: 1em; + font-size: 0.9em; } .text { - font-size: 0.9em; + font-size: 0.8em; +} + +@media screen and (max-width: 360px) { + * { + font-size: 10px; + } +} + +@media screen and (min-width: 360px) { + * { + font-size: 14px; + } +} + +@media screen and (min-width: 768px) { + * { + font-size: 24px; + } +} + +@media screen and (min-width: 1024px) { + * { + font-size: 32px; + } } diff --git a/src/views/Ranking/Ranking.vue b/src/views/Ranking/Ranking.vue index eaa6763..a2f9f4b 100644 --- a/src/views/Ranking/Ranking.vue +++ b/src/views/Ranking/Ranking.vue @@ -171,7 +171,7 @@ aspect-ratio: 1/1; margin: 0 4px; " - :style="{ borderRadius: rankingType === 'Room' ? '0' : '50%' }" + :style="{ borderRadius: rankingType === 'Room' ? '10%' : '50%' }" @error="defaultAvatarUrl" />