fix(ui): 统一认证页输入框 36px 与视觉样式
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user