From 6f278c2330128a9c2cab8cc50293a81de0a6cc26 Mon Sep 17 00:00:00 2001 From: ZF sun <34314687@qq.com> Date: Thu, 13 Nov 2025 10:29:57 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=BB=E5=8A=A8=E7=AB=AF=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=B7=A6=E5=8F=B3=E6=A0=87=E9=A2=98=E8=AF=AD=E7=9A=84?= =?UTF-8?q?=E6=94=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 11 ++++++++++- src/views/BattleRanking.vue | 22 ++++++++++++++-------- 2 files changed, 24 insertions(+), 9 deletions(-) diff --git a/src/App.vue b/src/App.vue index 8f6c5f0..c15d605 100644 --- a/src/App.vue +++ b/src/App.vue @@ -73,7 +73,16 @@ /* 移动设备上隐藏左右标题语,避免遮挡主要内容 */ .banner-left, .banner-right { - display: none; + scale: 0.4; + top: 60px; + } + + .banner-left { + margin-left: -28px; + } + + .banner-right{ + margin-right: -28px; } /* 移动设备上的logo样式 - 保持相对于content-container定位 */ diff --git a/src/views/BattleRanking.vue b/src/views/BattleRanking.vue index 2ed8868..48f3a74 100644 --- a/src/views/BattleRanking.vue +++ b/src/views/BattleRanking.vue @@ -1661,11 +1661,7 @@ onUnmounted(() => { border-radius: 10px; background: rgba(255, 255, 255, 0.95); } - - .game-subtitle { - font-size: 1.2rem; - } - + /* 表格调整 */ .rank-table { min-height: 250px; @@ -1673,9 +1669,14 @@ onUnmounted(() => { overflow-x: auto; /* 允许横向滚动 */ } - .table-header, + .table-header { + font-size: 1rem; + padding: 8px 6px; + min-width: 500px; + } + .table-row { - font-size: 0.8rem; + font-size: 0.9rem; padding: 8px 6px; min-width: 500px; } @@ -1741,7 +1742,12 @@ onUnmounted(() => { /* 针对极小屏幕的特殊处理 */ @media (max-width: 480px) { - .table-header, + .table-header { + font-size: 0.9rem; + padding: 8px 6px; + min-width: 450px; + } + .table-row { min-width: 450px; font-size: 0.75rem;