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.
41 lines
1.4 KiB
41 lines
1.4 KiB
<view class="container">
|
|
<view class="logo-view">
|
|
<image class="logo" src="../../images/educoder.png" mode="aspectFit"></image>
|
|
</view>
|
|
<form class="form-wrap" bindsubmit="reset_password">
|
|
<view class="input-wrap">
|
|
<input focus class="form-input"
|
|
name="login"
|
|
bindinput="updateLogin"
|
|
value="{{login}}"
|
|
placeholder="邮箱或手机号">
|
|
</input>
|
|
</view>
|
|
<view class="input-wrap">
|
|
<input password
|
|
name="new_password"
|
|
class="form-input"
|
|
placeholder="输入8-16位新密码">
|
|
</input>
|
|
</view>
|
|
<view class="input-wrap">
|
|
<input password
|
|
name="new_password_confirmation"
|
|
class="form-input"
|
|
placeholder="再次输入新密码">
|
|
</input>
|
|
</view>
|
|
<view class="input-wrap code">
|
|
<input class="code form-input"
|
|
name="code"
|
|
placeholder="验证码"
|
|
confirm-hold="{{true}}">
|
|
</input>
|
|
<button class="code" bindtap="send_code" disabled="{{countDownNum}}">{{countDownNum?countDownNum+'秒后重试':'获取验证码'}}</button>
|
|
</view>
|
|
<checkbox checked="{{autologin}}" bindtap="updateAutologin">重置后自动登陆</checkbox>
|
|
<button class="submit" type="primary" form-type="submit">重置密码</button>
|
|
</form>
|
|
<navigator class="tappable login" url="../login/login" open-type="redirect">返回登陆</navigator>
|
|
</view>
|