From 86315241074d51490796131390cd8329edbdb007 Mon Sep 17 00:00:00 2001 From: q Date: Fri, 11 Jul 2025 11:51:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E5=B8=83=E5=B1=80?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web-front/src/views/Home.vue | 31 ++++++++++++++++++++++++++++--- web-front/src/views/ShowList.vue | 2 +- 2 files changed, 29 insertions(+), 4 deletions(-) diff --git a/web-front/src/views/Home.vue b/web-front/src/views/Home.vue index f96f18d..3b6b153 100644 --- a/web-front/src/views/Home.vue +++ b/web-front/src/views/Home.vue @@ -587,9 +587,17 @@ body.dark-theme { } @media screen and (max-width: 700px) { - .box-card { - margin-top: 1em !important; - margin-bottom: 1em !important; + #app { + padding-left: 0 !important; + padding-right: 0 !important; + margin: 0 !important; /* 关键:去掉 auto 居中 */ + max-width: 100vw !important; + } + #app .box-card { + margin: 1em 4px !important; /* 上下1em,左右4px */ + width: auto !important; + max-width: 100vw !important; + box-sizing: border-box; } } @@ -790,4 +798,21 @@ hr { #app.jv-container .jv-item.jv-object { color: #32ba6d; } + +.feedback-bar { + width: 100%; + max-width: 700px; /* 和 .box-card 保持一致 */ + margin: 0 auto; /* 居中 */ + text-align: right; + padding: 10px 24px 0 0; /* 右侧内边距和卡片内容对齐 */ + box-sizing: border-box; +} + +@media screen and (max-width: 700px) { + .feedback-bar { + max-width: 480px; /* 和移动端卡片宽度一致 */ + padding-right: 8px; /* 和卡片内容对齐 */ + padding-left: 8px; + } +} diff --git a/web-front/src/views/ShowList.vue b/web-front/src/views/ShowList.vue index b668205..3d88858 100644 --- a/web-front/src/views/ShowList.vue +++ b/web-front/src/views/ShowList.vue @@ -16,7 +16,7 @@
加载中...
{{ error }}
-