优化首页登录

This commit is contained in:
wuxw 2020-05-01 17:26:12 +08:00
parent 81af648bd8
commit f0e29efa80
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
<div class="form-group">
<input type="password" v-model="loginInfo.passwd" class="form-control" placeholder="密码" required="" @keyup.enter="doLogin"/>
</div>
<vc:create path="frame/validate-code/validate-code"></vc:create>
<vc:create path="frame/validate-code"></vc:create>
<button type="submit" v-on:click="doLogin()" class="btn btn-primary block full-width m-b">登录</button>
<a href="#"><small>忘记密码?</small></a>

View File

@ -15,7 +15,7 @@
<div class="form-group">
<input name="repasswd" v-model="registerInfo.repasswd" type="password" class="form-control" placeholder="确认密码" required="" @focus="test('passwd')" />
</div>
<vc:create path="frame/validate-tel/validate-tel"></vc:create>
<vc:create path="frame/validate-tel"></vc:create>
<button type="submit" v-on:click="doRegister()" class="btn btn-primary block full-width m-b">注册</button>
<p class="text-muted text-center"><small>已有账户?</small></p>