no message

This commit is contained in:
kuaifan 2022-04-15 23:23:46 +08:00
parent 64e53b3dd0
commit d5ac6fc0c7
4 changed files with 8 additions and 7 deletions

View File

@ -58,11 +58,10 @@
<em v-if="dialog.last_at">{{$A.formatTime(dialog.last_at)}}</em>
</div>
<div class="dialog-text no-dark-mode">
<UserAvatar
v-if="dialog.type=='group' && dialog.last_msg.userid != userId"
:userid="dialog.last_msg.userid"
:show-name="true"
:show-icon="false"/>
<template v-if="dialog.type=='group'">
<div v-if="dialog.last_msg.userid == userId" class="last-self">{{$L('')}}</div>
<UserAvatar v-else :userid="dialog.last_msg.userid" :show-name="true" :show-icon="false"/>
</template>
<div class="last-text">{{formatLastMsg(dialog.last_msg)}}</div>
</div>
</div>

View File

@ -47,7 +47,7 @@
width: auto;
min-width: 220px;
max-width: 350px;
max-height: 500px;
max-height: 360px;
.ql-mention-list {
> li {

View File

@ -238,6 +238,7 @@
word-wrap: break-word;
word-break: break-word;
img {
cursor: pointer;
max-width: 220px;
max-height: 220px;
}

View File

@ -168,7 +168,8 @@
line-height: 24px;
display: flex;
align-items: center;
.common-avatar {
.common-avatar,
.last-self {
padding-right: 4px;
margin-right: 4px;
position: relative;