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.
 
 
 

56 lines
2.0 KiB

<view
class="page"
style="background: url('/images/login-bg.png') no-repeat top center/100% 624rpx;padding-top:{{menuButtonInfo.bottom}}px;"
>
<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">
<image class="icon" src="/images/icon-phone.png"></image>
手机号快捷登录
</button>
<button wx:else class="tel-btn" bind:tap="handleWxSubmit">
<image class="icon" src="/images/icon-phone.png"></image>
手机号快捷登录
</button>
<view class="visitor" bind:tap="handleVisitor">
游客访问
<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">
<image class="badge" src="/images/login-popup-badge.png"></image>
<image class="title" src="/images/login-popup-title.png"></image>
<view class="conform" bind:tap="handleTopic">开始</view>
<view class="cancel" bind:tap="handleCancelTopic">跳过</view>
</view>
</view>
</van-popup>