<view class="logo">
    <image src="/static/image/logo.png" />
</view>

<!-- 手机号登录  -->
<phone id='login' wx:if="{{site=='美大'}}" />
<!-- 账号登录 -->
<account wx:else id='login' />

<view style="width: 100vw; text-align: center;margin-top: 60rpx;margin-bottom: 40rpx;">
    <van-button disabled='{{disabled}}' custom-class='login' bindtap="userLogin" loading='{{loading}}' loading-text="登陆中..." color='linear-gradient(90deg, #3874F6 0%, #095DE0 100%);'>登录</van-button>
</view>

<!-- 隐私协议 -->
<Agreement isAgree='{{isAgree}}' bindcallBack='agreementChange' />

<!-- 快捷登录 -->
<block wx:if="{{false}}">
    <view style="height: 100rpx;" />
    <van-divider contentPosition="center">其他登录方式</van-divider>
    <view style="width: 100%; text-align: center;">
        <text class="iconfont icon-a-wodebangdingweixin" style="font-size: 100rpx; color:#07C160;" bindtap="wechatLogin" />
    </view>
</block>

<van-toast id="van-toast" />