diff --git a/apps/web-antd/public/static/copy.svg b/apps/web-antd/public/static/copy.svg deleted file mode 100644 index f51f8d81c..000000000 --- a/apps/web-antd/public/static/copy.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/apps/web-antd/public/static/delete.svg b/apps/web-antd/public/static/delete.svg deleted file mode 100644 index d2ee18eda..000000000 --- a/apps/web-antd/public/static/delete.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/apps/web-antd/public/static/dall2.jpg b/apps/web-antd/public/static/imgs/ai/dall2.jpg similarity index 100% rename from apps/web-antd/public/static/dall2.jpg rename to apps/web-antd/public/static/imgs/ai/dall2.jpg diff --git a/apps/web-antd/public/static/dall3.jpg b/apps/web-antd/public/static/imgs/ai/dall3.jpg similarity index 100% rename from apps/web-antd/public/static/dall3.jpg rename to apps/web-antd/public/static/imgs/ai/dall3.jpg diff --git a/apps/web-antd/public/static/qingxi.jpg b/apps/web-antd/public/static/imgs/ai/qingxi.jpg similarity index 100% rename from apps/web-antd/public/static/qingxi.jpg rename to apps/web-antd/public/static/imgs/ai/qingxi.jpg diff --git a/apps/web-antd/public/static/ziran.jpg b/apps/web-antd/public/static/imgs/ai/ziran.jpg similarity index 100% rename from apps/web-antd/public/static/ziran.jpg rename to apps/web-antd/public/static/imgs/ai/ziran.jpg diff --git a/apps/web-antd/src/utils/constants.ts b/apps/web-antd/src/utils/constants.ts index a3eaf3233..44ac6751c 100644 --- a/apps/web-antd/src/utils/constants.ts +++ b/apps/web-antd/src/utils/constants.ts @@ -365,12 +365,12 @@ export const Dall3Models: ImageModelVO[] = [ { key: 'dall-e-3', name: 'DALL·E 3', - image: `/static/dall2.jpg`, + image: `/static/imgs/ai/dall2.jpg`, }, { key: 'dall-e-2', name: 'DALL·E 2', - image: `/static/dall3.jpg`, + image: `/static/imgs/ai/dall3.jpg`, }, ]; @@ -378,12 +378,12 @@ export const Dall3StyleList: ImageModelVO[] = [ { key: 'vivid', name: '清晰', - image: `/static/qingxi.jpg`, + image: `/static/imgs/ai/qingxi.jpg`, }, { key: 'natural', name: '自然', - image: `/static/ziran.jpg`, + image: `/static/imgs/ai/ziran.jpg`, }, ]; export const MidjourneyModels: ImageModelVO[] = [ diff --git a/apps/web-antd/src/views/ai/chat/index/components/conversation/ConversationList.vue b/apps/web-antd/src/views/ai/chat/index/components/conversation/ConversationList.vue index a2f1a82da..1cab5b683 100644 --- a/apps/web-antd/src/views/ai/chat/index/components/conversation/ConversationList.vue +++ b/apps/web-antd/src/views/ai/chat/index/components/conversation/ConversationList.vue @@ -318,7 +318,7 @@ onMounted(async () => { type="primary" @click="createConversation" > - + 新建对话 @@ -330,7 +330,7 @@ onMounted(async () => { @keyup="searchConversation" > @@ -389,28 +389,28 @@ onMounted(async () => { type="link" @click.stop="handleTop(conversation)" > - - + + icon="lucide:arrow-down" + /> @@ -430,14 +430,14 @@ onMounted(async () => { class="flex cursor-pointer items-center text-[#606266]" @click="handleRoleRepository" > - + 角色仓库
- + 清空未置顶对话
diff --git a/apps/web-antd/src/views/ai/chat/index/components/message/MessageKnowledge.vue b/apps/web-antd/src/views/ai/chat/index/components/message/MessageKnowledge.vue index f7ffcd184..274a74200 100644 --- a/apps/web-antd/src/views/ai/chat/index/components/message/MessageKnowledge.vue +++ b/apps/web-antd/src/views/ai/chat/index/components/message/MessageKnowledge.vue @@ -60,7 +60,7 @@ function handleClick(doc: any) { class="mt-[10px] rounded-[8px] bg-[#f5f5f5] p-[10px]" >
- 知识引用 + 知识引用
userStore.userInfo?.avatar || preferences.app.defaultAvatar, ); -const roleAvatar = computed( - () => props.conversation.roleAvatar ?? '/static/gpt.svg', -); const { list } = toRefs(props); // 定义 emits @@ -121,7 +119,11 @@ onMounted(async () => {
- + +
@@ -142,7 +144,7 @@ onMounted(async () => { type="text" @click="copyContent(item.content)" > - +
@@ -178,28 +180,28 @@ onMounted(async () => { type="text" @click="copyContent(item.content)" > - +
@@ -214,7 +216,7 @@ onMounted(async () => { @click="handleGoBottom" >
diff --git a/apps/web-antd/src/views/ai/chat/index/components/role/RoleCategoryList.vue b/apps/web-antd/src/views/ai/chat/index/components/role/RoleCategoryList.vue index 3c9e97749..748fa13b4 100644 --- a/apps/web-antd/src/views/ai/chat/index/components/role/RoleCategoryList.vue +++ b/apps/web-antd/src/views/ai/chat/index/components/role/RoleCategoryList.vue @@ -27,7 +27,7 @@ async function handleCategoryClick(category: string) {