Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
IT-monitor
Project
Project
Details
Activity
Releases
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
张伯涛
IT-monitor
Commits
f6770205
Commit
f6770205
authored
May 18, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录修改
parent
60627985
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
50 additions
and
47 deletions
+50
-47
index.html
public/index.html
+2
-1
loginBg.png
src/assets/image/loginBg.png
+0
-0
loginLogo.png
src/assets/image/loginLogo.png
+0
-0
login.vue
src/views/login/login.vue
+48
-46
No files found.
public/index.html
View file @
f6770205
...
...
@@ -6,7 +6,8 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
>
<!-- <link rel="icon" href="<%= BASE_URL %>home_logo.png">-->
<!-- <link rel="stylesheet" href="//at.alicdn.com/t/font_2011217_f70ptj9y4oc.css">-->
<title><
%=
webpackConfig
.
name
%
></title>
<!-- <title><%= webpackConfig.name %></title>-->
<title>
网络设备监控管理平台
</title>
</head>
<body>
<noscript>
...
...
src/assets/image/loginBg.png
0 → 100644
View file @
f6770205
973 KB
src/assets/image/loginLogo.png
0 → 100644
View file @
f6770205
2.5 KB
src/views/login/login.vue
View file @
f6770205
<
template
>
<div
class=
"login"
>
<el-form
ref=
"loginForm"
:model=
"loginForm"
:rules=
"loginRules"
class=
"login-form"
>
<!--
<img
class=
"fy-logo"
src=
"../../assets/image/denglu_logo.png"
>
--
>
<
h3
class=
"title"
>
IT监控系统
</h3
>
<img
class=
"fy-logo"
src=
"../../assets/image/loginLogo.png"
>
<
div
class=
"title"
>
网络设备监控管理平台
</div
>
<div
class=
"login-form-content"
>
<el-form-item
prop=
"username"
>
<el-input
v-model=
"loginForm.username"
type=
"text"
auto-complete=
"off"
placeholder=
"账号"
>
...
...
@@ -31,15 +31,14 @@
<svg-icon
slot=
"prefix"
icon-class=
"validCode"
class=
"el-input__icon input-icon"
/>
</el-input>
<!--
<div
class=
"login-code"
>
<img
:src=
"codeUrl"
@
click=
"getCode"
>
</div>
-->
<img
:src=
"codeUrl"
@
click=
"getCode"
>
</div>
-->
</el-form-item>
<el-form-item
style=
"width:
80%;margin-bottom: 20px
"
>
<el-form-item
style=
"width:
100%;margin-bottom: 20px;text-align: center
"
>
<el-button
class=
"blue-btn"
:loading=
"loading"
size=
"medium"
type=
"primary"
@
click
.
native
.
prevent=
"handleLogin"
>
<span
v-if=
"!loading"
>
登 录
</span>
...
...
@@ -160,59 +159,63 @@ export default {
justify-content
:
center
;
align-items
:
center
;
height
:
100%
;
background-image
:
url("../../assets/image/login
-background.jp
g")
;
background-image
:
url("../../assets/image/login
Bg.pn
g")
;
background-size
:
cover
;
.el-input__prefix
{
left
:
14px
;
}
.el-input--prefix
.el-input__inner
{
padding-left
:
44px
;
font-size
:
16px
;
}
.el-form-item
{
margin-bottom
:
4vh
;
}
.el-input__prefix
{
left
:
14px
;
}
.el-input--prefix
.el-input__inner
{
padding-left
:
44px
;
font-size
:
16px
;
}
.el-form-item
{
margin-bottom
:
4vh
;
}
}
.fy-logo
{
position
:
fixed
;
top
:
20
px
;
left
:
4
5
%
;
width
:
8
vw
;
top
:
17
px
;
left
:
4
3
%
;
width
:
5
vw
;
}
.title
{
margin
:
7
vh
auto
7vh
auto
;
margin
:
10
vh
auto
7vh
auto
;
text-align
:
center
;
color
:
black
;
font-size
:
3
6
px
;
color
:
white
;
font-size
:
3
0
px
;
}
.login-form
{
position
:
absolute
;
background
:
rgba
(
255
,
255
,
255
,.
2
);
backdrop-filter
:
blur
(
4px
);
display
:
flex
;
flex-direction
:
column
;
align-items
:
flex-end
;
border-radius
:
6px
;
background
:
#ffffff
no-repeat
;
//
background: #ffffff no-repeat;
background-size
:
59%
;
background-position-y
:
57px
;
width
:
78
vw
;
height
:
76
vh
;
width
:
29
vw
;
height
:
65
vh
;
padding
:
25px
25px
5px
25px
;
.login-form-content
{
position
:
absolute
;
top
:
40%
;
right
:
28%
;
width
:
45
%
;
//
position: absolute;
//
top: 40%;
//
right: 28%;
width
:
100
%
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
.el-form-item
{
width
:
8
0%
;
width
:
10
0%
;
.el-input__inner
{
border-radius
:
4px
;
}
}
.blue-btn
{
width
:
36vw
;
background-color
:
#093F8F
;
width
:
100%
;
height
:
40px
;
border-radius
:
4px
;
font-size
:
18px
;
...
...
@@ -256,19 +259,18 @@ export default {
font-size
:
12px
;
letter-spacing
:
1px
;
}
.buttons-content
{
display
:
flex
;
width
:
80%
;
justify-content
:
space-between
;
padding
:
0
14px
;
.rem-code
span
{
color
:
$font-dark
;
}
.el-link
span
{
color
:
$color-theme
;
}
.rem-code
span
,
.el-link
span
{
font-size
:
16px
;
}
.buttons-content
{
display
:
flex
;
width
:
100%
;
justify-content
:
space-between
;
.rem-code
span
{
color
:
white
;
}
.el-link
span
{
color
:
white
;
}
.rem-code
span
,
.el-link
span
{
font-size
:
16px
;
}
}
</
style
>
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