Skip to content

Commit 60097b4

Browse files
fix: 修改对话页面样式
1 parent c866d05 commit 60097b4

File tree

1 file changed

+13
-11
lines changed
  • ui/src/components/ai-chat/component/answer-content

1 file changed

+13
-11
lines changed

ui/src/components/ai-chat/component/answer-content/index.vue

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<template>
22
<div class="item-content mb-16 lighter">
3-
<div v-for="(answer_text, index) in chatRecord.answer_text_list" :key="index">
3+
<template v-for="(answer_text, index) in chatRecord.answer_text_list" :key="index">
44
<div class="avatar">
55
<img v-if="application.avatar" :src="application.avatar" height="32px" width="32px" />
66
<LogoIcon v-else height="32px" width="32px" />
77
</div>
88
<div class="content">
9-
<el-card shadow="always" class="dialog-card">
9+
<el-card shadow="always" class="dialog-card mb-8">
1010
<MdRenderer
1111
v-if="answer_text"
1212
:source="answer_text"
@@ -23,16 +23,18 @@
2323
<KnowledgeSource :data="chatRecord" :type="application.type" />
2424
</div>
2525
</el-card>
26-
<OperationButton
27-
:type="type"
28-
:application="application"
29-
:chat-record="chatRecord"
30-
:loading="loading"
31-
:start-chat="startChat"
32-
:stop-chat="stopChat"
33-
:regenerationChart="regenerationChart"
34-
></OperationButton>
3526
</div>
27+
</template>
28+
<div class="content">
29+
<OperationButton
30+
:type="type"
31+
:application="application"
32+
:chat-record="chatRecord"
33+
:loading="loading"
34+
:start-chat="startChat"
35+
:stop-chat="stopChat"
36+
:regenerationChart="regenerationChart"
37+
></OperationButton>
3638
</div>
3739
</div>
3840
</template>

0 commit comments

Comments
 (0)