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

@@ -159,38 +159,42 @@ onBeforeUnmount(() => {
</template>
<style lang="less" scoped>
// 找回密码与注册同为 4 字段布局(手机号/验证码/设置密码/确认密码),
// 间距规则与设计稿 #39 注册页一致。
.reset {
&__form {
.flex(column, flex-start, stretch);
margin: 38px 0 0 17px;
width: 680px;
margin: 26px 0 0;
width: 100%;
}
&__field {
.flex(column, flex-start, stretch);
gap: 8px;
width: 680px;
gap: 6px;
width: 100%;
}
// 字段盒 = 标签17 + gap6 + 输入框40 = 63px;63 + 19 = 82px 字段间距
&__field + &__field {
margin-top: 18px;
margin-top: 19px;
}
&__label {
font-size: 13px * @auth-font-scale;
font-size: 13px;
font-weight: 500;
line-height: 17px * @auth-font-scale;
line-height: 17px;
color: #1f2937;
text-align: center;
}
&__input {
width: 100%;
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;
@@ -208,17 +212,17 @@ onBeforeUnmount(() => {
&__agree {
.flex(row, flex-start, center);
gap: 8px;
margin-top: 22px;
font-size: 12px * @auth-font-scale;
margin-top: 21px;
font-size: 12px;
font-weight: 400;
line-height: 16px * @auth-font-scale;
line-height: 16px;
color: #6b7280;
cursor: pointer;
input {
flex-shrink: 0;
width: 16px * @auth-font-scale;
height: 16px * @auth-font-scale;
width: 14px;
height: 14px;
margin: 0;
accent-color: @primary-strong;
}
@@ -231,13 +235,13 @@ onBeforeUnmount(() => {
&__submit {
width: 100%;
height: 46px * @auth-font-scale;
margin-top: 18px;
height: 46px;
margin-top: 17px;
border: none;
border-radius: @radius-sm;
background: @primary-strong;
color: @white;
font-size: 15px * @auth-font-scale;
font-size: 15px;
font-weight: 500;
cursor: pointer;
transition: background 0.2s;
@@ -250,17 +254,9 @@ onBeforeUnmount(() => {
&__switch {
align-self: center;
margin: 17px 0 0;
font-size: 12px * @auth-font-scale;
font-size: 12px;
font-weight: 400;
line-height: 16px * @auth-font-scale;
color: #6b7280;
}
&__subtitle {
margin: 12px 0 0;
font-size: 13px * @auth-font-scale;
font-weight: 400;
line-height: 17px * @auth-font-scale;
line-height: 16px;
color: #6b7280;
}
}