|
|
@@ -516,7 +516,7 @@
|
|
|
:class="{ active: currentMode === 'ai-writing' }"
|
|
|
@click="setMode('ai-writing')"
|
|
|
>
|
|
|
- <img src="../assets/chat/13.png" alt="AI写作" class="chip-icon">
|
|
|
+ <img src="../assets/Chat/13.png" alt="AI写作" class="chip-icon">
|
|
|
<span>AI写作</span>
|
|
|
</div>
|
|
|
|
|
|
@@ -526,7 +526,7 @@
|
|
|
:class="{ active: currentMode === 'safety-training' }"
|
|
|
@click="setMode('safety-training')"
|
|
|
>
|
|
|
- <img src="../assets/chat/14.png" alt="安全培训" class="chip-icon">
|
|
|
+ <img src="../assets/Chat/14.png" alt="安全培训" class="chip-icon">
|
|
|
<span>安全培训</span>
|
|
|
</div>
|
|
|
|
|
|
@@ -536,7 +536,7 @@
|
|
|
:class="{ active: currentMode === 'exam-workshop' }"
|
|
|
@click="setMode('exam-workshop')"
|
|
|
>
|
|
|
- <img src="../assets/chat/19.png" alt="考试工坊" class="chip-icon">
|
|
|
+ <img src="../assets/Chat/19.png" alt="考试工坊" class="chip-icon">
|
|
|
<span>考试工坊</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -703,17 +703,17 @@ import { getApiPrefix } from '@/utils/apiConfig'
|
|
|
import { Document } from '@element-plus/icons-vue'
|
|
|
|
|
|
// 导入发送按钮图标
|
|
|
-import sendIconEmpty from '@/assets/chat/15.png'
|
|
|
-import sendIconFilled from '@/assets/chat/16.png'
|
|
|
+import sendIconEmpty from '@/assets/Chat/15.png'
|
|
|
+import sendIconFilled from '@/assets/Chat/16.png'
|
|
|
|
|
|
// 导入其他图片资源
|
|
|
-import newChatIcon from '@/assets/chat/2.png'
|
|
|
+import newChatIcon from '@/assets/Chat/2.png'
|
|
|
import emptyIcon from '@/assets/Chat/22.png'
|
|
|
import aiAvatarIcon from '@/assets/Chat/29.png'
|
|
|
-import bridgeIcon from '@/assets/chat/4.png'
|
|
|
-import constructionIcon from '@/assets/chat/5.png'
|
|
|
-import materialIcon from '@/assets/chat/6.png'
|
|
|
-import standardIcon from '@/assets/chat/7.png'
|
|
|
+import bridgeIcon from '@/assets/Chat/4.png'
|
|
|
+import constructionIcon from '@/assets/Chat/5.png'
|
|
|
+import materialIcon from '@/assets/Chat/6.png'
|
|
|
+import standardIcon from '@/assets/Chat/7.png'
|
|
|
import copyIcon from '@/assets/AIWriting/5.png'
|
|
|
import editIcon from '@/assets/AIWriting/6.png'
|
|
|
import regenerateIcon from '@/assets/AIWriting/7.png'
|
|
|
@@ -721,10 +721,10 @@ import deleteIcon from '@/assets/AIWriting/8.png'
|
|
|
import voiceIcon from '@/assets/AIWriting/9.png'
|
|
|
import likeIcon from '@/assets/AIWriting/10.png'
|
|
|
import dislikeIcon from '@/assets/AIWriting/11.png'
|
|
|
-import questionIcon1 from '@/assets/chat/12.png'
|
|
|
-import questionIcon2 from '@/assets/chat/10.png'
|
|
|
-import questionIcon3 from '@/assets/chat/11.png'
|
|
|
-import attachmentIcon from '@/assets/chat/9.png'
|
|
|
+import questionIcon1 from '@/assets/Chat/12.png'
|
|
|
+import questionIcon2 from '@/assets/Chat/10.png'
|
|
|
+import questionIcon3 from '@/assets/Chat/11.png'
|
|
|
+import attachmentIcon from '@/assets/Chat/9.png'
|
|
|
import voiceInputIcon from '@/assets/Chat/18.png'
|
|
|
import networkSearchIconOn from '@/assets/Chat/24.png'
|
|
|
import networkSearchIconOff from '@/assets/Chat/25.png'
|
|
|
@@ -4446,15 +4446,15 @@ const getFileIcon = (fileType) => {
|
|
|
if (['.doc', '.docx'].includes(type)) {
|
|
|
return wordDocIcon
|
|
|
} else if (['.xls', '.xlsx'].includes(type)) {
|
|
|
- return new URL('../assets/chat/excel.png', import.meta.url).href
|
|
|
+ return new URL('../assets/Chat/excel.png', import.meta.url).href
|
|
|
} else if (['.ppt', '.pptx'].includes(type)) {
|
|
|
- return new URL('../assets/chat/ppt.png', import.meta.url).href
|
|
|
+ return new URL('../assets/Chat/ppt.png', import.meta.url).href
|
|
|
} else if (type === '.pdf') {
|
|
|
- return new URL('../assets/chat/pdf.png', import.meta.url).href
|
|
|
+ return new URL('../assets/Chat/pdf.png', import.meta.url).href
|
|
|
} else if (['.png', '.jpg', '.jpeg', '.gif'].includes(type)) {
|
|
|
- return new URL('../assets/chat/image.png', import.meta.url).href
|
|
|
+ return new URL('../assets/Chat/image.png', import.meta.url).href
|
|
|
} else if (type === '.txt') {
|
|
|
- return new URL('../assets/chat/txt.png', import.meta.url).href
|
|
|
+ return new URL('../assets/Chat/txt.png', import.meta.url).href
|
|
|
}
|
|
|
return '📎'
|
|
|
}
|