From 764fd18fd20751db8c0c074acb56fb7599ad53b0 Mon Sep 17 00:00:00 2001 From: shen <> Date: Mon, 8 Jun 2026 21:18:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BA=8C=E7=BB=B4=E7=A0=81=E6=94=BE?= =?UTF-8?q?=E5=A4=A7=E5=BC=B9=E7=AA=97=E5=85=B3=E9=97=AD=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E5=AE=9A=E4=BD=8D=E5=88=B0=E5=8F=B3=E4=B8=8A=E8=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/HistoryView.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/HistoryView.vue b/frontend/src/views/HistoryView.vue index 589640b..fdbf8c0 100644 --- a/frontend/src/views/HistoryView.vue +++ b/frontend/src/views/HistoryView.vue @@ -490,7 +490,10 @@ const errorCategoryLabel = (cat) => { .btn-danger:hover { background: #ff4d4f; color: white; } /* 二维码放大弹窗 */ -.qr-preview-modal { background: white; border-radius: 12px; padding: 24px; width: 380px; text-align: center; } +.qr-preview-modal { background: white; border-radius: 12px; padding: 24px; width: 380px; text-align: center; position: relative; } +.qr-preview-modal .modal-header { display: flex; justify-content: center; align-items: center; position: relative; margin-bottom: 16px; } +.qr-preview-modal .modal-close { position: absolute; right: 0; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 20px; cursor: pointer; color: #999; } +.qr-preview-modal .modal-close:hover { color: #333; } .qr-preview-img { width: 260px; height: 260px; border: 1px solid #f0f0f0; border-radius: 8px; margin: 16px 0; } .qr-preview-info { text-align: left; padding: 12px 16px; background: #fafafa; border-radius: 8px; } .qr-preview-info p { margin: 6px 0; font-size: 13px; color: #555; }