|
|
@@ -2,7 +2,7 @@ |
|
|
|
<view class="container"> |
|
|
|
<view class="userinfo"> |
|
|
|
<block wx:if="{{canIUseOpenData}}"> |
|
|
|
<view class="userinfo-avatar" bindtap="bindViewTap"> |
|
|
|
<view class="userinfo-avatar"> |
|
|
|
<open-data type="userAvatarUrl"></open-data> |
|
|
|
</view> |
|
|
|
<open-data type="userNickName"></open-data> |
|
|
@@ -13,7 +13,7 @@ |
|
|
|
<view wx:else> 请使用1.4.4及以上版本基础库 </view> |
|
|
|
</block> |
|
|
|
<block wx:else> |
|
|
|
<image bindtap="bindViewTap" class="userinfo-avatar" src="{{userInfo.avatarUrl}}" mode="cover"></image> |
|
|
|
<image class="userinfo-avatar" src="{{userInfo.avatarUrl}}" mode="cover"></image> |
|
|
|
<text class="userinfo-nickname">{{userInfo.nickName}}</text> |
|
|
|
</block> |
|
|
|
</view> |
|
|
|