Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
develop-platform
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9043e24a
authored
Nov 13, 2020
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
登陆
1 parent
7c59048c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
21 deletions
src/views/system/login/image/bg.png
src/views/system/login/image/bz.png
src/views/system/login/image/title.png
src/views/system/login/index.vue
src/views/system/login/image/bg.png
View file @
9043e24
75.9 KB
|
W:
|
H:
110 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/views/system/login/image/bz.png
View file @
9043e24
608 Bytes
|
W:
|
H:
1.88 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/views/system/login/image/title.png
0 → 100644
View file @
9043e24
23.4 KB
src/views/system/login/index.vue
View file @
9043e24
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<div
<div
class=
"page-login--layer page-login--layer-time"
class=
"page-login--layer page-login--layer-time"
flex=
"main:center cross:center"
flex=
"main:center cross:center"
></div>
>
{{
time
}}
</div>
<div
class=
"page-login--layer"
>
<div
class=
"page-login--layer"
>
<div
<div
class=
"page-login--content"
class=
"page-login--content"
...
@@ -36,7 +36,10 @@
...
@@ -36,7 +36,10 @@
size=
"default"
size=
"default"
>
>
<div
class=
"title-wrap"
>
<div
class=
"title-wrap"
>
<span
class=
"form-title"
>
{{
systemName
}}
</span>
<!--
<span
class=
"form-title"
>
{{
systemName
}}
</span>
-->
<span
class=
"form-title"
>
<img
src=
"./image/title.png"
alt=
"D+智享车生活"
/>
</span>
<span
class=
"form-sub"
>
{{
systemSubName
}}
</span>
<span
class=
"form-sub"
>
{{
systemSubName
}}
</span>
</div>
</div>
<div
class=
"input-wrap"
>
<div
class=
"input-wrap"
>
...
@@ -45,15 +48,15 @@
...
@@ -45,15 +48,15 @@
type=
"text"
type=
"text"
v-on:keyup
.
native
.
13=
"submit"
v-on:keyup
.
native
.
13=
"submit"
v-model=
"formLogin.userName"
v-model=
"formLogin.userName"
placeholder=
"
请输入
用户名"
placeholder=
"用户名"
clearable
clearable
maxlength=
"10"
maxlength=
"10"
v-focus
v-focus
>
>
<d2-el-icon
<
!--
<
d2-el-icon
slot=
"prepend"
slot=
"prepend"
name=
"user"
name=
"user"
></d2-el-icon>
></d2-el-icon>
-->
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"password"
>
<el-form-item
prop=
"password"
>
...
@@ -63,12 +66,12 @@
...
@@ -63,12 +66,12 @@
v-on:keyup
.
native
.
13=
"submit"
v-on:keyup
.
native
.
13=
"submit"
clearable
clearable
maxlength=
"12"
maxlength=
"12"
placeholder=
"
请输入
密码"
placeholder=
"密码"
>
>
<d2-el-icon
<
!--
<
d2-el-icon
slot=
"prepend"
slot=
"prepend"
name=
"key"
name=
"key"
/>
/>
-->
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
class=
"form-action"
>
<el-form-item
class=
"form-action"
>
...
@@ -77,7 +80,7 @@
...
@@ -77,7 +80,7 @@
type=
"primary"
type=
"primary"
:loading=
"$store.state.d2admin.loading.value"
:loading=
"$store.state.d2admin.loading.value"
class=
"button-login"
class=
"button-login"
:style=
"
{'width': hasReg ? '' : '100%'}"
:style=
"
{'width': hasReg ? '' : '100%'
}"
>登录
</el-button>
>登录
</el-button>
<el-button
<el-button
v-if=
"hasReg"
v-if=
"hasReg"
...
@@ -121,8 +124,8 @@ export default {
...
@@ -121,8 +124,8 @@ export default {
time
:
dayjs
().
format
(
'HH:mm:ss'
),
time
:
dayjs
().
format
(
'HH:mm:ss'
),
// 表单
// 表单
formLogin
:
{
formLogin
:
{
userName
:
'dongdao'
,
//
userName: 'dongdao',
//
userName: 'houlai',
userName
:
'houlai'
,
password
:
'123456'
password
:
'123456'
},
},
// 表单校验
// 表单校验
...
@@ -281,19 +284,21 @@ export default {
...
@@ -281,19 +284,21 @@ export default {
.form-left
{
.form-left
{
width
:
300px
;
width
:
300px
;
.title-wrap
{
.title-wrap
{
width
:
180px
;
text-align
:
right
;
height
:
45px
;
margin-bottom
:
30px
;
margin-bottom
:
62px
;
.form-title
{
.form-title
{
font-size
:
20px
;
width
:
280px
;
color
:
#333
;
height
:
52px
;
line-height
:
28px
;
}
.form-title
img
{
width
:
100%
;
height
:
100%
;
}
}
.form-sub
{
.form-sub
{
font-size
:
12px
;
font-size
:
12px
;
color
:
#999
;
color
:
#999
;
line-height
:
17px
;
line-height
:
17px
;
float
:
left
;
letter-spacing
:
18px
;
}
}
}
}
.input-warp
{
.input-warp
{
...
@@ -324,8 +329,10 @@ export default {
...
@@ -324,8 +329,10 @@ export default {
.button-login
{
.button-login
{
//
background-color
:
#3D6FE4
!important
;
//
background-color
:
#3D6FE4
!important
;
//
color
:
#FFF
;
//
color
:
#FFF
;
background-image
:
linear-gradient
(
148deg
,
#0BCDFE
0%
,
#36B2E6
28%
,
#0947C6
100%
,
#0947C6
100%
);
letter-spacing
:
2px
;
letter-spacing
:
2px
;
float
:
left
;
float
:
left
;
border
:
none
;
}
}
.button-reg
{
.button-reg
{
border
:
1px
solid
#ddd
;
border
:
1px
solid
#ddd
;
...
@@ -339,15 +346,17 @@ export default {
...
@@ -339,15 +346,17 @@ export default {
.form-right
{
.form-right
{
width
:
354px
;
width
:
354px
;
.img-top
{
.img-top
{
width
:
3
64
px
;
width
:
3
20
px
;
height
:
24px
;
height
:
24px
;
background
:
url('./image/bz.png')
;
background
:
url('./image/bz.png')
;
background-size
:
320px
auto
;
margin-bottom
:
53px
;
margin-bottom
:
53px
;
transform
:
translate
X
(
-
20px
);
transform
:
translate
Y
(
20px
);
}
}
.img-bg
{
.img-bg
{
//
box-sizing
:
border-box
;
//
box-sizing
:
border-box
;
background
:
url('./image/bg.png')
;
background
:
url('./image/bg.png')
no-repeat
;
background-size
:
320px
auto
;
width
:
322px
;
width
:
322px
;
height
:
276px
;
height
:
276px
;
//
border
:
6px
solid
#F4F9FF
;
//
border
:
6px
solid
#F4F9FF
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment