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]"
|
:rehype-plugins="[rehypeRaw]"
|
||||||
>
|
>
|
||||||
<template v-slot:s-ReportCard="" {children:children,...attrs}>
|
<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>
|
</template>
|
||||||
</VueMarkdown>
|
</VueMarkdown>
|
||||||
</div>
|
</div>
|
||||||
@@ -77,7 +77,7 @@
|
|||||||
import { useI18n } from 'vue-i18n'
|
import { useI18n } from 'vue-i18n'
|
||||||
import gsap from 'gsap'
|
import gsap from 'gsap'
|
||||||
import userThumb from '@/assets/images/user-thumb.jpg'
|
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 ReportCard from './ReportCard.vue'
|
||||||
import UrlCard from './UrlCard.vue'
|
import UrlCard from './UrlCard.vue'
|
||||||
import { VueMarkdown } from '@crazydos/vue-markdown'
|
import { VueMarkdown } from '@crazydos/vue-markdown'
|
||||||
@@ -195,7 +195,15 @@
|
|||||||
|
|
||||||
const toggleThinkingCollapsed = () => {
|
const toggleThinkingCollapsed = () => {
|
||||||
props.content.thinkingCollapsed = !props.content.thinkingCollapsed
|
props.content.thinkingCollapsed = !props.content.thinkingCollapsed
|
||||||
|
}
|
||||||
|
|
||||||
|
const handleClickReport = (data) => {
|
||||||
|
// 点击显示报告
|
||||||
|
}
|
||||||
|
const handleClickUrls = (data) => {
|
||||||
|
// 点击显示来源
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@@ -235,6 +243,10 @@
|
|||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
width: 82%;
|
width: 82%;
|
||||||
}
|
}
|
||||||
|
&.is-user .message-context {
|
||||||
|
width: fit-content;
|
||||||
|
max-width: 82%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.operate {
|
.operate {
|
||||||
margin-top: 1.3rem;
|
margin-top: 1.3rem;
|
||||||
|
|||||||
Reference in New Issue
Block a user