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