Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
A
audit_material_manage
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
David Yang
audit_material_manage
Commits
a4353508
Commit
a4353508
authored
Aug 04, 2026
by
Andy-bubu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 统一登录页名称和输入色调
parent
62f85fff
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
2 deletions
+45
-2
global.less
src/global.less
+43
-0
Login.jsx
src/pages/Login.jsx
+2
-2
No files found.
src/global.less
View file @
a4353508
...
@@ -43,6 +43,49 @@ a {
...
@@ -43,6 +43,49 @@ a {
text-decoration: none;
text-decoration: none;
}
}
.login-page {
--rc-login-field-background: rgb(158 27 27 / 5%);
--rc-login-field-background-hover: rgb(158 27 27 / 7%);
--rc-login-field-border: rgb(158 27 27 / 12%);
--rc-login-field-border-hover: rgb(158 27 27 / 24%);
--rc-login-field-focus-ring: rgb(158 27 27 / 16%);
}
.login-form :where(.input, [data-slot='input-wrapper'], [data-slot='control']) {
border-color: var(--rc-login-field-border) !important;
background: var(--rc-login-field-background) !important;
box-shadow: var(--field-shadow, 0 1px 2px rgb(15 23 42 / 4%)) !important;
}
.login-form
:where(.input, [data-slot='input-wrapper'], [data-slot='control']):hover,
.login-form
:where(
.input,
[data-slot='input-wrapper'],
[data-slot='control']
)[data-hovered='true'] {
border-color: var(--rc-login-field-border-hover) !important;
background: var(--rc-login-field-background-hover) !important;
}
.login-form
:where(.input, [data-slot='input-wrapper'], [data-slot='control']):focus-within {
border-color: var(--rc-field-border-focus) !important;
background: var(--rc-login-field-background) !important;
box-shadow:
var(--field-shadow, 0 1px 2px rgb(15 23 42 / 4%)),
0 0 0 2px var(--rc-login-field-focus-ring) !important;
}
.dark .login-page {
--rc-login-field-background: rgb(158 27 27 / 14%);
--rc-login-field-background-hover: rgb(158 27 27 / 18%);
--rc-login-field-border: rgb(184 58 58 / 28%);
--rc-login-field-border-hover: rgb(184 58 58 / 42%);
--rc-login-field-focus-ring: rgb(184 58 58 / 22%);
}
.rc-shell-root {
.rc-shell-root {
font-synthesis: none;
font-synthesis: none;
text-rendering: optimizeLegibility;
text-rendering: optimizeLegibility;
...
...
src/pages/Login.jsx
View file @
a4353508
...
@@ -28,7 +28,7 @@ export default function LoginPage() {
...
@@ -28,7 +28,7 @@ export default function LoginPage() {
const
redirect
=
searchParams
.
get
(
'redirect'
)
||
'/'
;
const
redirect
=
searchParams
.
get
(
'redirect'
)
||
'/'
;
const
siteTitle
=
site
?.
title
||
site
?.
name
||
'鑫元材料管理系统
'
;
const
appTitle
=
'审计材料中心
'
;
const
refreshCaptcha
=
async
()
=>
{
const
refreshCaptcha
=
async
()
=>
{
setCaptchaLoading
(
true
);
setCaptchaLoading
(
true
);
...
@@ -82,7 +82,7 @@ export default function LoginPage() {
...
@@ -82,7 +82,7 @@ export default function LoginPage() {
<
section
className=
"login-shell"
>
<
section
className=
"login-shell"
>
<
div
className=
"login-brand"
>
<
div
className=
"login-brand"
>
<
img
alt=
"鑫元基金"
src=
{
xinyuanLogoRed
}
/>
<
img
alt=
"鑫元基金"
src=
{
xinyuanLogoRed
}
/>
<
strong
>
{
site
Title
}
</
strong
>
<
strong
>
{
app
Title
}
</
strong
>
</
div
>
</
div
>
<
Card
className=
"login-card"
>
<
Card
className=
"login-card"
>
...
...
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