This commit is contained in:
xingyu4j
2025-06-16 19:17:15 +08:00
parent 014785a1ad
commit e219e8f868
39 changed files with 175 additions and 138 deletions

View File

@@ -122,10 +122,10 @@ onBeforeUnmount(() => {
>
<!-- 文件图标和名称 -->
<div class="mr-[10px] flex min-w-[200px] items-center">
<IconifyIcon icon="ep:document" class="mr-8px text-[#409eff]" />
<span class="break-all text-[13px] text-[#303133]">{{
file.name
}}</span>
<IconifyIcon icon="lucide:file-text" class="mr-8px text-[#409eff]" />
<span class="break-all text-[13px] text-[#303133]">
{{ file.name }}
</span>
</div>
<!-- 处理进度 -->

View File

@@ -176,7 +176,10 @@ onMounted(async () => {
<template #title>
系统会自动将文档内容分割成多个段落您可以根据需要调整分段方式和内容
</template>
<IconifyIcon icon="ep:warning" class="ml-[5px] text-gray-400" />
<IconifyIcon
icon="lucide:circle-alert"
class="ml-[5px] text-gray-400"
/>
</Tooltip>
</div>
<div>
@@ -206,7 +209,7 @@ onMounted(async () => {
trigger="click"
>
<div class="flex cursor-pointer items-center">
<IconifyIcon icon="ep:document" class="text-danger mr-[5px]" />
<IconifyIcon icon="lucide:file-text" class="text-danger mr-[5px]" />
<span>{{ currentFile?.name || '请选择文件' }}</span>
<span
v-if="currentFile?.segments"
@@ -214,7 +217,7 @@ onMounted(async () => {
>
({{ currentFile.segments.length }}个分片)
</span>
<IconifyIcon icon="ep:arrow-down" class="ml-[5px]" />
<IconifyIcon icon="lucide:chevron-down" class="ml-[5px]" />
</div>
<template #overlay>
<Menu>
@@ -244,7 +247,7 @@ onMounted(async () => {
v-if="splitLoading"
class="flex items-center justify-center py-[20px]"
>
<IconifyIcon icon="ep:loading" class="is-loading" />
<IconifyIcon icon="lucide:loader" class="is-loading" />
<span class="ml-[10px]">正在加载分段内容...</span>
</div>
<template

View File

@@ -231,7 +231,10 @@ onMounted(() => {
class="flex items-center justify-between rounded-sm border-l-4 border-l-[#409eff] px-[12px] py-[4px] shadow-sm transition-all duration-300 hover:bg-[#ecf5ff]"
>
<div class="flex items-center">
<IconifyIcon icon="ep:document" class="mr-[8px] text-[#409eff]" />
<IconifyIcon
icon="lucide:file-text"
class="mr-[8px] text-[#409eff]"
/>
<span class="break-all text-[13px] text-[#303133]">{{
file.name
}}</span>
@@ -243,7 +246,7 @@ onMounted(() => {
@click="removeFile(index)"
class="ml-2"
>
<IconifyIcon icon="ep:delete" />
<IconifyIcon icon="lucide:trash" />
</Button>
</div>
</div>