4f698eef by yangwei

登录页调整

1 parent 5636d350

1.81 MB | W: | H:

1.74 MB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
<template>
<div class="bg">
<div class="login-logo"></div>
<div class="login-inner-bg login">
<h2>{{ productName }}</h2>
<div class="user_style">
......@@ -9,7 +10,7 @@
<el-input class="username" v-model="user.account" placeholder="请输入用户名"></el-input>
</el-form-item>
<el-form-item prop="password">
<el-input type="password" class="password" @keyup.native="login('user')" v-model="user.password"
<el-input type="password" class="password" @keyup.enter.native="login('user')" v-model="user.password"
placeholder="请输入密码"></el-input>
</el-form-item>
<el-form-item class="login-btn">
......@@ -149,11 +150,20 @@
background-size: 100% 100%;
overflow: hidden;
position: relative;
.login-logo {
background: url(../../image/loginLogo.png) no-repeat;
background-size: 100% 100%;
width: 28%;
height: 52%;
position: absolute;
top: 25%;
left: 19%;
}
}
.login-inner-bg {
background: url(../../image/loginBg.png) no-repeat;
width: 21.6%;
width: 20.6%;
height: 43%;
min-width: 360px;
min-height: 380px;
......@@ -247,4 +257,7 @@
padding: 6px 24px !important;
border: 1px solid #9f9f9f !important;
}
tr.hover-row > td.el-table__cell {
background-color: transparent !important;
}
</style>
......