fix:优化显示

This commit is contained in:
Jafeng 2026-02-09 17:09:44 +08:00
parent cfa15a445b
commit 3c3734d822

View File

@ -75,6 +75,7 @@
<view
v-if="i.fileList && i.fileList.length > 0"
class="file-list"
:class="{ 'no-send-text': !i.sendContent }"
>
<view
v-for="(file, idx) in i.fileList"
@ -1067,12 +1068,19 @@ watch(
.file-list {
margin-top: 6px;
}
.file-list.no-send-text {
margin-top: 0;
}
.file-item {
margin-top: 4px;
display: flex;
align-items: center;
gap: 6px;
}
.file-item + .file-item {
margin-top: 4px;
}
.file-icon {
font-size: 14px;
flex-shrink: 0;