From a7ed6b8c767a01001fab5321d09f5832b0b2b108 Mon Sep 17 00:00:00 2001
From: Soulter <905617992@qq.com>
Date: Mon, 2 Feb 2026 14:11:17 +0800
Subject: [PATCH] fix: reasoning block style
---
dashboard/src/components/chat/MessageList.vue | 1 +
.../MessagePartsRenderer.vue | 34 ++++++++
.../message_list_comps/ReasoningBlock.vue | 77 +++++++++++++++----
3 files changed, 98 insertions(+), 14 deletions(-)
diff --git a/dashboard/src/components/chat/MessageList.vue b/dashboard/src/components/chat/MessageList.vue
index d6191506b..42129d792 100644
--- a/dashboard/src/components/chat/MessageList.vue
+++ b/dashboard/src/components/chat/MessageList.vue
@@ -92,6 +92,7 @@
{
align-items: center;
}
+
+/* 文件附件样式 */
+.file-attachments,
+.embedded-files {
+ margin-top: 8px;
+ display: flex;
+ flex-direction: column;
+ gap: 6px;
+}
+
+.file-attachment,
+.embedded-file {
+ display: flex;
+ align-items: center;
+}
+
+.file-link {
+ display: inline-flex;
+ align-items: center;
+ gap: 6px;
+ padding: 8px 12px;
+ background-color: rgba(var(--v-theme-primary), 0.08);
+ border: 1px solid rgba(var(--v-theme-primary), 0.2);
+ border-radius: 8px;
+ text-decoration: none;
+ font-size: 13px;
+ transition: all 0.2s ease;
+ max-width: 320px;
+}
+
+.file-link-download {
+ cursor: pointer;
+}
+
diff --git a/dashboard/src/components/chat/message_list_comps/ReasoningBlock.vue b/dashboard/src/components/chat/message_list_comps/ReasoningBlock.vue
index d9d180259..2f924d551 100644
--- a/dashboard/src/components/chat/message_list_comps/ReasoningBlock.vue
+++ b/dashboard/src/components/chat/message_list_comps/ReasoningBlock.vue
@@ -1,18 +1,15 @@
-
-
-
+
@@ -47,6 +44,63 @@ const toggleExpanded = () => {