@@ -316,77 +315,5 @@ onMounted(() => {
})
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 e8df17898..aa00b8217 100644
--- a/ui/src/components/ai-chat/component/prologue-content/index.vue
+++ b/ui/src/components/ai-chat/component/prologue-content/index.vue
@@ -2,8 +2,8 @@
-
![]()
-
+
![]()
+
@@ -32,4 +32,5 @@ const prologue = computed(() => {
return temp.replace(/-\s.+/g, toQuickQuestion)
})
-
+
diff --git a/ui/src/components/ai-chat/component/question-content/index.vue b/ui/src/components/ai-chat/component/question-content/index.vue
index a9d202e4f..fcbac8bc9 100644
--- a/ui/src/components/ai-chat/component/question-content/index.vue
+++ b/ui/src/components/ai-chat/component/question-content/index.vue
@@ -7,10 +7,10 @@
:src="application.user_avatar"
alt=""
fit="cover"
- style="width: 30px; height: 30px; display: block"
+ style="width: 32px; height: 32px; display: block"
/>
-
+
@@ -28,54 +28,4 @@ defineProps<{
}>()
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 f64d08b73..b54fbfea8 100644
--- a/ui/src/components/ai-chat/component/user-form/index.vue
+++ b/ui/src/components/ai-chat/component/user-form/index.vue
@@ -290,15 +290,4 @@ onMounted(() => {
handleInputFieldList()
})
-
+
diff --git a/ui/src/components/ai-chat/index.scss b/ui/src/components/ai-chat/index.scss
new file mode 100644
index 000000000..4eca190f0
--- /dev/null
+++ b/ui/src/components/ai-chat/index.scss
@@ -0,0 +1,129 @@
+.ai-chat {
+ --padding-left: 40px;
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ box-sizing: border-box;
+ position: relative;
+ color: var(--app-text-color);
+ box-sizing: border-box;
+ &__content {
+ padding-top: 0;
+ box-sizing: border-box;
+
+ .avatar {
+ float: left;
+ }
+
+ .content {
+ padding-left: var(--padding-left);
+
+ :deep(ol) {
+ margin-left: 16px !important;
+ }
+ }
+
+ .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;
+ position: relative;
+ width: 100%;
+ box-sizing: border-box;
+ z-index: 10;
+
+ &:before {
+ background: linear-gradient(0deg, #f3f7f9 0%, rgba(243, 247, 249, 0) 100%);
+ content: '';
+ position: absolute;
+ width: 100%;
+ top: -16px;
+ left: 0;
+ height: 16px;
+ }
+
+ .operate-textarea {
+ box-shadow: 0px 6px 24px 0px rgba(31, 35, 41, 0.08);
+ background-color: #ffffff;
+ border-radius: 8px;
+ border: 1px solid #ffffff;
+ box-sizing: border-box;
+
+ &:has(.el-textarea__inner:focus) {
+ border: 1px solid var(--el-color-primary);
+ }
+
+ .el-textarea__inner {
+ border-radius: 8px !important;
+ box-shadow: none;
+ resize: none;
+ padding: 12px 16px;
+ box-sizing: border-box;
+ }
+
+ .operate {
+ padding: 6px 10px;
+ .el-icon {
+ font-size: 20px;
+ }
+
+ .sent-button {
+ max-height: none;
+ .el-icon {
+ font-size: 24px;
+ }
+ }
+
+ .el-loading-spinner {
+ margin-top: -15px;
+
+ .circular {
+ width: 31px;
+ height: 31px;
+ }
+ }
+ }
+ }
+ }
+}
+
+.chat-width {
+ max-width: 80%;
+ margin: 0 auto;
+}
+@media only screen and (max-width: 1000px) {
+ .chat-width {
+ max-width: 100% !important;
+ margin: 0 auto;
+ }
+}
diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue
index 0ea8dd189..79dc9d2a4 100644
--- a/ui/src/components/ai-chat/index.vue
+++ b/ui/src/components/ai-chat/index.vue
@@ -447,25 +447,5 @@ defineExpose({
})
diff --git a/ui/src/views/application-overview/component/XPackDisplaySettingDialog.vue b/ui/src/views/application-overview/component/XPackDisplaySettingDialog.vue
index 2d4480275..b28507d23 100644
--- a/ui/src/views/application-overview/component/XPackDisplaySettingDialog.vue
+++ b/ui/src/views/application-overview/component/XPackDisplaySettingDialog.vue
@@ -178,7 +178,7 @@
建议尺寸 64*64,支持 JPG、PNG、GIF,大小不超过 10 MB建议尺寸 32*32,支持 JPG、PNG、GIF,大小不超过 10 MB
@@ -197,7 +197,7 @@