Merge branch 'feat/kexue-ui'

This commit is contained in:
SuperManTouX 2026-03-06 17:04:14 +08:00
commit 68f3390e2d
2 changed files with 8 additions and 11 deletions

View File

@ -11,12 +11,12 @@
<ChevronLeft v-else :size="18" />
</button>
<div class="conversation-info">
<!-- <div class="conversation-info">
<h1 class="title">{{ title }}</h1>
<span v-if="messageCount > 0" class="message-count">
{{ messageCount }} 条消息
</span>
</div>
</div> -->
</div>
<!-- 右侧操作按钮 -->
@ -89,12 +89,9 @@
import { ref } from "vue";
import {
Menu,
Maximize2,
Minimize2,
Trash2,
Download,
ChevronLeft,
MoreHorizontal,
ExternalLink,
Pin,
Archive,
@ -181,12 +178,12 @@ if (typeof window !== "undefined") {
height: 64px;
padding: 0 20px;
background: white;
border-bottom: 1px solid #e2e8f0;
// border-bottom: 1px solid #e2e8f0;
flex-shrink: 0;
.dark & {
background: #1e1e2e;
border-bottom-color: #2d2d3d;
// border-bottom-color: #2d2d3d;
}
}

View File

@ -138,12 +138,12 @@
<span class="file-name">{{ file.name }}</span>
<span class="file-size">{{ formatSize(file.size) }}</span>
</div>
<button
<!-- <button
class="download-btn"
@click="$emit('download-file', file)"
>
<Download :size="16" />
</button>
</button> -->
</div>
</div>
</template>
@ -291,8 +291,8 @@ setCustomComponents("playground-demo", {
}
.message-body {
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
color: white;
background: #f8fafc;
color: #1f2937;
border-radius: 20px 20px 4px 20px;
}