mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 08:48:06 +08:00
16 lines
597 B
Plaintext
16 lines
597 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>
|
|
<button bindtap="onscan">扫一扫</button>
|
|
<view><text>{{qrcode}}</text></view>
|
|
<view class="usermotto">
|
|
<text class="user-motto">{{motto}}</text>
|
|
</view>
|
|
</view>
|