修改:生图失败文案提示和用户头像调整
continuous-integration/drone/push Build was killed
continuous-integration/drone/promote/prod Build is passing

This commit is contained in:
Linzm committed 2026-11-10 10:44:41 +08:00
1 parent 02d926e91e
commit 31754ef398
4 files changed
+72 -19

No files matched your search

+11 -12
View File
@@ -17,7 +17,9 @@
<div v-if="msg.role === 'agent'" class="msg__avatar" aria-hidden="true">
<img :src="config.images.avatar" alt="" />
</div>
<div v-else class="msg__avatar msg__avatar--user" aria-hidden="true">柚</div>
<div v-else class="msg__avatar msg__avatar--user" aria-hidden="true">
<img :src="config.images.userAvatar" alt="" />
</div>
<div class="msg__body">
<div v-if="msg.type === 'text'" class="msg__bubble">
@@ -1143,15 +1145,12 @@ onBeforeUnmount(() => {
}
.msg__avatar--user {
display: inline-flex;
align-items: center;
justify-content: center;
background: #3a8e4d;
border: 0;
color: #fff;
font-size: 13px;
font-weight: 600;
line-height: 1;
background: #ffffff;
img {
object-fit: cover;
object-position: center;
}
}
.msg__body {
@@ -1182,7 +1181,7 @@ onBeforeUnmount(() => {
}
.msg.is-user .msg__bubble {
border-radius: 16px 16px 4px 16px;
border-radius: 16px 4px 16px 16px;
}
.msg:not(.is-user) .msg__bubble {
@@ -1197,7 +1196,7 @@ onBeforeUnmount(() => {
width: 100%;
box-sizing: border-box;
padding: 10px;
background: #f0f1f3;
background: #e9e9eb;
box-shadow: none;
color: #222;