|
|
|
@ -1,18 +1,6 @@ |
|
|
|
<!--index.wxml--> |
|
|
|
<van-nav-bar left-text="返回" left-arrow title="标题" fixed /> |
|
|
|
<van-nav-bar left-text="返回" left-arrow title="标题" fixed placeholder/> |
|
|
|
|
|
|
|
<view class="container"> |
|
|
|
<view class="userinfo"> |
|
|
|
<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> |
|
|
|
</block> |
|
|
|
</view> |
|
|
|
<view class="usermotto"> |
|
|
|
<text class="user-motto">{{motto}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<van-button type="primary">按钮</van-button> |
|
|
|
<van-button type="primary">按钮</van-button> |
|
|
|
<van-button type="primary">按钮</van-button> |
|
|
|
|