fix: 修改对话页面样式
This commit is contained in:
parent
c866d05f33
commit
60097b4903
@ -1,12 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="item-content mb-16 lighter">
|
<div class="item-content mb-16 lighter">
|
||||||
<div v-for="(answer_text, index) in chatRecord.answer_text_list" :key="index">
|
<template v-for="(answer_text, index) in chatRecord.answer_text_list" :key="index">
|
||||||
<div class="avatar">
|
<div class="avatar">
|
||||||
<img v-if="application.avatar" :src="application.avatar" height="32px" width="32px" />
|
<img v-if="application.avatar" :src="application.avatar" height="32px" width="32px" />
|
||||||
<LogoIcon v-else height="32px" width="32px" />
|
<LogoIcon v-else height="32px" width="32px" />
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<el-card shadow="always" class="dialog-card">
|
<el-card shadow="always" class="dialog-card mb-8">
|
||||||
<MdRenderer
|
<MdRenderer
|
||||||
v-if="answer_text"
|
v-if="answer_text"
|
||||||
:source="answer_text"
|
:source="answer_text"
|
||||||
@ -23,6 +23,9 @@
|
|||||||
<KnowledgeSource :data="chatRecord" :type="application.type" />
|
<KnowledgeSource :data="chatRecord" :type="application.type" />
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<div class="content">
|
||||||
<OperationButton
|
<OperationButton
|
||||||
:type="type"
|
:type="type"
|
||||||
:application="application"
|
:application="application"
|
||||||
@ -34,7 +37,6 @@
|
|||||||
></OperationButton>
|
></OperationButton>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import KnowledgeSource from '@/components/ai-chat/KnowledgeSource.vue'
|
import KnowledgeSource from '@/components/ai-chat/KnowledgeSource.vue'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user