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

21 lines
721 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'bindtap="gerenxinxisubmit"><view>个人信息</view></button>
<button class='button2'bindtap="jieyuezhongsubmit"><view>借阅记录</view></button>
<button class='button3'bindtap="denglusubmit"><view>退出登录</view></button>
</page>