增加昵称和部门的匹配
This commit is contained in:
@@ -19,7 +19,12 @@
|
||||
>
|
||||
<text>{{ formattedMessageTime }}</text>
|
||||
<text style="margin-left: 2rpx; margin-right: 2rpx">{{ "" }}</text>
|
||||
<text v-if="!isSingle">{{ source.senderNickname }}</text>
|
||||
<text v-if="!isSingle">
|
||||
{{ source.senderNickname }}
|
||||
</text>
|
||||
<template v-if="!isSingle && source.deptName">
|
||||
<text class="dept_name" :style="{backgroundColor: source.color, color: '#fff', padding: '2px 8px', borderRadius: '8px', fontSize: '20rpx', marginLeft: '8rpx'}">{{ source.deptName }}</text>
|
||||
</template>
|
||||
</view>
|
||||
<view class="message_send_state_box">
|
||||
<view
|
||||
@@ -384,6 +389,13 @@ export default {
|
||||
font-size: 0.85rem;
|
||||
color: #666;
|
||||
margin-bottom: 6rpx;
|
||||
align-items: center;
|
||||
.dept_name {
|
||||
display: inline-block;
|
||||
line-height: 1.2;
|
||||
vertical-align: middle;
|
||||
margin-left: 8rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.message_content_wrap {
|
||||
|
||||
Reference in New Issue
Block a user