style: 调整登录表单样式和按钮布局

- 更新 `login/style.scss` 中的输入框内边距和字体大小
- 在 `ant-input.scss` 中添加自动填充样式
- 修改 `login-form/index.vue` 中忘记密码按钮的显示逻辑
This commit is contained in:
rd
2025-09-15 17:57:39 +08:00
parent b626f5a35b
commit 348ad2a6ad
3 changed files with 32 additions and 12 deletions

View File

@ -67,14 +67,18 @@
登录
</Button>
<div class="flex justify-between btn-row">
<Button
type="text"
class="!color-#939499 !p-0 !h-22px hover:color-#6D4CFE"
size="small"
@click="onForgetPassword"
>
忘记密码
</Button>
<div>
<Button
v-show="!isCaptchaLogin"
class="!color-#939499 !p-0 !h-22px hover:color-#6D4CFE"
size="small"
type="text"
@click="onForgetPassword"
>
忘记密码
</Button>
</div>
<Button
type="text"
class="!color-#939499 !p-0 !h-22px hover:color-#6D4CFE"

View File

@ -6,11 +6,11 @@
}
.ant-input-affix-wrapper {
height: 48px;
padding: 0 10px;
padding: 10px 16px;
border-radius: 8px !important;
.ant-input {
border-radius: 8px !important;
font-size: 16px;
font-size: 16px !important;
font-style: normal;
font-weight: 400;
line-height: 24px;