feat 完善注释
This commit is contained in:
@@ -58,8 +58,6 @@ function onCancel(): void {
|
||||
</template>
|
||||
|
||||
<style lang="less" scoped>
|
||||
// 设计 24(取消绑定确认)/ 29(注销风险提示):白卡 ~840 设计px、无蒙层压暗、
|
||||
// 底部两枚等宽整行按钮(次级 #EEF0F3 / 主色或危险色)
|
||||
.confirm-dialog {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
@@ -68,7 +66,7 @@ function onCancel(): void {
|
||||
background: transparent;
|
||||
|
||||
&__panel {
|
||||
width: 660px; // 设计 840 × 0.77
|
||||
width: 660px;
|
||||
max-width: calc(100vw - 32px);
|
||||
padding: @spacing-base;
|
||||
border-radius: @radius-lg;
|
||||
@@ -76,7 +74,6 @@ function onCancel(): void {
|
||||
box-shadow: @shadow-lg;
|
||||
}
|
||||
|
||||
// 蓝条 + 标题 15 设计px w700(与个人中心各弹窗一致)
|
||||
&__title {
|
||||
position: relative;
|
||||
margin-bottom: @spacing-base;
|
||||
@@ -100,12 +97,11 @@ function onCancel(): void {
|
||||
|
||||
&__body {
|
||||
margin-bottom: @spacing-lg;
|
||||
font-size: 11px; // 设计 29 条目 13 → 11
|
||||
font-size: 11px;
|
||||
color: @text-color;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
// 设计 24:两枚等宽整行按钮铺满卡宽
|
||||
&__footer {
|
||||
.flex(row, flex-start);
|
||||
gap: @spacing-sm;
|
||||
@@ -129,7 +125,6 @@ function onCancel(): void {
|
||||
color: @text-color;
|
||||
}
|
||||
|
||||
// 设计 24 主按钮 #024FFF / 设计 29 危险按钮 #EF4444
|
||||
&--confirm {
|
||||
background: @primary-strong;
|
||||
color: @white;
|
||||
|
||||
Reference in New Issue
Block a user