16 lines
680 B
Plaintext
16 lines
680 B
Plaintext
<!--index.wxml-->
|
|
<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>
|
|
<i-spin size="large" fix wx:if="{{ loading }}"></i-spin>
|
|
<i-spin size="large" fix wx:if="{{ unrecoverable }}" custom><view>您的账号已被封禁</view></i-spin>
|
|
</view>
|