feat ui设计稿bug修复
This commit is contained in:
@@ -37,17 +37,17 @@ function onGetCode(): void {
|
||||
.flex(row, stretch);
|
||||
gap: @spacing-sm;
|
||||
|
||||
// 设计稿(02/54/55):验证码输入框与普通输入框同规格 40 设计px ≈ 32px、13 设计px 字号
|
||||
// 设计稿(02/54/55):验证码输入框 590×39(整行 680,右侧留 90 给「获取验证码」)
|
||||
&__input {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
height: 32px;
|
||||
height: 39px;
|
||||
padding: 0 12px;
|
||||
border: 1px solid @border-color;
|
||||
border-radius: 6px;
|
||||
border: 1px solid #dde1e7;
|
||||
border-radius: @radius-sm;
|
||||
background: @white;
|
||||
font-size: 11px;
|
||||
color: @heading-color;
|
||||
font-size: 13px;
|
||||
color: #1f2937;
|
||||
outline: none;
|
||||
transition: border-color 0.2s;
|
||||
|
||||
@@ -56,29 +56,30 @@ function onGetCode(): void {
|
||||
}
|
||||
|
||||
&::placeholder {
|
||||
color: @heading-color;
|
||||
color: #1f2937;
|
||||
}
|
||||
}
|
||||
|
||||
// 设计稿:「获取验证码」为白底蓝描边蓝字小按钮(#024FFF)
|
||||
// 设计稿:「获取验证码」为蓝字纯文本(无边框),12/400 #024FFF
|
||||
&__btn {
|
||||
flex-shrink: 0;
|
||||
min-width: 96px;
|
||||
height: 32px;
|
||||
padding: 0 @spacing-sm;
|
||||
border: 1px solid @primary-strong;
|
||||
border-radius: 6px;
|
||||
background: @white;
|
||||
min-width: 74px;
|
||||
height: 39px;
|
||||
padding: 0;
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: @primary-strong;
|
||||
font-size: 11px;
|
||||
transition: all 0.2s;
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
text-align: right;
|
||||
cursor: pointer;
|
||||
transition: color 0.2s;
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: @primary-light;
|
||||
color: @primary-hover;
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
border-color: @border-color-dark;
|
||||
color: @text-color-disabled;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user