提交 0140cc48 authored 作者: 王鹏飞's avatar 王鹏飞

chore: update

上级 84378059
...@@ -66,6 +66,9 @@ const { copy, copied } = useClipboard() ...@@ -66,6 +66,9 @@ const { copy, copied } = useClipboard()
</ul> </ul>
<div id="tooltip-box" ref="floating" :style="floatingStyles" @click="handleSearch">AI搜索</div> <div id="tooltip-box" ref="floating" :style="floatingStyles" @click="handleSearch">AI搜索</div>
<a-drawer v-model:visible="dialogVisible" :mask-closable="false" width="30%" style="z-index: 3000"> <a-drawer v-model:visible="dialogVisible" :mask-closable="false" width="30%" style="z-index: 3000">
<template #title>
<div class="chat-header"><img src="https://webapp-pub.ezijing.com/plugins/sky-agents/ai.png" width="34px" />紫荆AI助手</div>
</template>
<div class="chat" ref="chatRef"> <div class="chat" ref="chatRef">
<div class="chat-message" v-for="(item, index) in messages" :key="index"> <div class="chat-message" v-for="(item, index) in messages" :key="index">
<a-popover position="right" class="chat-message-extra" style="z-index: 3001"> <a-popover position="right" class="chat-message-extra" style="z-index: 3001">
...@@ -113,6 +116,12 @@ const { copy, copied } = useClipboard() ...@@ -113,6 +116,12 @@ const { copy, copied } = useClipboard()
cursor: pointer; cursor: pointer;
z-index: 9999999; z-index: 9999999;
} }
.chat-header {
display: flex;
align-items: center;
justify-content: center;
column-gap: 10px;
}
.chat-message { .chat-message {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论