From 635de3a71d3aef60aeddd98af46dd59fc4274f24 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Wed, 4 Dec 2024 16:20:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E5=AF=B9=E8=AF=9D?= =?UTF-8?q?=E6=A1=86=E9=80=89=E9=A1=B9=E5=8D=A1=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../component/prologue-content/index.vue | 4 ++- ui/src/components/ai-chat/index.scss | 28 ----------------- .../dynamics-form/items/radio/RadioCard.vue | 30 ++++++++++++------- ui/src/components/markdown/MdRenderer.vue | 2 +- ui/src/styles/app.scss | 8 +++-- ui/src/styles/md-editor.scss | 2 ++ .../component/FileUploadSettingDialog.vue | 4 +-- 7 files changed, 33 insertions(+), 45 deletions(-) diff --git a/ui/src/components/ai-chat/component/prologue-content/index.vue b/ui/src/components/ai-chat/component/prologue-content/index.vue index 2bb030f23..433e0ca3d 100644 --- a/ui/src/components/ai-chat/component/prologue-content/index.vue +++ b/ui/src/components/ai-chat/component/prologue-content/index.vue @@ -32,4 +32,6 @@ const prologue = computed(() => { return temp?.replace(/-\s.+/g, toQuickQuestion) }) - + diff --git a/ui/src/components/ai-chat/index.scss b/ui/src/components/ai-chat/index.scss index 4eca190f0..82cfcba8a 100644 --- a/ui/src/components/ai-chat/index.scss +++ b/ui/src/components/ai-chat/index.scss @@ -26,34 +26,6 @@ .text { padding: 6px 0; } - - .problem-button { - width: 100%; - border: none; - border-radius: 8px; - background: var(--app-layout-bg-color); - height: 46px; - padding: 0 12px; - line-height: 46px; - box-sizing: border-box; - color: var(--el-text-color-regular); - -webkit-line-clamp: 1; - word-break: break-all; - - &:hover { - background: var(--el-color-primary-light-9); - } - - &.disabled { - &:hover { - background: var(--app-layout-bg-color); - } - } - - .el-icon { - color: var(--el-color-primary); - } - } } &__operate { background: #f3f7f9; diff --git a/ui/src/components/dynamics-form/items/radio/RadioCard.vue b/ui/src/components/dynamics-form/items/radio/RadioCard.vue index 720df2f8f..10ec6bbda 100644 --- a/ui/src/components/dynamics-form/items/radio/RadioCard.vue +++ b/ui/src/components/dynamics-form/items/radio/RadioCard.vue @@ -1,15 +1,23 @@