Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Y
yishuju-ui
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
何远江
yishuju-ui
Commits
0024660f
Commit
0024660f
authored
Mar 04, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录页面修改
parent
6f01b471
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
62 additions
and
20 deletions
+62
-20
index.vue
src/views/login/index.vue
+62
-20
No files found.
src/views/login/index.vue
View file @
0024660f
...
@@ -3,11 +3,11 @@
...
@@ -3,11 +3,11 @@
<div
class=
"view-account-header"
></div>
<div
class=
"view-account-header"
></div>
<div
class=
"view-account-container"
>
<div
class=
"view-account-container"
>
<div
class=
"view-account-top"
>
<div
class=
"view-account-top"
>
<div
class=
"text-2xl"
>
<div>
<!--
<img
:src=
"websiteConfig.loginImage"
alt=
""
/>
-->
<!--
<img
:src=
"websiteConfig.loginImage"
alt=
""
/>
-->
Admin Template
易数通数据平台
</div>
</div>
<
div
class=
"view-account-top-desc"
>
中后台解决方案
</div
>
<
!--
<div
class=
"view-account-top-desc"
>
中后台解决方案
</div>
--
>
</div>
</div>
<div
class=
"view-account-form"
>
<div
class=
"view-account-form"
>
<el-form
ref=
"formRef"
:model=
"formInline"
:rules=
"rules"
size=
"large"
>
<el-form
ref=
"formRef"
:model=
"formInline"
:rules=
"rules"
size=
"large"
>
...
@@ -40,17 +40,7 @@
...
@@ -40,17 +40,7 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<div
class=
"w-full flex justify-between"
>
<el-button
class=
"login-button"
type=
"primary"
@
click=
"handleLogin"
:loading=
"loginLoading"
<div
class=
"flex-initial"
>
<el-checkbox
v-model=
"formInline.autoLogin"
>
自动登录
</el-checkbox>
</div>
<div
class=
"flex-initial order-last"
>
<a
href=
"javascript:"
>
忘记密码
</a>
</div>
</div>
</el-form-item>
<el-form-item>
<el-button
class=
"w-full"
type=
"primary"
@
click=
"handleLogin"
:loading=
"loginLoading"
>
登录
</el-button
>
登录
</el-button
>
>
</el-form-item>
</el-form-item>
...
@@ -173,18 +163,24 @@
...
@@ -173,18 +163,24 @@
flex-direction
:
column
;
flex-direction
:
column
;
height
:
100vh
;
height
:
100vh
;
overflow
:
auto
;
overflow
:
auto
;
background
:
#e8e8e8
;
&
-container
{
&
-container
{
flex
:
1
;
max-width
:
450px
;
padding
:
32px
12px
;
background
:
#F8F9FD
;
max-width
:
384px
;
background
:
linear-gradient
(
0deg
,
rgb
(
255
,
255
,
255
)
0%
,
rgb
(
244
,
247
,
251
)
100%
);
min-width
:
320px
;
border-radius
:
40px
;
margin
:
0
auto
;
padding
:
25px
55px
;
border
:
5px
solid
rgb
(
255
,
255
,
255
);
box-shadow
:
rgba
(
133
,
189
,
215
,
0
.8784313725
)
0px
30px
30px
-20px
;
margin
:
auto
;
}
}
&
-top
{
&
-top
{
padding
:
32px
0
;
text-align
:
center
;
text-align
:
center
;
font-weight
:
900
;
font-size
:
30px
;
color
:
rgb
(
16
,
137
,
211
);
&
-desc
{
&
-desc
{
font-size
:
14px
;
font-size
:
14px
;
...
@@ -204,6 +200,51 @@
...
@@ -204,6 +200,51 @@
}
}
}
}
}
}
.view-account-form
{
margin-top
:
20px
;
:deep
(
.el-input__wrapper
)
{
width
:
410px
;
background
:
white
;
border
:
none
;
padding
:
15px
20px
;
border-radius
:
20px
;
margin-top
:
15px
;
box-shadow
:
#cff0ff
0px
10px
10px
-5px
;
border-inline
:
2px
solid
transparent
;
// &::-moz-placeholder {
// color: rgb(170, 170, 170);
// }
// &::placeholder {
// color: rgb(170, 170, 170);
// }
// &:focus {
// outline: none;
// border-inline: 2px solid #12B1D1;
// }
}
}
.login-button
{
display
:
block
;
width
:
100%
;
font-weight
:
bold
;
background
:
linear-gradient
(
45deg
,
rgb
(
16
,
137
,
211
)
0%
,
rgb
(
18
,
177
,
209
)
100%
);
color
:
white
;
padding-block
:
15px
;
height
:
50px
!
important
;
margin
:
20px
auto
;
border-radius
:
20px
;
box-shadow
:
rgba
(
133
,
189
,
215
,
0
.8784313725
)
0px
20px
10px
-15px
;
border
:
none
;
transition
:
all
0
.2s
ease-in-out
;
&
:hover
{
transform
:
scale
(
1
.03
);
box-shadow
:
rgba
(
133
,
189
,
215
,
0
.8784313725
)
0px
23px
10px
-20px
;
}
&
:active
{
transform
:
scale
(
0
.95
);
box-shadow
:
rgba
(
133
,
189
,
215
,
0
.8784313725
)
0px
15px
10px
-10px
;
}
}
@media
(
min-width
:
768px
)
{
@media
(
min-width
:
768px
)
{
.view-account
{
.view-account
{
background-image
:
url('../../assets/images/login.svg')
;
background-image
:
url('../../assets/images/login.svg')
;
...
@@ -216,4 +257,5 @@
...
@@ -216,4 +257,5 @@
padding
:
32px
0
24px
0
;
padding
:
32px
0
24px
0
;
}
}
}
}
</
style
>
</
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