phone.wxml 1.1 KB

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