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