From 4298961311ea5bb006ae0f3d73bd74ba7b1b0e8d Mon Sep 17 00:00:00 2001 From: Alirea <2981883527@qq.com> Date: Mon, 15 Sep 2025 10:42:23 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E5=A2=9E=E5=8A=A0=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E5=85=B3=E5=8D=A1=E6=9C=80=E5=A4=A7=E6=98=BE=E7=A4=BA=E6=95=B0?= =?UTF-8?q?=E5=88=B05=EF=BC=8C=E5=9C=A81080P=E4=B8=8B=E8=BE=BE=E5=88=B0?= =?UTF-8?q?=E6=9C=80=E4=BD=B3=E6=95=88=E6=9E=9C=EF=BC=8C=E5=B9=B6=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=93=8D=E5=BA=94=E5=BC=8F=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/Home.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vue index 3f886d7..c609472 100644 --- a/frontend/src/views/Home.vue +++ b/frontend/src/views/Home.vue @@ -530,7 +530,7 @@ onMounted(() => { .resource-list { display: grid; - grid-template-columns: repeat(4, 1fr); + grid-template-columns: repeat(5, 1fr); gap: 16px; } @@ -723,6 +723,13 @@ onMounted(() => { padding: 40px 0; } +@media (max-width: 1500px) { + .activity-list, + .resource-list { + grid-template-columns: repeat(4, 1fr); + } +} + @media (max-width: 1200px) { .activity-list, .resource-list { @@ -730,13 +737,6 @@ onMounted(() => { } } -@media (max-width: 900px) { - .activity-list, - .resource-list { - grid-template-columns: repeat(2, 1fr); - } -} - /* 代理状态样式 */ .proxy-card { margin-bottom: 24px;