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

@@ -69,7 +69,6 @@ const localAgree = computed({
<style lang="less" scoped>
.login-form {
.flex(column, flex-start, stretch);
// 设计稿:Tab 行 x1039 → 表单列整列 x1039 = 卡列 x1022 + 17
margin: 26px 0 0 17px;
width: 680px;
@@ -84,13 +83,12 @@ const localAgree = computed({
}
&__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;
@@ -113,8 +111,6 @@ const localAgree = computed({
}
}
// 设计稿:协议行标 @(1039,641),但密码输入框实为 y610→649 —— 设计值自相矛盾(重叠 8px)。
// 取与短信登录/注册/找回密码三页一致的 22px 间距(同页切 Tab 也不会跳)。
&__agree {
.flex(row, flex-start, center);
gap: 8px;
@@ -133,14 +129,12 @@ const localAgree = computed({
accent-color: @primary-strong;
}
// 设计稿:《用户协议》《隐私政策》为强调蓝,其余为次级灰
em {
font-style: normal;
color: @primary-strong;
}
}
// 设计稿:登录按钮 680×46 @y675、#024FFF 实底、文字 15/500(盒高随字体 ×@auth-font-scale)
&__submit {
width: 100%;
height: 46px * @auth-font-scale;