style: dark 模式下的异常显示

This commit is contained in:
xingyu4j
2025-06-21 17:01:57 +08:00
parent 474cbc3019
commit 2690ea82a6
11 changed files with 16 additions and 17 deletions

View File

@@ -237,7 +237,7 @@ onMounted(async () => {
<div v-else class="text-gray-400">暂无上传文件</div>
</div>
<!-- 文件内容预览 -->
<div class="max-h-[600px] overflow-y-auto rounded-md bg-gray-50 p-4">
<div class="max-h-[600px] overflow-y-auto rounded-md p-4">
<div v-if="splitLoading" class="flex items-center justify-center py-5">
<IconifyIcon icon="lucide:loader" class="is-loading" />
<span class="ml-2.5">正在加载分段内容...</span>
@@ -258,7 +258,7 @@ onMounted(async () => {
分片-{{ index + 1 }} · {{ segment.contentLength || 0 }} 字符数 ·
{{ segment.tokens || 0 }} Token
</div>
<div class="rounded-md bg-white p-2">
<div class="bg-card rounded-md p-2">
{{ segment.content }}
</div>
</div>

View File

@@ -131,7 +131,7 @@ defineExpose({
<div class="mx-auto">
<!-- 头部导航栏 -->
<div
class="absolute left-0 right-0 top-0 z-10 flex h-12 items-center border-b bg-white px-4"
class="bg-card absolute left-0 right-0 top-0 z-10 flex h-12 items-center border-b px-4"
>
<!-- 左侧标题 -->
<div class="flex w-48 items-center overflow-hidden">