feat 完善注释
This commit is contained in:
@@ -4,7 +4,6 @@ import { ElMessage } from 'element-plus'
|
||||
import { AppButton, PasswordStrength, SmsCodeInput } from '@/components'
|
||||
|
||||
interface Props {
|
||||
/** 绑定手机号(脱敏展示) */
|
||||
phone: string
|
||||
}
|
||||
|
||||
@@ -120,8 +119,6 @@ function onSubmit(): void {
|
||||
</template>
|
||||
|
||||
<style lang="less" scoped>
|
||||
// 设计 22(修改密码弹窗):白卡 900×~540 设计px、蓝条标题、白底描边输入 40 设计px、
|
||||
// 整行蓝色主按钮;设计稿无蒙层压暗(页面原样可见),故遮罩透明。
|
||||
.change-pwd-dialog {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
@@ -131,7 +128,7 @@ function onSubmit(): void {
|
||||
overflow-y: auto;
|
||||
|
||||
&__panel {
|
||||
width: 700px; // 设计 900 × 0.77
|
||||
width: 700px;
|
||||
max-width: calc(100vw - 32px);
|
||||
max-height: calc(100vh - 48px);
|
||||
overflow-y: auto;
|
||||
@@ -144,7 +141,6 @@ function onSubmit(): void {
|
||||
.scrollbar();
|
||||
}
|
||||
|
||||
// 设计 22:蓝条(#024FFF 4×20 设计px)+ 标题 15 设计px w700
|
||||
&__title {
|
||||
position: relative;
|
||||
padding-left: 12px;
|
||||
@@ -171,14 +167,12 @@ function onSubmit(): void {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
// 设计 22:标签 13 设计px w500 深灰
|
||||
&__label {
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
color: @heading-color;
|
||||
}
|
||||
|
||||
// 设计 22:白底、#DDE1E7 描边、40 设计px ≈ 32px 高、13 设计px 字
|
||||
&__input {
|
||||
width: 100%;
|
||||
height: 32px;
|
||||
@@ -223,7 +217,6 @@ function onSubmit(): void {
|
||||
}
|
||||
}
|
||||
|
||||
// 设计 24:底部两枚等宽整行按钮 —— 次级 #EEF0F3 灰底、主色 #024FFF
|
||||
&__footer {
|
||||
.flex(row, flex-start);
|
||||
gap: @spacing-sm;
|
||||
|
||||
Reference in New Issue
Block a user