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" /> <ChevronLeft v-else :size="18" />
</button> </button>
<div class="conversation-info"> <!-- <div class="conversation-info">
<h1 class="title">{{ title }}</h1> <h1 class="title">{{ title }}</h1>
<span v-if="messageCount > 0" class="message-count"> <span v-if="messageCount > 0" class="message-count">
{{ messageCount }} 条消息 {{ messageCount }} 条消息
</span> </span>
</div> </div> -->
</div> </div>
<!-- 右侧操作按钮 --> <!-- 右侧操作按钮 -->
@ -89,12 +89,9 @@
import { ref } from "vue"; import { ref } from "vue";
import { import {
Menu, Menu,
Maximize2,
Minimize2,
Trash2, Trash2,
Download, Download,
ChevronLeft, ChevronLeft,
MoreHorizontal,
ExternalLink, ExternalLink,
Pin, Pin,
Archive, Archive,
@ -181,12 +178,12 @@ if (typeof window !== "undefined") {
height: 64px; height: 64px;
padding: 0 20px; padding: 0 20px;
background: white; background: white;
border-bottom: 1px solid #e2e8f0; // border-bottom: 1px solid #e2e8f0;
flex-shrink: 0; flex-shrink: 0;
.dark & { .dark & {
background: #1e1e2e; 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-name">{{ file.name }}</span>
<span class="file-size">{{ formatSize(file.size) }}</span> <span class="file-size">{{ formatSize(file.size) }}</span>
</div> </div>
<button <!-- <button
class="download-btn" class="download-btn"
@click="$emit('download-file', file)" @click="$emit('download-file', file)"
> >
<Download :size="16" /> <Download :size="16" />
</button> </button> -->
</div> </div>
</div> </div>
</template> </template>
@ -291,8 +291,8 @@ setCustomComponents("playground-demo", {
} }
.message-body { .message-body {
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); background: #f8fafc;
color: white; color: #1f2937;
border-radius: 20px 20px 4px 20px; border-radius: 20px 20px 4px 20px;
} }