From 573e16870294eba23ec2c9b0b271eafa99204ccb Mon Sep 17 00:00:00 2001 From: HenryDu8133 <813367384@qq.com> Date: Sat, 19 Sep 2026 08:30:59 +0800 Subject: [PATCH] =?UTF-8?q?feat(admin-ui):=20=E7=AE=A1=E7=90=86=E5=90=8E?= =?UTF-8?q?=E5=8F=B0=E6=95=B4=E4=BD=93=E5=88=87=E6=8D=A2=E4=B8=BA=E6=B5=85?= =?UTF-8?q?=E8=89=B2=E4=B8=BB=E9=A2=98(ModernLight)=20+=20=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=20lightbulb=20=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. layout(管理控制台 dashboard.vue): main bg-[#09090b] text-zinc-100 → bg-[#f8fafc] text-zinc-900; header bg-zinc-950/60 border-zinc-800 → bg-white/80 border-zinc-200; 移动菜单按钮/新手引导按钮 text-zinc-300/400 hover:bg-zinc-800 → text-zinc-600 hover:bg-zinc-100 border-zinc-200 2. Admin/Sidebar.vue: bg-[#09090b] border-zinc-800 → bg-white border-zinc-200 + shadow-sm; 标题 text-zinc-100 → 900; activeTab bg-blue-600/10 text-blue-400 → bg-blue-50 text-blue-700 border-blue-200; 未选中 text-zinc-500 hover:text-zinc-200 hover:bg-zinc-800/40 → text-zinc-600 hover:text-zinc-900 hover:bg-zinc-100; 用户卡 avatar/首字母 bg-white/70 border-zinc-200 + 退出按钮 hover:bg-red-50 text-red-600 3. 批量 33 个 Admin 组件硬编码深色原子类 1414 处替换(bg-zinc-9xx / border-zinc-8xx / text-zinc-100,200,300 / shadow-black/ -> 对应 light 版本) + style 块原生 CSS rgba(255,255,255,x) 16 处改为 rgba(0,0,0,x) / var 浅色主题 + 硬编码 bg-[#0c0c0e] / border-white/10 / color:white / surface-primary fallback 对应浅色修正 4. 二轮批量追加: bg-zinc-950 + opacity 变体(80/60/50/40/30/20/10) 共 431 处 → bg-white 对应 opacity 版本;placeholder:text-zinc-800 → 500;text-blue/red/emerald/amber/rose/purple 400 版 → 700/600 深浅一致版;border color /500 /30 → 200;focus:ring /20 → /30;shadow color 阴影降低强度 5. hover:text-white 扫尾: 13 处 DataAnalysisPanel/DatabaseManager/NotificationSender/SemesterManager/SongManagement/UserSongsModal hover 文本从 white → zinc-900;按钮三态从 hover:bg-*600 白字 → hover:bg-*-100/200 对应深字色,和前台 indigo/浅色体系保持一致 6. BlacklistManager 前台可见提示 💡→ ;ChangelogManager 徽章色从 emerald-300/blue-300/zinc-400 → emerald-700/blue-700/zinc-600 可读;Icon.vue 新增 lightbulb 分支 stroke 图标 7. 受影响文件: dashboard.vue + Sidebar.vue + Icon.vue + Admin/* (33个组件共 1874 处批量替换 + 20 处手工精细化修正) --- app/components/Admin/AdminDatePicker.vue | 32 +-- app/components/Admin/AdminMultiDatePicker.vue | 34 +-- .../Admin/AdminOnboardingTutorial.vue | 20 +- app/components/Admin/ApiKeyManager.vue | 118 +++++----- app/components/Admin/BackupManager.vue | 6 +- app/components/Admin/BatchUpdateModal.vue | 78 +++---- app/components/Admin/BlacklistManager.vue | 77 +++---- app/components/Admin/ChangelogManager.vue | 44 ++-- app/components/Admin/DataAnalysisPanel.vue | 94 ++++---- app/components/Admin/DatabaseManager.vue | 96 ++++---- app/components/Admin/EmailTemplateManager.vue | 50 ++--- app/components/Admin/ExpectedPlayDates.vue | 70 +++--- app/components/Admin/NotificationSender.vue | 52 ++--- app/components/Admin/OverviewDashboard.vue | 36 +-- app/components/Admin/PlayTimeManager.vue | 78 +++---- .../Admin/PlaylistCardGenerator.vue | 20 +- .../Admin/PlaylistCardPage.client.vue | 16 +- app/components/Admin/RequestTimeManager.vue | 108 ++++----- app/components/Admin/RolesManager.vue | 22 +- app/components/Admin/ScheduleForm.vue | 10 +- app/components/Admin/ScheduleManager.vue | 148 ++++++------ app/components/Admin/SchedulePrinter.vue | 46 ++-- app/components/Admin/SemesterManager.vue | 36 +-- app/components/Admin/Sidebar.vue | 24 +- app/components/Admin/SiteConfigManager.vue | 66 +++--- app/components/Admin/SmtpManager.vue | 30 +-- app/components/Admin/SongAudit.vue | 42 ++-- app/components/Admin/SongDownloadDialog.vue | 92 ++++---- app/components/Admin/SongManagement.vue | 162 +++++++------- .../Admin/SubmissionRemarkDialog.vue | 16 +- app/components/Admin/UserManager.vue | 210 +++++++++--------- app/components/Admin/UserSongsModal.vue | 30 +-- app/components/Admin/VotersModal.vue | 6 +- app/components/Admin/WorkflowTutorial.vue | 56 ++--- app/components/UI/Icon.vue | 5 + app/pages/dashboard.vue | 10 +- 36 files changed, 1023 insertions(+), 1017 deletions(-) diff --git a/app/components/Admin/AdminDatePicker.vue b/app/components/Admin/AdminDatePicker.vue index 2ae04c9..4e7ac4a 100644 --- a/app/components/Admin/AdminDatePicker.vue +++ b/app/components/Admin/AdminDatePicker.vue @@ -1,5 +1,5 @@