login.wxml 1.3 KB

1234567891011121314151617181920212223242526
  1. <!--pages/login/login.wxml-->
  2. <view class="login-container" wx:if="{{!showBindTips}}">
  3. <view class="content">
  4. <image src='../../images/logo.png' class='logo'></image>
  5. <!-- <view class="title">市民请集合</view>
  6. <view class="msg">申请获得你的公开信息(昵称、头像等)</view> -->
  7. </view>
  8. <view class="login-phone">
  9. <button class="authorized-btn" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">微信一键登录</button>
  10. </view>
  11. <view class="login-phone">
  12. <button class="authorized-btn hole-btn" bindtap="goback">暂不登录</button>
  13. <!-- <button class="authorized-btn hole-btn" bindtap="toLogin">账号密码登录</button> -->
  14. </view>
  15. <!-- <view class="login-bottom">
  16. <button class="authorized-btn bottom-btn" open-type="getUserInfo" bindgetuserinfo="bindGetUserInfo">微信登录</button>
  17. <button class="authorized-btn bottom-btn" bindtap="toLogin">账号登录</button>
  18. </view> -->
  19. </view>
  20. <view class="bind-tips" wx:if="{{showBindTips}}">
  21. <view class="user-info">
  22. <open-data class="head-img" type="userAvatarUrl"></open-data>
  23. <open-data class="userNickName" type="userNickName"></open-data>
  24. </view>
  25. <button class="authorized-btn" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">手机号一键登录</button>
  26. </view>