From 524de4c289190669a3b66655638f530582e0f0b9 Mon Sep 17 00:00:00 2001 From: liuyunqin Date: Fri, 5 Jun 2026 09:30:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B4=BB=E5=8A=A8=E5=88=97=E8=A1=A8Tab?= =?UTF-8?q?=E9=A1=BA=E5=BA=8F=E4=BA=A4=E6=8D=A2+=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E6=96=87=E6=A1=88=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 已参加/待参加Tab换顺序,已参加默认选中 - 待参加Tab添加红圈badge显示待参加数量 - 待参加活动状态'未开始'改为'待开始' - 已参加列表新增进行中状态活动卡片 Co-Authored-By: Claude Opus 4.8 --- .../health-monitor/health-checkup/index.html | 60 +++++++++++++------ 1 file changed, 43 insertions(+), 17 deletions(-) diff --git a/employee-app/health-monitor/health-checkup/index.html b/employee-app/health-monitor/health-checkup/index.html index 48aa96e..74c2857 100644 --- a/employee-app/health-monitor/health-checkup/index.html +++ b/employee-app/health-monitor/health-checkup/index.html @@ -23,6 +23,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items: .tab-item { flex: 1; text-align: center; padding: 10px 0 12px; font-size: 14px; color: #999; cursor: pointer; position: relative; font-weight: 500; transition: color 0.2s; } .tab-item.active { color: #667eea; font-weight: 600; } .tab-item.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 3px; background: #667eea; border-radius: 2px; } +.tab-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; background: #ff4d4f; color: #fff; font-size: 11px; font-weight: 700; border-radius: 9px; line-height: 1; margin-left: 4px; vertical-align: middle; } /* 活动列表 */ .activity-section { padding: 12px; } @@ -92,8 +93,8 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
-
待参加
-
已参加
+
已参加
+
待参加2
@@ -101,7 +102,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items: -