Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sgaqgl-vue
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
李苏
sgaqgl-vue
Commits
430d5cdb
Commit
430d5cdb
authored
Nov 17, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
按钮
parent
38a04e1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
70 additions
and
1 deletion
+70
-1
login.vue
src/views/login.vue
+70
-1
No files found.
src/views/login.vue
View file @
430d5cdb
...
...
@@ -68,7 +68,7 @@
<el-checkbox
v-model=
"loginForm.rememberMe"
style=
"margin:0px 0px 25px 0px;"
>
记住密码
</el-checkbox>
<el-form-item
style=
"width:100%;"
>
<el-button
class=
"b
uttonClass
"
class=
"b
tn btn-primary btn-ghost btn-shine
"
:loading=
"loading"
size=
"medium"
type=
"primary"
...
...
@@ -187,6 +187,75 @@ export default {
</
script
>
<
style
rel=
"stylesheet/scss"
lang=
"scss"
scoped
>
.btn
{
--hue
:
190
;
padding
:
0px
!
important
;
// height:34px;
// line-height: 34px;
position
:
relative
;
// padding: 1rem 3rem;
font-size
:
1rem
;
line-height
:
30px
;
color
:
white
;
text-decoration
:
none
;
text-transform
:
uppercase
;
background-color
:(
#0389ff
,
100%
,
41%
);
border
:
1px
solid
#0389ff
;
outline
:
transparent
;
overflow
:
hidden
;
cursor
:
pointer
;
user-select
:
none
;
white-space
:
nowrap
;
transition
:
0
.25s
;
&
:hover
{
background
:(
#0389ff
,
100%
,
31%
);
}
&
-primary
{
--hue
:
187
;
}
&
-ghost
{
color
:
(
#0389ff
,
100%
,
41%
);
background-color
:
transparent
;
border-color
:
(
#0389ff
,
100%
,
41%
);
&
:hover
{
color
:
white
;
}
}
&
-shine
{
color
:
white
;
&
:
:
before
{
position
:
absolute
;
content
:
""
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
background
:
linear-gradient
(
120deg
,
transparent
,
hsla
(
var
(
--
hue
)
,
100%
,
41%
,
0
.5
)
,
transparent
);
transform
:
translateX
(
-100%
);
transition
:
0
.6s
;
}
&
:hover
{
background
:
transparent
;
box-shadow
:
0
0
20px
10px
hsla
(
var
(
--
hue
)
,
100%
,
41%
,
0
.5
);
}
&
:hover::before
{
transform
:
translateX
(
100%
);
}
}
}
::v-deep
.el-input__inner
{
&
:hover
{
border
:
#014dff
1px
solid
;
...
...
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