From 8af4fb1c275ddf0558b04ab608b5a42b686e10b4 Mon Sep 17 00:00:00 2001 From: ViperEkura <3081035982@qq.com> Date: Tue, 24 Mar 2026 15:53:55 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=20=E6=9B=B4=E6=96=B0=E9=A3=8E?= =?UTF-8?q?=E6=A0=BC=E8=AE=BE=E8=AE=A1=EF=BC=8C=E4=BF=AE=E6=94=B9=E5=9B=BE?= =?UTF-8?q?=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/index.html | 2 +- frontend/public/favicon.svg | 12 +++++++++--- frontend/src/components/ChatView.vue | 12 +++++------- frontend/src/components/MessageBubble.vue | 13 ++++++++++--- frontend/src/components/MessageInput.vue | 2 +- frontend/src/components/SettingsPanel.vue | 5 +---- 6 files changed, 27 insertions(+), 19 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 4447ae8..e95b3bf 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -3,7 +3,7 @@ - GLM Chat + AI Chat diff --git a/frontend/public/favicon.svg b/frontend/public/favicon.svg index ac3bc43..2d6844a 100644 --- a/frontend/public/favicon.svg +++ b/frontend/public/favicon.svg @@ -1,4 +1,10 @@ - - - G + + + + + + + + + claw diff --git a/frontend/src/components/ChatView.vue b/frontend/src/components/ChatView.vue index eaec5ee..9a0a3e5 100644 --- a/frontend/src/components/ChatView.vue +++ b/frontend/src/components/ChatView.vue @@ -1,8 +1,8 @@
-
G
-

GLM Chat

+
claw
+

Chat

选择一个对话开始,或创建新对话

@@ -44,7 +44,7 @@ />
-
G
+
claw
{{ streamingThinking }} @@ -157,14 +157,12 @@ defineExpose({ scrollToBottom }) width: 64px; height: 64px; border-radius: 16px; - background: linear-gradient(135deg, #2563eb, #3b82f6); - color: white; + background: none; display: flex; align-items: center; justify-content: center; - font-size: 28px; - font-weight: 700; margin-bottom: 20px; + overflow: hidden; } .welcome h1 { diff --git a/frontend/src/components/MessageBubble.vue b/frontend/src/components/MessageBubble.vue index 7ecb714..41f461c 100644 --- a/frontend/src/components/MessageBubble.vue +++ b/frontend/src/components/MessageBubble.vue @@ -1,6 +1,7 @@ diff --git a/frontend/src/components/SettingsPanel.vue b/frontend/src/components/SettingsPanel.vue index c2a1a1c..fae4f09 100644 --- a/frontend/src/components/SettingsPanel.vue +++ b/frontend/src/components/SettingsPanel.vue @@ -22,9 +22,6 @@
@@ -118,7 +115,7 @@ const form = reactive({ watch(() => props.visible, (val) => { if (val && props.conversation) { form.title = props.conversation.title || '' - form.model = props.conversation.model || 'glm-5' + form.model = props.conversation.model || 'default' form.system_prompt = props.conversation.system_prompt || '' form.temperature = props.conversation.temperature ?? 1.0 form.max_tokens = props.conversation.max_tokens ?? 65536