im-MIXINS

This commit is contained in:
2022-02-23 17:28:42 +08:00
parent 853c4611ef
commit f4e44de777
14 changed files with 87 additions and 91 deletions

View File

@@ -3,7 +3,7 @@
<block v-if="groups.length > 0">
<view class="title"> 群聊 </view>
<view v-for="(item, index) in groups" :key="index" class="friend-flex" @click="toGroup(item.targetId)">
<u-avatar size="36" shape="square" :src="item.portraitUrl !== ''?contact(item.targetId).portraitUrl :require('@/static/user/cover-s.png')" />
<u-avatar size="36" shape="square" :src="contact(item.targetId).portraitUrl" />
<view class="info">
<view class="name">{{ item.name }} <span class="total">{{ item.members }} 成员</span></view>
</view>