From 78bbd96a57b9b73fa8f5f3338dc2adc6c7467ed4 Mon Sep 17 00:00:00 2001 From: yangbin Date: Fri, 16 Oct 2026 16:31:40 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=A1=86=E6=9E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/layouts/BasicLayout.vue | 17 ++++++++++++++- frontend/src/views/Dashboard.vue | 32 +++++++++++++++++++--------- 2 files changed, 38 insertions(+), 11 deletions(-) diff --git a/frontend/src/layouts/BasicLayout.vue b/frontend/src/layouts/BasicLayout.vue index 80c0efc..e75bcc4 100644 --- a/frontend/src/layouts/BasicLayout.vue +++ b/frontend/src/layouts/BasicLayout.vue @@ -72,8 +72,23 @@ function logout() { align-items: center; gap: 32px; padding: 0 24px; - background: var(--header-bg) var(--nav-bg-img) center / cover no-repeat; + background: var(--header-bg); color: #fff; + position: relative; + + &::before { + content: ''; + position: absolute; + inset: 0; + background: var(--nav-bg-img) center / cover no-repeat; + filter: var(--hero-filter); + z-index: 0; + } + + > * { + position: relative; + z-index: 1; + } } .logo-img { diff --git a/frontend/src/views/Dashboard.vue b/frontend/src/views/Dashboard.vue index 172120c..796dbe2 100644 --- a/frontend/src/views/Dashboard.vue +++ b/frontend/src/views/Dashboard.vue @@ -103,13 +103,16 @@ function doSearch() { } .searchbox { - display: flex; background: #fff; - border-radius: 6px; - padding: 6px; - gap: 6px; + border-radius: 8px; + padding: 8px; + box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28); +} + +.row1 { + display: flex; + gap: 8px; align-items: center; - box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); } .sel { width: 120px; flex: none; } @@ -137,14 +140,23 @@ function doSearch() { .btn.ghost { background: #fff; color: var(--brand-primary); border: 1px solid var(--brand-primary); } .types { - margin-top: 22px; + margin-top: 8px; + padding: 8px 6px 2px; display: flex; - gap: 26px; - justify-content: center; - color: rgba(255, 255, 255, 0.9); + gap: 18px; + align-items: center; + color: #4b5563; font-size: 13px; + border-top: 1px solid #eef1f6; - label { display: flex; align-items: center; gap: 6px; cursor: pointer; } + .lbl { color: #6b7280; } + + label { + display: flex; + align-items: center; + gap: 5px; + cursor: pointer; + } } .hot {