From f40bdb007b6a05a8769d27b538ddf0c7f5c917bc Mon Sep 17 00:00:00 2001 From: empty Date: Mon, 12 Jan 2026 01:57:18 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=BF=81=E7=A7=BB=20GlobalSidebar.?= =?UTF-8?q?vue=20-=20SVG=20=E5=9B=BE=E6=A0=87=E6=9B=BF=E4=BB=A3=20emoji?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **变更内容**: - 移除所有 emoji (🚀, ✍️, 🎯, 📝, 📂, 📚, 🎨, 🔍, 📊, ⚙️) - 导入 IconLibrary 组件 - 使用专业 SVG 图标替代 emoji **图标映射**: - 🚀 Logo → 自定义 SVG 火箭图标 - ✍️ AI 写作 → edit - 🎯 范式库 → analysis - 📝 范式写作 → article - 📂 文稿库 → folder - 📚 素材库 → chart - 🎨 范式润色 → sparkles - 🔍 对照检查 → compare - 📊 差异标注 → chart - ⚙️ 设置 → settings **样式优化**: - Logo 区域添加 hover 效果和过渡动画 - 优化图标尺寸统一 (20px) - 增强 tooltip 样式 - 改进激活指示器颜色 (使用 text-inverse) - 添加 aria-label 提升可访问性 - 优化间距 (gap: space-3) **技术细节**: - 所有图标使用 flexbox 居中对齐 - 添加 flex-shrink: 0 防止图标被压缩 - 保持设计令牌一致性 Co-Authored-By: Claude --- src/components/GlobalSidebar.vue | 62 ++++++++++++++++++++++---------- 1 file changed, 44 insertions(+), 18 deletions(-) diff --git a/src/components/GlobalSidebar.vue b/src/components/GlobalSidebar.vue index 20692e7..9547f9d 100644 --- a/src/components/GlobalSidebar.vue +++ b/src/components/GlobalSidebar.vue @@ -1,8 +1,12 @@