增加昵称和部门的匹配

This commit is contained in:
砂糖
2025-07-14 17:02:56 +08:00
parent 66169c3620
commit 4c0df26d3d
7 changed files with 168 additions and 8 deletions

View File

@@ -12,10 +12,16 @@
</view>
<view class="u-nav-slot" slot="center">
<view class="chating_info" :class="{ chating_info_single: isSingle }">
<view class="conversation_info">
<view class="title">{{ storeCurrentConversation.showName }}</view>
<view v-if="!isSingle && !isNotify" class="sub_title"
>{{ groupMemberCount }}
<view
class="conversation_info"
:style="isSingle ? 'flex-direction: column; align-items: center;' : 'flex-direction: row; align-items: center; justify-content: center;'"
>
<view class="title" :style="isSingle ? 'text-align: center;' : ''">{{ storeCurrentConversation.showName }}</view>
<view v-if="isSingle && storeCurrentConversation.deptName" style="margin-top:6rpx; display: flex; justify-content: center;">
<text :style="{backgroundColor: storeCurrentConversation.color, color: '#fff', padding: '2px 10px', borderRadius: '10px', fontSize: '20rpx', display: 'inline-block', textAlign: 'center'}">{{ storeCurrentConversation.deptName }}</text>
</view>
<view v-if="!isSingle && !isNotify" class="sub_title" style="margin-left: 8rpx;">
{{ groupMemberCount }}
</view>
</view>
</view>