Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
super-hive-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SuperHive
front-end
super-hive-web
Commits
207826f8
Commit
207826f8
authored
Aug 07, 2020
by
wends
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update login views
parent
4771344d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
115 additions
and
101 deletions
+115
-101
login-background.jpg
src/assets/login-background.jpg
+0
-0
login-background.png
src/assets/login-background.png
+0
-0
logo-login.png
src/assets/logo-login.png
+0
-0
index.vue
src/views/login/index.vue
+115
-101
No files found.
src/assets/login-background.jpg
0 → 100644
View file @
207826f8
227 KB
src/assets/login-background.png
0 → 100644
View file @
207826f8
861 KB
src/assets/logo-login.png
0 → 100644
View file @
207826f8
23.6 KB
src/views/login/index.vue
View file @
207826f8
<
template
>
<div
class=
"login-container"
:style=
"
{ backgroundImage: `url(${backgroundImg})` }">
<div
class=
"login-container"
>
<div
class=
"content"
>
<div
class=
"left"
>
<img
:src=
"loginBackground"
alt=
""
>
</div>
<div
class=
"right"
>
<div
class=
"logo-container"
>
<!--
<h1>
灵雀
</h1>
-->
<img
:src=
"logo"
alt=
""
>
...
...
@@ -66,6 +70,8 @@
<el-button
:loading=
"loading"
type=
"primary"
style=
"width:100%;margin-bottom:30px;"
@
click.native.prevent=
"handleLogin"
>
登录
</el-button>
</el-form>
</div>
</div>
<div
class=
"bottom-container"
>
copyright© 2019 苏州英思唯智能科技有限公司.
...
...
@@ -75,7 +81,8 @@
<
script
>
import
md5
from
'
md5
'
import
logo
from
'
@/assets/logo-login.jpg
'
import
loginBackground
from
'
@/assets/login-background.png
'
import
logo
from
'
@/assets/logo-login.png
'
import
backgroundImg
from
'
@/assets/background-img.svg
'
import
{
getCaptcha
}
from
'
@/api/components/basic-services
'
...
...
@@ -109,6 +116,7 @@ export default {
otherQuery
:
{},
logo
:
logo
,
backgroundImg
:
backgroundImg
,
loginBackground
:
loginBackground
,
captchaUrl
:
''
}
},
...
...
@@ -251,7 +259,7 @@ $cursor: rgba(0,0,0,.65);
</
style
>
<
style
lang=
"scss"
scoped
>
$bg
:
#
f0f2f5
;
$bg
:
#
29569a
;
$dark_gray
:
#889aa4
;
$light_gray
:
#eee
;
$cursor
:
rgba
(
0
,
0
,
0
,.
65
);
...
...
@@ -264,10 +272,28 @@ $cursor: rgba(0,0,0,.65);
background-repeat
:
no-repeat
;
background-position
:
center
;
background-size
:
cover
;
.content
{
display
:
flex
;
max-width
:
1200px
;
margin
:
0
auto
;
justify-content
:
space-around
;
align-items
:
center
;
height
:
100vh
;
.left
{
width
:
560px
;
margin-right
:
80px
;
img
{
width
:
100%
;
}
}
.right
{
flex-shrink
:
0
;
width
:
520px
;
margin-left
:
20px
;
margin-right
:
20px
;
.logo-container
{
max-width
:
300px
;
margin
:
100px
auto
5
0px
auto
;
margin
:
0
auto
2
0px
auto
;
text-align
:
center
;
padding-left
:
20px
;
padding-right
:
20px
;
...
...
@@ -276,7 +302,6 @@ $cursor: rgba(0,0,0,.65);
width
:
100%
;
}
}
.login-form
{
background-color
:
#fff
;
position
:
relative
;
...
...
@@ -301,6 +326,8 @@ $cursor: rgba(0,0,0,.65);
}
}
}
}
}
.tips
{
font-size
:
14px
;
...
...
@@ -344,7 +371,7 @@ $cursor: rgba(0,0,0,.65);
user-select
:
none
;
}
.bottom-container
{
color
:
rgba
(
0
,
0
,
0
,
0
.4
5
);
color
:
rgba
(
255
,
255
,
255
,
0
.7
5
);
font-size
:
14px
;
position
:
absolute
;
bottom
:
20px
;
...
...
@@ -355,25 +382,12 @@ $cursor: rgba(0,0,0,.65);
left
:
0
;
right
:
0
;
}
}
@media
(
min-width
:
992px
)
{
.login-container
{
.logo-container
{
margin-top
:
120px
;
}
}
}
@media
(
min-width
:
1200px
)
{
.login-container
{
.logo-container
{
margin-top
:
150px
;
}
@media
(
max-width
:
1200px
)
{
.content
{
.left
{
display
:
none
;
}
}
@media
(
min-width
:
1400px
)
{
.login-container
{
.logo-container
{
margin-top
:
200px
;
}
}
}
...
...
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