feat 需求提报

This commit is contained in:
Ironsp
2026-10-09 09:29:08 +08:00
parent aa440d6bb5
commit f73103a2a6
14 changed files with 294 additions and 250 deletions

View File

@@ -36,12 +36,12 @@ function onGetCode(): void {
&__input {
flex: 1;
min-width: 0;
height: 39px * @auth-font-scale;
padding: 0 12px * @auth-font-scale;
height: 40px;
padding: 0 12px;
border: 1px solid #dde1e7;
border-radius: @radius-sm;
background: @white;
font-size: 13px * @auth-font-scale;
font-size: 13px;
color: #1f2937;
outline: none;
transition: border-color 0.2s;
@@ -55,25 +55,30 @@ function onGetCode(): void {
}
}
// 设计稿 #38:「获取验证码」是带蓝色描边的独立按钮(62×16 文字居中),
// 不是纯文字链接。按键宽 88px,与输入框间距 @spacing-sm。
&__btn {
flex-shrink: 0;
min-width: 74px * @auth-font-scale;
height: 39px * @auth-font-scale;
width: 88px;
height: 40px;
padding: 0;
border: none;
background: transparent;
border: 1px solid @primary-strong;
border-radius: @radius-sm;
background: @white;
color: @primary-strong;
font-size: 12px * @auth-font-scale;
font-size: 12px;
font-weight: 400;
text-align: right;
text-align: center;
cursor: pointer;
transition: color 0.2s;
transition: all 0.2s;
&:hover:not(:disabled) {
color: @primary-hover;
background: @primary-strong;
color: @white;
}
&:disabled {
border-color: @text-color-disabled;
color: @text-color-disabled;
cursor: not-allowed;
}