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; }