fix(ui): 统一认证页输入框 36px 与视觉样式

This commit is contained in:
zhanjunhao
2026-11-18 17:27:33 +08:00
parent db3dba1e96
commit 5610fdc273
14 changed files with 472 additions and 465 deletions
+5 -7
View File
@@ -46,6 +46,7 @@ import { StatusContext } from '../../context/Status';
import GlassCard from '../../components/auth/GlassCard';
import AuthCardHeader from '../../components/auth/AuthCardHeader';
import AuthLoginTabs from '../../components/auth/AuthLoginTabs';
import AuthDivider from '../../components/auth/AuthDivider';
import AuthBackground from '../../components/common/AuthBackground';
const LAST_ORG_KEY = 'org_login_last';
@@ -626,11 +627,7 @@ const OrgLogin = () => {
{selfRegisterEnabled && (
<>
<div className='mt-1 flex items-center gap-3 text-xs text-gray-400'>
<span className='h-px flex-1 bg-gray-200 dark:bg-white/10' />
<span>{t('还没有企业?')}</span>
<span className='h-px flex-1 bg-gray-200 dark:bg-white/10' />
</div>
<AuthDivider>{t('还没有企业?')}</AuthDivider>
<Button
theme='borderless'
size='default'
@@ -647,6 +644,7 @@ const OrgLogin = () => {
{step === 2 && (
<Form
className='auth-login-form'
onSubmit={doLogin}
initValues={{ login_name: prefilledLoginName }}
>
@@ -719,12 +717,12 @@ const OrgLogin = () => {
)}
{step === 3 && (
<Form onSubmit={doChangePassword}>
<Form className='auth-login-form' onSubmit={doChangePassword}>
<Banner
type='warning'
closeIcon={null}
description={t('首次登录需修改初始密码后方可使用。')}
className='mb-3'
className='auth-login-banner'
/>
<Form.Input
field='new_password'