diff --git a/ui/src/views/chat/embed/index.vue b/ui/src/views/chat/embed/index.vue index f1ee259d6..97547c1ca 100644 --- a/ui/src/views/chat/embed/index.vue +++ b/ui/src/views/chat/embed/index.vue @@ -3,7 +3,7 @@ class="chat-embed layout-bg chat-background" :class="{ 'chat-embed--popup': isPopup }" v-loading="loading" - :style="{ + :style="{ '--el-color-primary': applicationDetail?.custom_theme?.theme_color, '--el-color-primary-light-9': hexToRgba(applicationDetail?.custom_theme?.theme_color, 0.1), backgroundImage: `url(${applicationDetail?.chat_background})`, @@ -15,7 +15,7 @@ - -
-
-
- - - - -
-

{{ applicationDetail?.name }}

-
- - - {{ $t('chat.createChat') }} - -

{{ $t('chat.history') }}

-
- -
- -
- - - - -
-
- {{ $t('chat.only20history') }} -
-
-
- -
+ - diff --git a/ui/src/views/chat/mobile/index.vue b/ui/src/views/chat/mobile/index.vue index 2ac2a123e..592753d53 100644 --- a/ui/src/views/chat/mobile/index.vue +++ b/ui/src/views/chat/mobile/index.vue @@ -15,7 +15,7 @@ - -
-
-
- - - - -
-

{{ applicationDetail?.name }}

-
- - - {{ $t('chat.createChat') }} - -

{{ $t('chat.history') }}

-
- -
- -
- - - - -
-
- {{ $t('chat.only20history') }} -
-
-
- -
+ -