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.

34 lines
1.3 KiB

<view class="container">
<view class="logo-view">
<image class="logo" src="cloud://educoder.6564-educoder-1300855313/images/educoder.png" mode="aspectFit"></image>
</view>
<view class="form-wrap">
<view class="input-wrap">
<input focus class="login-input"
bindinput="update_login"
value="{{login}}"
confirm-type="next"
bindconfirm="password_focus"
confirm-hold="{{true}}"
placeholder="用户名、邮箱、手机号">
</input>
</view>
<text class="error" wx:if="{{!error}}">{{error}}</text>
<view class="input-wrap">
<input focus="{{password_focus}}" password
class="login-input"
placeholder="密码"
confirm-type="done"
value="{{password}}"
bindinput="update_password"
bindconfirm="login">
</input>
</view>
<button class="login-submit" type="main" bindtap="login" bindlongpress="login_test">登录</button>
</view>
<view style="height:36px;">
<navigator class="tappable register" url="../register/register" open-type="redirect">注册</navigator>
<navigator class="tappable reset_password" url="../reset_password/reset_password?login={{login}}" open-type="redirect">忘记密码</navigator>
</view>
</view>