mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-09-17 09:16:36 +08:00
chore: update default theme style
This commit is contained in:
parent
6818ed5ca8
commit
4db834da95
@ -135,7 +135,16 @@ const LoginForm = () => {
|
||||
onChange={handleChange}
|
||||
style={{ marginBottom: '1.5em' }}
|
||||
/>
|
||||
<Button color='blue' fluid size='large' onClick={handleSubmit}>
|
||||
<Button
|
||||
fluid
|
||||
size='large'
|
||||
style={{
|
||||
background: '#2F73FF', // 使用更现代的蓝色
|
||||
color: 'white',
|
||||
marginBottom: '1.5em',
|
||||
}}
|
||||
onClick={handleSubmit}
|
||||
>
|
||||
登录
|
||||
</Button>
|
||||
</Form>
|
||||
|
@ -133,7 +133,11 @@ const PasswordResetConfirm = () => {
|
||||
onClick={handleSubmit}
|
||||
loading={loading}
|
||||
disabled={disableButton}
|
||||
style={{ marginBottom: '1em' }}
|
||||
style={{
|
||||
background: '#2F73FF', // 使用更现代的蓝色
|
||||
color: 'white',
|
||||
marginBottom: '1.5em',
|
||||
}}
|
||||
>
|
||||
{disableButton ? '密码重置完成' : '提交'}
|
||||
</Button>
|
||||
|
@ -127,7 +127,11 @@ const PasswordResetForm = () => {
|
||||
onClick={handleSubmit}
|
||||
loading={loading}
|
||||
disabled={disableButton}
|
||||
style={{ marginBottom: '1em' }}
|
||||
style={{
|
||||
background: '#2F73FF', // 使用更现代的蓝色
|
||||
color: 'white',
|
||||
marginBottom: '1.5em',
|
||||
}}
|
||||
>
|
||||
{disableButton ? `重试 (${countdown})` : '提交'}
|
||||
</Button>
|
||||
|
@ -208,10 +208,14 @@ const RegisterForm = () => {
|
||||
)}
|
||||
|
||||
<Button
|
||||
color='blue'
|
||||
fluid
|
||||
size='large'
|
||||
onClick={handleSubmit}
|
||||
style={{
|
||||
background: '#2F73FF', // 使用更现代的蓝色
|
||||
color: 'white',
|
||||
marginBottom: '1.5em',
|
||||
}}
|
||||
loading={loading}
|
||||
>
|
||||
注册
|
||||
|
Loading…
Reference in New Issue
Block a user