This commit is contained in:
qinjie 2021-08-10 10:55:38 +08:00
parent fb22a9c876
commit d612488fa1
1 changed files with 23 additions and 10 deletions

View File

@ -3,24 +3,36 @@
<div class="login"> <div class="login">
<div class="login_title">安全培训系统登录</div> <div class="login_title">安全培训系统登录</div>
<div class="login_form"> <div class="login_form">
<el-input placeholder="用户名" v-model="input1"> <el-input placeholder="用户名" v-model="loginForm.username">
<template slot="prepend">Http://</template> <template slot="prepend">
<icon class="el-icon-user" style="font-size: 20px;" />
</template>
</el-input> </el-input>
<el-input placeholder="密码" v-model="input1"> <el-input placeholder="密码" show-password v-model="loginForm.password">
<template slot="prepend">Http://</template> <template slot="prepend">
<icon class="el-icon-goods" style="font-size: 20px;" />
</template>
</el-input> </el-input>
<el-link <el-link href="javascript:void(0)" :underline="false" icon="el-icon-edit">忘记密码</el-link>
href="javascript:void(0)"
:underline="false"
icon="el-icon-edit"
>忘记密码</el-link
>
<el-button type="primary"> </el-button> <el-button type="primary"> </el-button>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script>
export default {
data() {
return {
loginForm: {
username: "",
password: ""
}
}
}
}
</script>
<style scoped> <style scoped>
.login_main { .login_main {
width: 100%; width: 100%;
@ -43,6 +55,7 @@
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
line-height: 60px; line-height: 60px;
margin-bottom: 10px;
} }
/* border-bottom: 1px solid #ccc; */ /* border-bottom: 1px solid #ccc; */
.login_form { .login_form {