信达小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
2.4 KiB

2 months ago
<van-nav-bar
wx:if="{{back}}"
title=""
border="{{false}}"
custom-style="background:transparent"
bind:click-left="handleBack"
fixed
>
<van-icon name="arrow-left" slot="left" color="#000" size="46rpx" />
</van-nav-bar>
<view
class="page"
style="background: url('{{imageUrl}}login-bg.png?t={{Timestamp}}') no-repeat top center/100% 624rpx;padding-top:{{menuButtonInfo.bottom}}px;"
>
<image
class="logo"
style="top:{{menuButtonInfo.top}}px"
mode="widthFix"
src="{{imageUrl}}home-logo.png?t={{Timestamp}}"
></image>
<view class="container">
<view class="tel">
<input
type="number"
model:value="{{mobile}}"
placeholder-class="place-input"
class="input"
placeholder="请输入手机号"
/>
</view>
<view class="code-row">
<input
type="text"
placeholder="请输入验证码"
class="code"
placeholder-class="place-code"
model:value="{{code}}"
type="number"
/>
<view class="btn" bind:tap="getCode">{{codeText}}</view>
</view>
<view class="protool">
<radio class="radio" color="#3795F7" checked="{{protool}}" bind:tap="handleProtool"></radio>
我已阅读并同意
<text class="link" bind:tap="handleNavProtool">《用户隐私协议》</text>
</view>
<view class="submit" bind:tap="handleSubmit">手机验证码登录</view>
<button wx:if="{{protool}}" class="tel-btn" open-type="getPhoneNumber" bindgetphonenumber="handleWxSubmit">
手机号一键快捷登录
</button>
<button wx:else class="tel-btn" bind:tap="handleWxSubmit">手机号一键快捷登录</button>
<view class="visitor" bind:tap="handleVisitor" wx:if="{{!back}}">
游客访问
<van-icon name="arrow" />
</view>
</view>
</view>
<van-popup show="{{ show }}" bind:close="onClose" round style="--popup-background-color: transparent">
<view class="popup">
<view class="popup-container">
<div class="content">
已阅读并同意
<text class="link" bind:tap="handleNavProtool">《用户隐私协议》</text>
</div>
<button wx:if="{{type==='phone'}}" class="conform" open-type="getPhoneNumber" bindgetphonenumber="handleWxSubmit">
同意并继续
</button>
<button wx:else class="conform" bind:tap="handleSubmit">同意并继续</button>
<view class="cancel" bind:tap="handleCancel">取消</view>
</view>
</view>
</van-popup>