Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-monitor
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
web-monitor
Commits
d39501ef
Commit
d39501ef
authored
Feb 22, 2022
by
neogcg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2.22
parent
c1e0dc7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
20 deletions
+26
-20
index.vue
src/views/login/index.vue
+26
-20
No files found.
src/views/login/index.vue
View file @
d39501ef
<
template
>
<div
class=
"login-container"
>
<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 漏缆故障定位监测系统
</p>
</div>
...
...
@@ -60,8 +67,8 @@
<el-button
:loading=
"loading"
class=
"loginbtn"
style=
"width: 100%; margin-top: 30px; margin-bottom: 30px
;
"
class=
"loginbtn"
style=
"width: 100%; margin-top: 30px; margin-bottom: 30px"
@
click
.
native
.
prevent=
"handleLogin"
>
登录
</el-button
>
...
...
@@ -123,10 +130,10 @@ export default {
},
created
()
{
var
that
=
this
;
document
.
onkeydown
=
function
(
e
)
{
document
.
onkeydown
=
function
(
e
)
{
var
key
=
window
.
event
.
keyCode
;
if
(
key
==
13
||
key
==
100
)
{
that
.
handleLogin
()
that
.
handleLogin
();
}
};
},
...
...
@@ -199,7 +206,7 @@ $cursor: #fff;
border-radius
:
0px
;
padding
:
12px
5px
12px
15px
;
color
:
$light_gray
;
caret-color
:
$cursor
;
&
:
-
webkit-autofill
{
...
...
@@ -216,7 +223,7 @@ $cursor: #fff;
color
:
#454545
;
height
:
42px
;
}
.el-form-item__content
{
.el-form-item__content
{
line-height
:
32px
;
}
}
...
...
@@ -243,13 +250,12 @@ $light_gray: #eee;
width
:
646px
;
height
:
122px
;
line-height
:
60px
;
font-size
:
40px
;
font-size
:
40px
;
transform
:
translateY
(
-82px
);
margin
:
0
;
box-sizing
:
border-box
;
font-family
:
"Source Sans Pro"
,
sans-serif
;
// background-image: url('../../assets/img/loginTitleBg.png');
}
.loginBox
{
position
:
absolute
;
...
...
@@ -268,14 +274,14 @@ $light_gray: #eee;
border-radius
:
20px
;
font-family
:
"Source Sans Pro"
,
sans-serif
;
.loginbtn
{
background
:
linear-gradient
(
180deg
,
#4082
FF
0%
,
#0044C
7
100%
);
color
:
#ffffff
;
.loginbtn
{
background
:
linear-gradient
(
180deg
,
#4082
ff
0%
,
#0044c
7
100%
);
color
:
#ffffff
;
font-size
:
14px
;
border
:none
;
border
:
none
;
height
:
46px
;
border-radius
:
8px
;
letter-spacing
:
3px
;
letter-spacing
:
3px
;
}
}
.login-form
{
...
...
@@ -309,19 +315,19 @@ $light_gray: #eee;
.title-container
{
position
:
relative
;
margin-top
:
15px
;
margin-bottom
:
32px
;
margin-top
:
15px
;
margin-bottom
:
32px
;
.title
{
font-family
:
'Source Han Sans CN'
;
font-family
:
"Source Han Sans CN"
;
font-size
:
24px
;
color
:
$light_gray
;
margin
:
0px
auto
10px
auto
;
text-align
:
center
;
// font-weight: bold;
letter-spacing
:
5px
;
letter-spacing
:
5px
;
}
.titeng
{
.titeng
{
font-size
:
16px
;
letter-spacing
:
3px
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment