feat 完善注释

This commit is contained in:
Ironsp
2026-10-01 17:24:57 +08:00
parent 2b59f68fd7
commit 9f4a5c7cda
183 changed files with 485 additions and 3615 deletions

View File

@@ -87,7 +87,6 @@ function onSubmit(): void {
<style lang="less" scoped>
.sms-login {
.flex(column, flex-start, stretch);
// 设计稿:表单列 x989,Tab 行底 412 → 首个标签 438 = 26
margin: 26px 0 0 17px;
width: 680px;
@@ -97,19 +96,17 @@ function onSubmit(): void {
width: 680px;
}
// 与账号密码登录两字段间距一致
&__field + &__field {
margin-top: 40px;
}
&__label {
font-size: 13px * @auth-font-scale; // 设计稿 13/500 #1F2937,×@auth-font-scale
font-size: 13px * @auth-font-scale;
font-weight: 500;
line-height: 17px * @auth-font-scale;
color: #1f2937;
}
// 设计稿:输入框 680×39、白底 + #DDE1E7 描边、文字 13/400(盒高随字体 ×@auth-font-scale)
&__input {
width: 100%;
height: 39px * @auth-font-scale;
@@ -132,7 +129,6 @@ function onSubmit(): void {
}
}
// 设计稿:协议行 @(989,622);验证码输入底 584 → 协议行 38
&__agree {
.flex(row, flex-start, center);
gap: 8px;
@@ -151,14 +147,12 @@ function onSubmit(): void {
accent-color: @primary-strong;
}
// 设计稿:《用户协议》《隐私政策》为强调蓝,其余为次级灰
em {
font-style: normal;
color: @primary-strong;
}
}
// 设计稿:登录按钮 680×46 @y656、#024FFF 实底、文字 15/500(盒高随字体 ×@auth-font-scale)
&__submit {
width: 100%;
height: 46px * @auth-font-scale;