zhongping-miniprogram/miniprogram/pages/login/login.wxml

24 lines
1.2 KiB
Plaintext

<!--pages/login/login.wxml-->
<view class="login-page">
<view class="form">
<view class="formItem">
<view class="formLabel">手机号</view>
<view>
<input type="text" placeholder="请输入" maxlength="11" model:value="{{phone}}" type="number" />
</view>
</view>
<view class="formItem">
<view class="formLabel">验证码</view>
<!-- <view class="formInput"><input type="number" model:value="{{code}}" placeholder="请输入" /><text class="btn_code" bindtap="send">{{sendNum===60?'获取验证码':sendNum}}</text></view> -->
<view class="formInputBox">
<input class="code" type="number" model:value="{{code}}" placeholder="请输入" /><text class="btn_code" bindtap="send">{{sendNum===60?'获取验证码':sendNum}}</text>
</view>
</view>
</view>
<view class="btn_login">
<btn width="518rpx" height="88rpx" fontSize="34rpx" bindtap="defaultLogin">立即登录</btn>
</view>
<view class="privacy"><view class="checkbox" bindtap="handleChecked"><image wx:if="{{isChecked}}" src="/assets/images/comment/icon_checked.png"></image></view>我已同意<text bindtap="goPrivacy">《隐私政策》</text>和<text bindtap="goService">《用户协议》</text></view>
</view>