Commit d39501ef authored by neogcg's avatar neogcg

2.22

parent c1e0dc7f
<template> <template>
<div class="login-container"> <div class="login-container">
<div class="text"> <div class="text">
<p style="color: white; font-size: 40px; text-align: center; letter-spacing: 5px;"> <p
style="
color: white;
font-size: 40px;
text-align: center;
letter-spacing: 5px;
"
>
RX100R 漏缆故障定位监测系统 RX100R 漏缆故障定位监测系统
</p> </p>
</div> </div>
...@@ -61,7 +68,7 @@ ...@@ -61,7 +68,7 @@
<el-button <el-button
:loading="loading" :loading="loading"
class="loginbtn" class="loginbtn"
style="width: 100%; margin-top: 30px; margin-bottom: 30px;" style="width: 100%; margin-top: 30px; margin-bottom: 30px"
@click.native.prevent="handleLogin" @click.native.prevent="handleLogin"
>登录</el-button >登录</el-button
> >
...@@ -123,10 +130,10 @@ export default { ...@@ -123,10 +130,10 @@ export default {
}, },
created() { created() {
var that = this; var that = this;
document.onkeydown = function(e) { document.onkeydown = function (e) {
var key = window.event.keyCode; var key = window.event.keyCode;
if (key == 13 || key == 100) { if (key == 13 || key == 100) {
that.handleLogin() that.handleLogin();
} }
}; };
}, },
...@@ -216,7 +223,7 @@ $cursor: #fff; ...@@ -216,7 +223,7 @@ $cursor: #fff;
color: #454545; color: #454545;
height: 42px; height: 42px;
} }
.el-form-item__content{ .el-form-item__content {
line-height: 32px; line-height: 32px;
} }
} }
...@@ -249,7 +256,6 @@ $light_gray: #eee; ...@@ -249,7 +256,6 @@ $light_gray: #eee;
box-sizing: border-box; box-sizing: border-box;
font-family: "Source Sans Pro", sans-serif; font-family: "Source Sans Pro", sans-serif;
// background-image: url('../../assets/img/loginTitleBg.png'); // background-image: url('../../assets/img/loginTitleBg.png');
} }
.loginBox { .loginBox {
position: absolute; position: absolute;
...@@ -268,11 +274,11 @@ $light_gray: #eee; ...@@ -268,11 +274,11 @@ $light_gray: #eee;
border-radius: 20px; border-radius: 20px;
font-family: "Source Sans Pro", sans-serif; font-family: "Source Sans Pro", sans-serif;
.loginbtn{ .loginbtn {
background: linear-gradient(180deg, #4082FF 0%, #0044C7 100%); background: linear-gradient(180deg, #4082ff 0%, #0044c7 100%);
color:#ffffff; color: #ffffff;
font-size: 14px; font-size: 14px;
border:none; border: none;
height: 46px; height: 46px;
border-radius: 8px; border-radius: 8px;
letter-spacing: 3px; letter-spacing: 3px;
...@@ -309,19 +315,19 @@ $light_gray: #eee; ...@@ -309,19 +315,19 @@ $light_gray: #eee;
.title-container { .title-container {
position: relative; position: relative;
margin-top:15px; margin-top: 15px;
margin-bottom: 32px; margin-bottom: 32px;
.title { .title {
font-family: 'Source Han Sans CN'; font-family: "Source Han Sans CN";
font-size: 24px; font-size: 24px;
color: $light_gray; color: $light_gray;
margin: 0px auto 10px auto; margin: 0px auto 10px auto;
text-align: center; text-align: center;
// font-weight: bold; // font-weight: bold;
letter-spacing: 5px; letter-spacing: 5px;
} }
.titeng{ .titeng {
font-size: 16px; font-size: 16px;
letter-spacing: 3px; letter-spacing: 3px;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment