userInfo.wxml 551 Bytes
<!--pages/auth/userInfo/userInfo.wxml-->
<!-- 需要使用 button 来授权登录 -->
<navigation-bar titleText='授权登录' showBtn='{{false}}' bind:getNavHeight='getNavHeight' bind:navigateBack='onNavigateBack' intercept='{{false}}' />
<view class='box' style='margin-top:{{marginTop}}px'>

<view class='img'><open-data type="userAvatarUrl"></open-data></view>
<view class='name'><open-data type="userNickName"></open-data></view>
<button wx:if="{{canIUse}}" open-type="getUserInfo" bindgetuserinfo="bindGetUserInfo">授权登录</button>
</view>