Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8940e1e9
authored
Aug 25, 2025
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
style(login): 优化登录页面文本样式和布局
- 调整错误提示文本的样式,移除不必要的链接元素 - 更新CSS以改善文本的行高和对齐方式 - 同步更新对应的CSS映射文件
parent
08efeda7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
9 deletions
src/assets/css/login/index.less
src/assets/css/login/index.min.css
src/assets/css/login/index.min.css.map
src/views/User/login.vue
src/assets/css/login/index.less
View file @
8940e1e9
...
...
@@ -176,12 +176,9 @@ html, body, #app {
.text {
position: relative;
padding: 11px 0;
text-align: right
;
line-height: 17px
;
.error {
position: absolute;
left: 0;
top: 12px;
font-size: 12px;
color: #f10909;
}
...
...
src/assets/css/login/index.min.css
View file @
8940e1e9
html
,
body
,
#app
{
height
:
100%
}
.user-box
{
height
:
100%
}
.user-box
.head-box
{
height
:
80px
;
background
:
#FFFFFF
}
.user-box
.head-box
.head-wrap
{
width
:
1190px
;
height
:
100%
;
margin
:
0
auto
}
.user-box
.head-box
.head-wrap
.logo
{
width
:
81px
;
height
:
39px
}
.user-box
.head-box
.head-wrap
.logo
img
{
width
:
81px
;
height
:
39px
}
.user-box
.head-box
.head-wrap
.line
{
width
:
1px
;
height
:
22px
;
color
:
#e0e0e0
;
background
:
#E0E0E0
;
margin
:
0
13px
0
15px
}
.user-box
.head-box
.head-wrap
.text
.t1
{
font-size
:
15px
;
color
:
#333333
;
line-height
:
19px
;
margin-bottom
:
4px
;
font-weight
:
bold
}
.user-box
.head-box
.head-wrap
.text
.t2
{
font-size
:
13px
;
color
:
#666666
;
letter-spacing
:
10px
;
font-weight
:
bold
}
.user-box
.section
{
width
:
100%
;
height
:
calc
(
100%
-
80px
);
background
:
url("../../images/bg.png")
no-repeat
top
center
;
background-size
:
cover
}
.user-box
.section
.section-wrap
{
position
:
relative
;
width
:
1190px
;
height
:
100%
;
margin
:
0
auto
}
.user-box
.section
.section-wrap
.login-box
{
position
:
absolute
;
right
:
0
;
top
:
133px
;
width
:
400px
;
height
:
367px
;
background
:
#FFFFFF
;
border-radius
:
8px
}
.user-box
.section
.section-wrap
.login-box
.tit
{
font-size
:
20px
;
color
:
#333333
;
text-align
:
center
;
margin
:
25px
0
}
.user-box
.section
.section-wrap
.login-box
.bar
{
width
:
342px
;
margin
:
0
auto
}
.user-box
.section
.section-wrap
.login-box
.bar
.input-box
{
position
:
relative
;
width
:
328px
;
height
:
43px
;
background
:
#FFFFFF
;
border-radius
:
2px
;
border
:
1px
solid
#BEC9DF
;
margin-bottom
:
20px
;
transition
:
all
.2s
ease
;
padding-left
:
12px
}
.user-box
.section
.section-wrap
.login-box
.bar
.input-box
i
.iconfont
{
padding
:
12px
0
;
font-size
:
20px
;
color
:
#a1acc1
}
.user-box
.section
.section-wrap
.login-box
.bar
.input-box
.inp
{
padding-left
:
9px
;
height
:
34px
;
font-size
:
14px
;
background
:
transparent
;
border-left
:
1px
solid
#BEC9DF
;
margin-left
:
12px
;
letter-spacing
:
1px
}
.user-box
.section
.section-wrap
.login-box
.bar
.input-box
.inp
::-webkit-input-placeholder
{
color
:
#A1ACC1
}
.user-box
.section
.section-wrap
.login-box
.bar
.input-box
.eye
{
position
:
absolute
;
right
:
19px
;
top
:
13px
;
font-size
:
20px
;
color
:
#a1acc1
}
.user-box
.section
.section-wrap
.login-box
.bar
.input-box
:focus-within
{
border
:
1px
solid
#1969F9
}
.user-box
.section
.section-wrap
.login-box
.bar
.input-box.error
{
border
:
1px
solid
#FF1D00
}
.user-box
.section
.section-wrap
.login-box
.bar
.code-box
.l
input
{
width
:
210px
;
height
:
43px
;
line-height
:
43px
;
border-radius
:
2px
;
border
:
1px
solid
#BEC9DF
;
text-indent
:
17px
;
font-size
:
14px
}
.user-box
.section
.section-wrap
.login-box
.bar
.code-box
.l
input
::-webkit-input-placeholder
{
color
:
#A1ACC1
}
.user-box
.section
.section-wrap
.login-box
.bar
.code-box
.l
input
:focus
{
border
:
1px
solid
#1969F9
}
.user-box
.section
.section-wrap
.login-box
.bar
.code-box.error
.l
input
{
border
:
1px
solid
#FF1D00
}
.user-box
.section
.section-wrap
.login-box
.bar
.code-box
.r
{
width
:
118px
;
height
:
43px
;
border-radius
:
2px
;
border
:
1px
solid
#BEC9DF
}
.user-box
.section
.section-wrap
.login-box
.bar
.code-box
.r
img
{
width
:
100%
;
height
:
100%
}
.user-box
.section
.section-wrap
.login-box
.bar
.text
{
position
:
relative
;
padding
:
11px
0
;
text-align
:
right
}
.user-box
.section
.section-wrap
.login-box
.bar
.text
.error
{
position
:
absolute
;
left
:
0
;
top
:
12px
;
font-size
:
12px
;
color
:
#f10909
}
.user-box
.section
.section-wrap
.login-box
.bar
.text
a
{
line-height
:
17px
;
font-size
:
12px
;
color
:
#999999
}
.user-box
.section
.section-wrap
.login-box
.bar
.btn-submit
{
width
:
342px
;
height
:
42px
;
line-height
:
42px
;
text-align
:
center
;
background
:
#A1ACC1
;
border-radius
:
2px
;
font-size
:
20px
;
color
:
#ffffff
;
display
:
block
;
letter-spacing
:
10px
;
margin
:
0
auto
;
transition
:
all
.2s
ease
}
.user-box
.section
.section-wrap
.login-box
.bar
.btn-submit.active
{
background
:
#1969F9
}
.user-box
.section
.section-wrap
.login-box
.bar
.btn-submit
:hover
{
background
:
#0050E0
}
/*# sourceMappingURL=./index.min.css.map */
\ No newline at end of file
html
,
body
,
#app
{
height
:
100%
}
.user-box
{
height
:
100%
}
.user-box
.head-box
{
height
:
80px
;
background
:
#FFFFFF
}
.user-box
.head-box
.head-wrap
{
width
:
1190px
;
height
:
100%
;
margin
:
0
auto
}
.user-box
.head-box
.head-wrap
.logo
{
width
:
81px
;
height
:
39px
}
.user-box
.head-box
.head-wrap
.logo
img
{
width
:
81px
;
height
:
39px
}
.user-box
.head-box
.head-wrap
.line
{
width
:
1px
;
height
:
22px
;
color
:
#e0e0e0
;
background
:
#E0E0E0
;
margin
:
0
13px
0
15px
}
.user-box
.head-box
.head-wrap
.text
.t1
{
font-size
:
15px
;
color
:
#333333
;
line-height
:
19px
;
margin-bottom
:
4px
;
font-weight
:
bold
}
.user-box
.head-box
.head-wrap
.text
.t2
{
font-size
:
13px
;
color
:
#666666
;
letter-spacing
:
10px
;
font-weight
:
bold
}
.user-box
.section
{
width
:
100%
;
height
:
calc
(
100%
-
80px
);
background
:
url("../../images/bg.png")
no-repeat
top
center
;
background-size
:
cover
}
.user-box
.section
.section-wrap
{
position
:
relative
;
width
:
1190px
;
height
:
100%
;
margin
:
0
auto
}
.user-box
.section
.section-wrap
.login-box
{
position
:
absolute
;
right
:
0
;
top
:
133px
;
width
:
400px
;
height
:
367px
;
background
:
#FFFFFF
;
border-radius
:
8px
}
.user-box
.section
.section-wrap
.login-box
.tit
{
font-size
:
20px
;
color
:
#333333
;
text-align
:
center
;
margin
:
25px
0
}
.user-box
.section
.section-wrap
.login-box
.bar
{
width
:
342px
;
margin
:
0
auto
}
.user-box
.section
.section-wrap
.login-box
.bar
.input-box
{
position
:
relative
;
width
:
328px
;
height
:
43px
;
background
:
#FFFFFF
;
border-radius
:
2px
;
border
:
1px
solid
#BEC9DF
;
margin-bottom
:
20px
;
transition
:
all
.2s
ease
;
padding-left
:
12px
}
.user-box
.section
.section-wrap
.login-box
.bar
.input-box
i
.iconfont
{
padding
:
12px
0
;
font-size
:
20px
;
color
:
#a1acc1
}
.user-box
.section
.section-wrap
.login-box
.bar
.input-box
.inp
{
padding-left
:
9px
;
height
:
34px
;
font-size
:
14px
;
background
:
transparent
;
border-left
:
1px
solid
#BEC9DF
;
margin-left
:
12px
;
letter-spacing
:
1px
}
.user-box
.section
.section-wrap
.login-box
.bar
.input-box
.inp
::-webkit-input-placeholder
{
color
:
#A1ACC1
}
.user-box
.section
.section-wrap
.login-box
.bar
.input-box
.eye
{
position
:
absolute
;
right
:
19px
;
top
:
13px
;
font-size
:
20px
;
color
:
#a1acc1
}
.user-box
.section
.section-wrap
.login-box
.bar
.input-box
:focus-within
{
border
:
1px
solid
#1969F9
}
.user-box
.section
.section-wrap
.login-box
.bar
.input-box.error
{
border
:
1px
solid
#FF1D00
}
.user-box
.section
.section-wrap
.login-box
.bar
.code-box
.l
input
{
width
:
210px
;
height
:
43px
;
line-height
:
43px
;
border-radius
:
2px
;
border
:
1px
solid
#BEC9DF
;
text-indent
:
17px
;
font-size
:
14px
}
.user-box
.section
.section-wrap
.login-box
.bar
.code-box
.l
input
::-webkit-input-placeholder
{
color
:
#A1ACC1
}
.user-box
.section
.section-wrap
.login-box
.bar
.code-box
.l
input
:focus
{
border
:
1px
solid
#1969F9
}
.user-box
.section
.section-wrap
.login-box
.bar
.code-box.error
.l
input
{
border
:
1px
solid
#FF1D00
}
.user-box
.section
.section-wrap
.login-box
.bar
.code-box
.r
{
width
:
118px
;
height
:
43px
;
border-radius
:
2px
;
border
:
1px
solid
#BEC9DF
}
.user-box
.section
.section-wrap
.login-box
.bar
.code-box
.r
img
{
width
:
100%
;
height
:
100%
}
.user-box
.section
.section-wrap
.login-box
.bar
.text
{
position
:
relative
;
padding
:
11px
0
;
line-height
:
17px
}
.user-box
.section
.section-wrap
.login-box
.bar
.text
.error
{
font-size
:
12px
;
color
:
#f10909
}
.user-box
.section
.section-wrap
.login-box
.bar
.text
a
{
line-height
:
17px
;
font-size
:
12px
;
color
:
#999999
}
.user-box
.section
.section-wrap
.login-box
.bar
.btn-submit
{
width
:
342px
;
height
:
42px
;
line-height
:
42px
;
text-align
:
center
;
background
:
#A1ACC1
;
border-radius
:
2px
;
font-size
:
20px
;
color
:
#ffffff
;
display
:
block
;
letter-spacing
:
10px
;
margin
:
0
auto
;
transition
:
all
.2s
ease
}
.user-box
.section
.section-wrap
.login-box
.bar
.btn-submit.active
{
background
:
#1969F9
}
.user-box
.section
.section-wrap
.login-box
.bar
.btn-submit
:hover
{
background
:
#0050E0
}
/*# sourceMappingURL=./index.min.css.map */
\ No newline at end of file
src/assets/css/login/index.min.css.map
View file @
8940e1e9
{"version":3,"sources":["index.less"],"names":[],"mappings":"AAAA,KAAM,KAAM,KACV,YAGF,UACE,YADF,SAGE,WACE,WAAA,CACA,mBALJ,SAGE,UAIE,YACE,YAAA,CACA,WAAA,CACA,cAVN,SAGE,UAIE,WAKE,OACE,UAAA,CACA,YAdR,SAGE,UAIE,WAKE,MAIE,KACE,UAAA,CACA,YAlBV,SAGE,UAIE,WAeE,OACE,SAAA,CACA,WAAA,CACA,aAAA,CACA,kBAAA,CACA,qBA3BR,SAGE,UAIE,WAuBE,MACE,KACE,cAAA,CACA,aAAA,CACA,gBAAA,CACA,iBAAA,CACA,iBApCV,SAGE,UAIE,WAuBE,MASE,KACE,cAAA,CACA,aAAA,CACA,mBAAA,CACA,iBA3CV,SAiDE,UACE,UAAA,CACA,OAAQ,iBAAR,CACA,eAAgB,2CAAhB,CACA,sBArDJ,SAiDE,SAME,eACE,iBAAA,CACA,YAAA,CACA,WAAA,CACA,cA3DN,SAiDE,SAME,cAME,YACE,iBAAA,CACA,OAAA,CACA,SAAA,CACA,WAAA,CACA,YAAA,CACA,kBAAA,CACA,kBApER,SAiDE,SAME,cAME,WASE,MACE,cAAA,CACA,aAAA,CACA,iBAAA,CACA,cA1EV,SAiDE,SAME,cAME,WAgBE,MACE,WAAA,CACA,cA/EV,SAiDE,SAME,cAME,WAgBE,KAIE,YACE,iBAAA,CACA,WAAA,CACA,WAAA,CACA,kBAAA,CACA,iBAAA,CACA,wBAAA,CACA,kBAAA,CACA,uBAAA,CACA,kBA1FZ,SAiDE,SAME,cAME,WAgBE,KAIE,WAWE,EAAC,UACC,cAAA,CACA,cAAA,CACA,cA/Fd,SAiDE,SAME,cAME,WAgBE,KAIE,W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G,QACC,mBAGF,SAhKV,SAME,cAME,WAgBE,KAkHE,YAkBG,OACC"}
\ No newline at end of file
{"version":3,"sources":["index.less"],"names":[],"mappings":"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"}
\ No newline at end of file
src/views/User/login.vue
View file @
8940e1e9
...
...
@@ -38,7 +38,6 @@
</div>
<p
class=
"text"
>
<span
class=
"error"
>
{{
errror_text
}}
</span>
<a
href=
"javascript:;"
style=
"visibility:hidden;"
>
忘记密码
</a>
</p>
<a
href=
"javascript:;"
class=
"btn-submit"
:class=
"active ? 'active' : ''"
@
click=
"submit()"
:loading=
"true"
>
登录
</a>
</form>
...
...
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