From c253044f61503b4a1aa1838eb382329ddf5d741e Mon Sep 17 00:00:00 2001 From: kuaifan Date: Wed, 21 Jan 2026 08:07:18 +0000 Subject: [PATCH] =?UTF-8?q?fix(ai):=20=E6=9B=B4=E6=96=B0=20AI=20=E5=8A=A9?= =?UTF-8?q?=E6=89=8B=E5=A4=B4=E5=83=8F=E6=98=BE=E7=A4=BA=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E5=92=8C=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../js/pages/manage/components/DialogItem.vue | 8 +++- .../manage/components/DialogView/index.vue | 17 +------ .../sass/pages/components/dialog-wrapper.scss | 45 ++++++++----------- 3 files changed, 28 insertions(+), 42 deletions(-) diff --git a/resources/assets/js/pages/manage/components/DialogItem.vue b/resources/assets/js/pages/manage/components/DialogItem.vue index e345478a8..54687c9fa 100644 --- a/resources/assets/js/pages/manage/components/DialogItem.vue +++ b/resources/assets/js/pages/manage/components/DialogItem.vue @@ -43,7 +43,13 @@
- + +
+ + + +
+
- - + + {{ $L('AI 助手') }}
diff --git a/resources/assets/sass/pages/components/dialog-wrapper.scss b/resources/assets/sass/pages/components/dialog-wrapper.scss index d8acacd85..fee5b1fc7 100644 --- a/resources/assets/sass/pages/components/dialog-wrapper.scss +++ b/resources/assets/sass/pages/components/dialog-wrapper.scss @@ -657,6 +657,22 @@ flex-shrink: 0; width: 30px; height: 30px; + + .ai-assistant-avatar { + width: 100%; + height: 100%; + display: flex; + align-items: center; + justify-content: center; + border-radius: 50%; + background: #8bcf70; + fill: #ffffff; + + svg { + width: 20px; + height: 20px; + } + } } .dialog-view { @@ -681,32 +697,9 @@ margin-bottom: 6px; opacity: 0.8; - .ai-assistant-avatar { - display: flex; - align-items: center; - - .ai-icon { - width: 22px; - height: 22px; - border-radius: 50%; - background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); - color: #fff; - display: flex; - align-items: center; - justify-content: center; - padding: 3px; - - svg { - width: 100%; - height: 100%; - } - } - - .avatar-name { - margin-left: 6px; - font-size: 12px; - color: #666; - } + .ai-assistant-name { + font-size: 12px; + color: #666; } }