|
@@ -3,7 +3,7 @@
|
|
|
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
|
|
|
<h3 class="title">{{ loginTitle }}</h3>
|
|
|
<el-form-item prop="username">
|
|
|
- <el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="账号">
|
|
|
+ <el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="请输入账号">
|
|
|
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
@@ -12,7 +12,7 @@
|
|
|
v-model="loginForm.password"
|
|
|
type="password"
|
|
|
auto-complete="off"
|
|
|
- placeholder="密码"
|
|
|
+ placeholder="请输入密码"
|
|
|
@keyup.enter.native="handleLogin"
|
|
|
>
|
|
|
<svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon" />
|
|
@@ -22,8 +22,8 @@
|
|
|
<el-input
|
|
|
v-model="loginForm.code"
|
|
|
auto-complete="off"
|
|
|
- placeholder="验证码"
|
|
|
- style="width: 63%;"
|
|
|
+ placeholder="请输入验证码"
|
|
|
+ style="width: 63%;"
|
|
|
@keyup.enter.native="handleLogin"
|
|
|
>
|
|
|
<svg-icon slot="prefix" icon-class="validCode" class="el-input__icon input-icon" />
|
|
@@ -37,7 +37,7 @@
|
|
|
<el-button
|
|
|
:loading="loading"
|
|
|
size="medium"
|
|
|
- type="primary"
|
|
|
+ type="danger"
|
|
|
style="width:100%;"
|
|
|
@click.native.prevent="handleLogin"
|
|
|
>
|
|
@@ -151,34 +151,32 @@ export default {
|
|
|
<style rel="stylesheet/scss" lang="scss">
|
|
|
.login {
|
|
|
display: flex;
|
|
|
- justify-content: center;
|
|
|
+ justify-content: right;
|
|
|
align-items: center;
|
|
|
height: 100%;
|
|
|
- // background-image: url("../assets/images/login-background.jpg");
|
|
|
- background: #808080; /* fallback for old browsers */
|
|
|
- background: -webkit-linear-gradient(
|
|
|
- to right,
|
|
|
- #3fada8,
|
|
|
- #808080
|
|
|
- ); /* Chrome 10-25, Safari 5.1-6 */
|
|
|
- background: linear-gradient(
|
|
|
- to right,
|
|
|
- #3fada8,
|
|
|
- #808080
|
|
|
- ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
|
|
|
+ background-image: url("../assets/images/login-background.jpg");
|
|
|
background-size: cover;
|
|
|
}
|
|
|
.title {
|
|
|
margin: 0px auto 30px auto;
|
|
|
text-align: center;
|
|
|
- color: #707070;
|
|
|
+ font-weight: 700;
|
|
|
+ font-style: normal;
|
|
|
+ font-size: 30px;
|
|
|
+ color: #323232;
|
|
|
}
|
|
|
|
|
|
.login-form {
|
|
|
+ margin-right: 16%;
|
|
|
border-radius: 6px;
|
|
|
- background: #ffffff;
|
|
|
+ // background: #ffffff;
|
|
|
width: 400px;
|
|
|
padding: 25px 25px 5px 25px;
|
|
|
+ background: rgba(255, 255, 255, 0.501960784313725);
|
|
|
+ border: none;
|
|
|
+ border-radius: 14px;
|
|
|
+ box-shadow: none;
|
|
|
+
|
|
|
.el-input {
|
|
|
height: 38px;
|
|
|
input {
|