auth.wxml 1.0 KB

12345678910111213141516171819
  1. <!--pages/components/auth/auth.wxml-->
  2. <view class="auth_container">
  3. <view class="auth_text" wx:if="{{showAuthName}}">
  4. <view>点击“授权登录”,获得微信授权后,快速完成用户注册流程。</view>
  5. </view>
  6. <view class="auth_text" wx:if="{{showAuthPhone}}">
  7. <view>话费充值需要输入手机号码,油卡充值运营商需要用户手机号码。</view>
  8. </view>
  9. <button wx:if="{{showAuthName}}"
  10. style='margin-top:160rpx;width:580rpx;height: 80rpx;border:none; background-color: #fe7124; background: linear-gradient(to right, #ff7a21 0%,#feb25a 100%);color: #fff;'
  11. open-type="getUserInfo"
  12. bindgetuserinfo="userInfoHandler">授权登录</button>
  13. <button wx:if="{{showAuthPhone}}"
  14. style='margin-top:160rpx;width:580rpx;height: 80rpx; background-color: #fe7124; background: linear-gradient(to right, #ff7a21 0%,#feb25a 100%);color: #fff;'
  15. open-type="getPhoneNumber"
  16. bindgetphonenumber="userPhoneHandler">授权手机号码</button>
  17. </view>