From c257fb1d2238aae76331ad4d1ad8cfe667493718 Mon Sep 17 00:00:00 2001
From: liudong <liudong>
Date: 星期一, 12 八月 2024 18:03:02 +0800
Subject: [PATCH] 知识库,智能体样式修改

---
 src/views/sessionManager/index.vue |   20 +++++++++++++++++---
 1 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/src/views/sessionManager/index.vue b/src/views/sessionManager/index.vue
index afbefb0..9e525de 100644
--- a/src/views/sessionManager/index.vue
+++ b/src/views/sessionManager/index.vue
@@ -227,6 +227,7 @@
                 allow-clear
                 show-word-limit
                 :disabled="chatDis"
+                :class="{ textItemAnswer: theme === 'dark' }"
                 :auto-size="{
                   minRows: 12,
                   maxRows: 5,
@@ -318,7 +319,7 @@
     IconTiktokColor,
   } from '@arco-design/web-vue/es/icon';
   import { useAppStore, useUserStore } from '@/store';
-  import { computed, nextTick, onMounted, reactive, ref } from 'vue';
+  import { computed, nextTick, onMounted, watch, reactive, ref } from 'vue';
 
   import { Message } from '@arco-design/web-vue';
   import { EventSourceParserStream } from 'eventsource-parser/stream';
@@ -487,10 +488,12 @@
   onMounted(() => {
     DialogList();
   });
+
   const appStore = useAppStore();
   const theme = computed(() => {
     return appStore.theme;
   });
+
   //鏂囧瓧鍔ㄦ�佽緭鍑�
   const startDisplayStr = () => {
     if (timer) {
@@ -589,6 +592,9 @@
         border-radius: 14px;
       }
     }
+    .textItemAnswer {
+      background-color: #373739;
+    }
 
     .center {
       position: relative;
@@ -663,16 +669,24 @@
           flex-direction: column;
           overflow: hidden;
           position: relative;
+          // padding-top:10px;
           :deep(.arco-textarea-wrapper) {
             border-radius: 24px;
           }
 
           .btn-send {
             position: absolute !important;
-            right: 5px;
-            bottom: 5px;
+            right: 10px;
+            bottom: 10px;
             z-index: 10;
           }
+          :deep(.arco-btn-size-large) {
+            height: 28px;
+            width: 50px;
+          }
+        }
+        :deep(.arco-textarea-wrapper) {
+          padding-top: 5px;
         }
       }
     }

--
Gitblit v1.8.0