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

@@ -157,38 +157,43 @@ onBeforeUnmount(() => {
</template>
<style lang="less" scoped>
// 设计稿 #39(注册账号)纵向坐标:
// 手机号标签 368 → 验证码标签 450 → 设置密码标签 532 → 确认密码标签 658
// 前三个字段间距均为 82px;设置密码字段含密码强度条,故到确认密码为 126px。
.register {
&__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;
@@ -203,20 +208,21 @@ onBeforeUnmount(() => {
}
}
// 设计稿 #39:勾选框 (1002.2,749) 7.5×14
&__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;
}
@@ -227,15 +233,16 @@ onBeforeUnmount(() => {
}
}
// 设计稿 #39:按钮文字 (1312,795) 54×20
&__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;
@@ -245,20 +252,13 @@ onBeforeUnmount(() => {
}
}
// 设计稿 #39:「已有账号?」(1285,844)、「立即登录」(1344.5,844)
&__switch {
align-self: center;
margin: 16px 0 0;
font-size: 12px * @auth-font-scale;
margin: 17px 0 0;
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;
}
}