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

<!-- 手机号登录  -->
<!-- <phone id='login'  /> -->
<!-- 账号登录 -->
<account 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>
<!-- 隐私协议 -->
<view class="agreement">
	<van-checkbox icon-size="28rpx" label-class='con' value="{{ isAgree }}" bind:change="isAgreeChange"> 已阅读并同意<text catchtap="checkTheAgreement">《隐私协议》</text></van-checkbox>
</view>
<!-- 快捷登录 -->
<block>
	<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-dialog use-slot show='{{ showDialog }}' confirmButtonText="{{language['同意并获取']||'同意并获取'}}" cancelButtonText="取消" confirm-button-color='var(--assist)' show-cancel-button bind:confirm='onConfirm'>
	<view class="dialog">
		请阅读并同意
		<navigator class="navigator" url="#" bind:tap="checkTheAgreement">《隐私协议》</navigator>
	</view>
</van-dialog>