|
|
|
@ -54,28 +54,6 @@ |
|
|
|
|
<el-button type="text" class="ques" @click="toReg(true)">前往注册</el-button> |
|
|
|
|
<el-button type="text" class="forget" @click="forget">忘记密码?</el-button> |
|
|
|
|
</div> |
|
|
|
|
<!-- <h2>密码登录</h2> |
|
|
|
|
<el-form :model="loginForm" :rules="loginRules" ref="login" label-width="0px"> |
|
|
|
|
<el-form-item prop="username"> |
|
|
|
|
<p class="label">用户名</p> |
|
|
|
|
<el-input v-model="loginForm.username" placeholder="请输入账号/手机号" @keyup.enter.native="submitForm()"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item prop="password"> |
|
|
|
|
<p class="label">密码</p> |
|
|
|
|
<el-input |
|
|
|
|
type="password" |
|
|
|
|
placeholder="请输入密码" |
|
|
|
|
v-model="loginForm.password" |
|
|
|
|
@keyup.enter.native="getSchool()" |
|
|
|
|
> |
|
|
|
|
</el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-button class="submit" type="primary" @click="getSchool">登录</el-button> |
|
|
|
|
<div class="links flex-between"> |
|
|
|
|
<el-button type="text" class="ques" @click="toReg(true)">前往注册</el-button> |
|
|
|
|
<el-button type="text" class="forget" @click="forget">忘记密码?</el-button> |
|
|
|
|
</div> |
|
|
|
|
</el-form> --> |
|
|
|
|
</div> |
|
|
|
|
<register v-else :isReg.sync="isReg" @updateInfo="updateInfo"></register> |
|
|
|
|
</div> |
|
|
|
|