ASEMiniProgram/pages/index/index.wxml

16 lines
680 B
Plaintext
Raw Normal View History

2021-03-02 07:14:49 +00:00
<!--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>
2021-03-20 17:48:56 +00:00
<i-spin size="large" fix wx:if="{{ loading }}"></i-spin>
<i-spin size="large" fix wx:if="{{ unrecoverable }}" custom><view>您的账号已被封禁</view></i-spin>
2021-03-02 07:14:49 +00:00
</view>