You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zx/wode/wode.wxml

20 lines
634 B

6 years ago
<!--index.wxml-->
<page>
6 years ago
<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>
6 years ago
</block>
</view>
6 years ago
</view>
<button class='button1'><view>个人信息</view></button>
<button class='button2'><view>借阅记录</view></button>
<button class='button3'><view>退出登录</view></button>
</page>