feat: 修改agent头像

This commit is contained in:
2026-03-13 11:35:56 +08:00
parent deff3410bf
commit d12cb53869
3 changed files with 15 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View File

@@ -27,7 +27,7 @@
:rehype-plugins="[rehypeRaw]"
>
<template v-slot:s-ReportCard="" {children:children,...attrs}>
<ReportCard :report="{ title: attrs.title, content: attrs.content }" />
<ReportCard :report="{ title: attrs.title, content: attrs.content }" @click="handleClickReport(content)" />
</template>
</VueMarkdown>
</div>
@@ -77,7 +77,7 @@
import { useI18n } from 'vue-i18n'
import gsap from 'gsap'
import userThumb from '@/assets/images/user-thumb.jpg'
import agentThumb from '@/assets/images/agent-thumb.jpg'
import agentThumb from '@/assets/images/agent-thumb.png'
import ReportCard from './ReportCard.vue'
import UrlCard from './UrlCard.vue'
import { VueMarkdown } from '@crazydos/vue-markdown'
@@ -92,7 +92,7 @@
}>()
const emit = defineEmits(['regenerate'])
const imageList = computed(() => {
const { imageUrls } = props.content
const list = []
@@ -195,7 +195,15 @@
const toggleThinkingCollapsed = () => {
props.content.thinkingCollapsed = !props.content.thinkingCollapsed
}
const handleClickReport = (data) => {
// 点击显示报告
}
const handleClickUrls = (data) => {
// 点击显示来源
}
</script>
<style lang="less" scoped>
@@ -235,6 +243,10 @@
font-size: 1.4rem;
width: 82%;
}
&.is-user .message-context {
width: fit-content;
max-width: 82%;
}
}
.operate {
margin-top: 1.3rem;