feat: 修改agent头像
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 7.8 KiB |
BIN
src/assets/images/agent-thumb.png
Normal file
BIN
src/assets/images/agent-thumb.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 67 KiB |
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user