mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-12 17:08:11 +00:00
perf: 群聊显示发件人昵称
This commit is contained in:
parent
fd40ae6b67
commit
e3583df260
@ -1,5 +1,9 @@
|
||||
<template>
|
||||
<div :class="`dialog-view ${msgData.type}`" :data-id="msgData.id">
|
||||
<!--昵称-->
|
||||
<div v-if="dialogType === 'group'" class="dialog-username">
|
||||
<UserAvatar :userid="msgData.userid" :show-icon="false" :show-name="true" :tooltip-disabled="true"/>
|
||||
</div>
|
||||
|
||||
<div class="dialog-head">
|
||||
<!--详情-->
|
||||
@ -45,7 +49,7 @@
|
||||
<div v-if="msgData.created_at" class="dialog-foot">
|
||||
<div class="time" :title="msgData.created_at">{{$A.formatTime(msgData.created_at)}}</div>
|
||||
<EPopover
|
||||
v-if="msgData.send > 1 || dialogType == 'group'"
|
||||
v-if="msgData.send > 1 || dialogType === 'group'"
|
||||
v-model="popperShow"
|
||||
ref="percent"
|
||||
class="percent"
|
||||
|
||||
@ -164,7 +164,7 @@
|
||||
> li {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: flex-end;
|
||||
align-items: flex-start;
|
||||
list-style: none;
|
||||
margin-bottom: 16px;
|
||||
|
||||
@ -199,6 +199,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
.dialog-username {
|
||||
margin-bottom: 6px;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.dialog-head {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user