From 895c101ccecc175c84984ea4d60017c88ba541a2 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Fri, 18 Jul 2025 16:56:04 +0800 Subject: [PATCH] refactor: update dashboard view selected style --- frontend/src/i18n/zh-CN.json | 4 + .../dashboard/editor/ChatChartSelection.vue | 37 ++-- .../dashboard/editor/DashboardChatList.vue | 183 ++++++++++++++++-- 3 files changed, 187 insertions(+), 37 deletions(-) diff --git a/frontend/src/i18n/zh-CN.json b/frontend/src/i18n/zh-CN.json index 05911ac2..b81b36b6 100644 --- a/frontend/src/i18n/zh-CN.json +++ b/frontend/src/i18n/zh-CN.json @@ -34,6 +34,10 @@ "password_reset_successful": "重置密码成功" }, "dashboard": { + "no_chat": "暂无对话", + "today": "今日", + "this_week": "本周", + "earlier": "更早", "add_component_tips": "从顶部工具栏中选择组件,添加到这里创建仪表板", "add_view": "添加图表", "delete_dashboard_warn": "是否删除仪表板:{0}", diff --git a/frontend/src/views/dashboard/editor/ChatChartSelection.vue b/frontend/src/views/dashboard/editor/ChatChartSelection.vue index b2f7c4b7..99c8b2d2 100644 --- a/frontend/src/views/dashboard/editor/ChatChartSelection.vue +++ b/frontend/src/views/dashboard/editor/ChatChartSelection.vue @@ -214,33 +214,14 @@ defineExpose({ color: #1f2329; line-height: 22px; } - - - + + diff --git a/frontend/src/views/dashboard/editor/DashboardChatList.vue b/frontend/src/views/dashboard/editor/DashboardChatList.vue index 309f4899..4ee0692b 100644 --- a/frontend/src/views/dashboard/editor/DashboardChatList.vue +++ b/frontend/src/views/dashboard/editor/DashboardChatList.vue @@ -1,7 +1,12 @@