phone.wxml 1.1 KB

123456789101112131415161718192021222324
  1. <view class="logo">
  2. <image src="/static/image/logo.png" bindtap="openChange" />
  3. </view>
  4. <!-- 手机号登录 -->
  5. <phone id='login' wx:if="{{loginFunc}}" />
  6. <!-- 账号登录 -->
  7. <account wx:else id='login' />
  8. <view style="width: 100vw; text-align: center;margin-top: 60rpx;margin-bottom: 40rpx;">
  9. <van-button disabled='{{disabled}}' custom-class='login' bindtap="userLogin" loading='{{loading}}' loading-text="登陆中..." color='linear-gradient(90deg, #3874F6 0%, #095DE0 100%);'>登录</van-button>
  10. </view>
  11. <!-- 隐私协议 -->
  12. <Agreement isAgree='{{isAgree}}' bindcallBack='agreementChange' />
  13. <!-- 快捷登录 -->
  14. <block>
  15. <view style="height: 100rpx;" />
  16. <van-divider contentPosition="center">其他登录方式</van-divider>
  17. <view style="width: 100%; text-align: center;">
  18. <text class="iconfont icon-a-wodebangdingweixin" style="font-size: 100rpx; color:#07C160;" bindtap="wechatLogin" />
  19. <text wx:if="{{showChange}}" class="iconfont icon-a-wodeshezhi" style="font-size: 100rpx; color:#1563E6;" bindtap="changeLoginFun" />
  20. </view>
  21. </block>
  22. <van-toast id="van-toast" />