修改我的界面

master
zxy19971014 6 years ago
parent f7e8073ec3
commit 67d72fbcfe

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

Loading…
Cancel
Save