From 320061edbce4916d24e0ef7bb86862cd5ca086b8 Mon Sep 17 00:00:00 2001 From: empty Date: Mon, 12 Jan 2026 02:07:34 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=BF=81=E7=A7=BB=20DocumentsPanel?= =?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 完成内容: - 导入 IconLibrary 组件 - 替换头部标题图标 (folder) - 替换空状态图标 (document) - 替换操作按钮图标 (edit, copy, history, trash) - 优化按钮样式 (flexbox, gap, 居中对齐) - 空状态使用带背景的图标容器 - 删除按钮添加 aria-label Emoji 数量: 6 → 0 Co-Authored-By: Claude --- src/components/DocumentsPanel.vue | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/src/components/DocumentsPanel.vue b/src/components/DocumentsPanel.vue index d880ec5..6d6013f 100644 --- a/src/components/DocumentsPanel.vue +++ b/src/components/DocumentsPanel.vue @@ -3,7 +3,8 @@

- 📂 文稿管理 + + 文稿管理

Pro版
@@ -31,7 +32,9 @@
- 📄 +
+ +

暂无文稿

@@ -62,27 +65,31 @@
@@ -116,6 +123,7 @@ import { ref, computed, onMounted } from 'vue' import { useAppStore } from '../stores/app' import { useDatabaseStore } from '../stores/database.js' import { storeToRefs } from 'pinia' +import IconLibrary from './icons/IconLibrary.vue' const appStore = useAppStore() const dbStore = useDatabaseStore()