diff --git a/ui/src/components/ai-chat/component/answer-content/index.vue b/ui/src/components/ai-chat/component/answer-content/index.vue index 73adf3bfd..4393b52ac 100644 --- a/ui/src/components/ai-chat/component/answer-content/index.vue +++ b/ui/src/components/ai-chat/component/answer-content/index.vue @@ -6,7 +6,7 @@
- + - + {{ $t('chat.tip.stopAnswer') }} - + {{ $t('chat.tip.answerLoading') }} 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 3cf7a467e..0ed86b625 100644 --- a/ui/src/components/ai-chat/component/prologue-content/index.vue +++ b/ui/src/components/ai-chat/component/prologue-content/index.vue @@ -6,7 +6,7 @@
- +
-
+
- - + + +
@@ -53,17 +47,8 @@
- - + + +
- {{ chatRecord.problem_text }} + {{ chatRecord.problem_text }}
@@ -140,6 +125,16 @@ onMounted(() => {}) .question-content { display: flex; justify-content: flex-end; + padding-left: var(--padding-left); + width: 100%; + box-sizing: border-box; + + .content { + background: #d6e2ff; + padding-left: 16px; + padding-right: 16px; + + } .download-file { height: 43px; @@ -163,5 +158,44 @@ onMounted(() => {}) display: none; } } + .media-file-width { + :deep(.el-space__item) { + min-width: 40% !important; + flex-grow: 1; + } + } + .media_2 { + flex: 1; + } + .media_0 { + flex: inherit; + } + .media_1 { + width: 50%; + } +} +@media only screen and (max-width: 768px) { + .question-content { + .media-file-width { + :deep(.el-space__item) { + min-width: 100% !important; + } + } + .media_1 { + width: 100%; + } + } +} +.debug-ai-chat { + .question-content { + .media-file-width { + :deep(.el-space__item) { + min-width: 100% !important; + } + } + .media_1 { + width: 100%; + } + } } diff --git a/ui/src/components/ai-chat/component/user-form/index.vue b/ui/src/components/ai-chat/component/user-form/index.vue index b2c89a0e4..980ad8663 100644 --- a/ui/src/components/ai-chat/component/user-form/index.vue +++ b/ui/src/components/ai-chat/component/user-form/index.vue @@ -7,7 +7,7 @@ class="mb-16" style="padding: 0 24px" > - +
-
+
-

+

{{ currentChatName }}