|
3 | 3 | class="chat-embed layout-bg chat-background" |
4 | 4 | :class="{ 'chat-embed--popup': isPopup }" |
5 | 5 | v-loading="loading" |
6 | | - :style="{ |
| 6 | + :style="{ |
7 | 7 | '--el-color-primary': applicationDetail?.custom_theme?.theme_color, |
8 | 8 | '--el-color-primary-light-9': hexToRgba(applicationDetail?.custom_theme?.theme_color, 0.1), |
9 | 9 | backgroundImage: `url(${applicationDetail?.chat_background})`, |
|
13 | 13 | <div class="flex align-center"> |
14 | 14 | <!-- TODO icon更换 --> |
15 | 15 | <AppIcon |
16 | | - iconName="app-history-outlined" |
| 16 | + iconName="app-mobile-open-history" |
17 | 17 | style="font-size: 20px" |
18 | 18 | class="ml-16 cursor" |
19 | 19 | :style="{ |
|
60 | 60 | </AiChat> |
61 | 61 | </div> |
62 | 62 |
|
63 | | - <ChatHistoryDrawer v-model:show="show" :application-detail="applicationDetail" :chat-log-data="chatLogData" |
64 | | - :left-loading="left_loading" :currentChatId="currentChatId" @new-chat="newChat" |
65 | | - @clickLog="clickListHandle" @delete-log="deleteLog" /> |
| 63 | + <ChatHistoryDrawer |
| 64 | + v-model:show="show" |
| 65 | + :application-detail="applicationDetail" |
| 66 | + :chat-log-data="chatLogData" |
| 67 | + :left-loading="left_loading" |
| 68 | + :currentChatId="currentChatId" |
| 69 | + @new-chat="newChat" |
| 70 | + @clickLog="clickListHandle" |
| 71 | + @delete-log="deleteLog" |
| 72 | + /> |
66 | 73 | </div> |
67 | | - |
68 | 74 | </div> |
69 | 75 | </template> |
70 | 76 | <script setup lang="ts"> |
@@ -107,7 +113,6 @@ const paginationConfig = reactive({ |
107 | 113 | const currentRecordList = ref<any>([]) |
108 | 114 | const currentChatId = ref('new') // 当前历史记录Id 默认为'new' |
109 | 115 |
|
110 | | -
|
111 | 116 | const customStyle = computed(() => { |
112 | 117 | return { |
113 | 118 | background: applicationDetail.value?.custom_theme?.theme_color, |
@@ -251,7 +256,7 @@ onMounted(() => { |
251 | 256 | z-index: 11; |
252 | 257 | font-size: 1rem; |
253 | 258 | } |
254 | | - &.chat-embed--popup { |
| 259 | + &.chat-embed--popup { |
255 | 260 | .chat-popover-button { |
256 | 261 | right: 85px; |
257 | 262 | } |
|
0 commit comments