|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
<button wx:if="{{!hasUserInfo && canIUse}}" open-type="getUserInfo" bindgetuserinfo="getUserInfo"> 获取头像昵称 </button>
|
|
|
|
|
<block wx:else>
|
|
|
|
|
<image bindtap="bindViewTap" class="userinfo-avatar" src="{{userInfo.avatarUrl}}" mode="cover"></image>
|
|
|
|
|
<text class="userinfo-nickname">欢迎,{{userInfo.nickName}}</text>
|
|
|
|
|
<text class="userinfo-nickname">{{userInfo.nickName}}</text>
|
|
|
|
|
</block>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|