<form bindsubmit="tologin">
<view class='topbox'>
<image src='{{logo}}' mode='widthFix' class='hkhIcon'>image>
view>
<view class='contentbox'>
<view class='inputbox'>
<image src='/images/login/[email protected]' mode='widthFix'>image>
<input placeholder='输入手机号/用户名' name='username' value='{{tel}}'>input>
view>
<view class='inputbox'>
<image src='/images/login/[email protected]' mode='widthFix' class='suo'>image>
<input placeholder='输入8-16位密码' password='{{pass}}' name='password'>input>
view>
<view class='caozuo'>
<text bindtap='goForgetPass'>忘记密码text>
<text bindtap='goregistlogin'>手机号注册text>
view>
view>
<button form-type="submit" class='loginbtn'>登录button>
form>