From 44d7d0b219b8cd225ed6984f4cda6e5e5b4c11c7 Mon Sep 17 00:00:00 2001 From: fengpu <18691763612@163.com> Date: Sun, 20 Sep 2026 10:48:51 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AF=BC=E8=88=AA=E9=A1=B5=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nutritionist/workbench/employee-list.html | 14 -------------- index.html | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/emergency-app/nutritionist/workbench/employee-list.html b/emergency-app/nutritionist/workbench/employee-list.html index deee073..5433f78 100644 --- a/emergency-app/nutritionist/workbench/employee-list.html +++ b/emergency-app/nutritionist/workbench/employee-list.html @@ -20,9 +20,6 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items: .search-bar { background: #fff; padding: 10px 16px; border-bottom: 1px solid #f0f0f0; flex-shrink: 0; } .search-input { display: flex; align-items: center; gap: 8px; background: #f5f5f5; border-radius: 20px; padding: 8px 14px; } .search-input input { flex: 1; border: none; background: none; font-size: 14px; outline: none; color: #1a1a1a; } -.filter-row { display: flex; gap: 8px; margin-top: 8px; } -.filter-chip { flex: 1; text-align: center; font-size: 12px; padding: 6px 0; border-radius: 16px; background: #f5f5f5; color: #666; cursor: pointer; } -.filter-chip.active { background: #e6f4ff; color: #1677ff; font-weight: 600; } /* Tab */ .seg-tabs { display: flex; background: #fff; border-bottom: 1px solid #f0f0f0; flex-shrink: 0; } .seg-tab { flex: 1; text-align: center; padding: 12px 0; font-size: 14px; color: #666; cursor: pointer; border-bottom: 2px solid transparent; } @@ -68,12 +65,6 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items: 🔍 -
-
全部单位
-
机关
-
采油一厂
-
信息中心
-
@@ -196,11 +187,6 @@ function switchTab(el, panelId) { }); } -/* 单位筛选 */ -function filterChip(el) { - el.parentElement.querySelectorAll('.filter-chip').forEach(function(c) { c.classList.remove('active'); }); - el.classList.add('active'); -} diff --git a/index.html b/index.html index dd01ef9..cc6ebe9 100644 --- a/index.html +++ b/index.html @@ -33,7 +33,7 @@ body { background: var(--background); font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', 'Segoe UI', sans-serif; color: var(--text-primary); min-height: 100vh; } /* ===== Header ===== */ -.header { position: relative; background: linear-gradient(135deg, #0b3d91 0%, var(--primary) 40%, #4facfe 100%); color: #fff; padding: 40px 48px 20px; overflow: hidden; } +.header { position: sticky; top: 0; z-index: 300; background: linear-gradient(135deg, #0b3d91 0%, var(--primary) 40%, #4facfe 100%); color: #fff; padding: 40px 48px 20px; overflow: hidden; } .header::before { content: ''; position: absolute; top: -60px; right: -40px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%); border-radius: 50%; } .header::after { content: ''; position: absolute; bottom: -80px; left: 20%; width: 360px; height: 360px; background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%); border-radius: 50%; } .header__inner { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; text-align: center; }