u-avatar头像组件
This commit is contained in:
parent
ef0d1b59fb
commit
a1c9b2c072
@ -3,7 +3,7 @@
|
||||
<!-- 1. 已登录 -->
|
||||
<block v-if="userInfo.nickName">
|
||||
<image class="user_avatar_bg" :src="userInfo.avatarUrl" mode="aspectFill"></image>
|
||||
<image class="user_avatar" :src="userInfo.avatarUrl"></image>
|
||||
<u-avatar :src="userInfo.avatarUrl" mode="circle" :sex-icon="userInfo.gender===1? 'man' : 'woman'" show-sex="true" size="large" show-level="true" level-icon="level"></u-avatar>
|
||||
<text class="user_nickName">{{userInfo.nickName}}</text>
|
||||
</block>
|
||||
<!-- 2. 未登录 -->
|
||||
|
Loading…
Reference in New Issue
Block a user