17 lines
888 B
Plaintext

<view>
<view wx:if="{{!logo}}" class="logo">
<image class="_image" src="../../utils/replace-images/logo.png"></image>
</view>
<view wx:else class="logo_mobile_image">
<image class="mobile_image" src="../../utils/images/moblie_image.png"></image>
<view class="_title">手机号验证</view>
</view>
<view wx:if="{{!logo}}" class="to-grant">
<button size="default" wx:if="{{canIUseGetUserProfile}}" bindtap="getUserProfile" class="to-grant-authorization">获取微信授权</button>
<button size="default" wx:else open-type="getUserInfo" bindgetuserinfo="getUserInfo" class="to-grant-authorization">获取微信授权</button>
</view>
<view wx:else>
<button class="to-grant-authorization" open-type="getPhoneNumber" bindgetphonenumber="decryptPhoneNumber">微信授权手机号登录</button>
</view>
</view>