feat ui设计稿

This commit is contained in:
Ironsp
2026-09-30 15:55:36 +08:00
parent ce8210fb3f
commit 9ab6253c81
102 changed files with 4855 additions and 2359 deletions

View File

@@ -28,59 +28,55 @@ defineProps<Props>()
</template>
<style lang="less" scoped>
// 设计稿(06/07 三步表单):白卡上竖排「大号蓝色序号 + 区块标题」,无连接线/分隔线/阴影
.step-form {
padding: @spacing-lg @spacing-xl;
border-radius: @radius-lg;
border-radius: @radius-base;
background: @white;
box-shadow: @shadow-base;
box-shadow: none;
&__header {
.flex(row, center);
gap: @spacing-sm;
.flex(column, flex-start, baseline);
gap: @spacing-base;
margin-bottom: @spacing-lg;
padding-bottom: @spacing-base;
border-bottom: 1px solid @border-color;
padding-bottom: 0;
border-bottom: none;
}
&__step {
.flex(row, center);
.flex(row, baseline);
gap: @spacing-xs;
&.is-active .step-form__dot {
background: @primary-color;
color: @white;
}
&.is-done .step-form__dot {
border-color: @primary-color;
color: @primary-color;
}
&.is-active .step-form__label {
color: @primary-color;
font-weight: 600;
}
}
// 设计稿序号:48 设计px ≈ 37px、#024FFF、与内容列对齐(列宽 46px)
&__dot {
.flex(row, center);
width: 24px;
height: 24px;
border: 1px solid @border-color-dark;
border-radius: @radius-round;
font-size: @font-size-sm;
color: @text-color-secondary;
flex-shrink: 0;
width: 46px;
border: none;
border-radius: 0;
background: transparent;
font-size: 37px;
font-weight: 500;
line-height: 1;
color: @demand-accent;
text-align: left;
}
// 设计稿区块标题:28 设计px ≈ 22px、500、rgba(51,51,51)
&__label {
font-size: @font-size-base;
color: @text-color;
font-size: @font-size-title;
font-weight: 500;
color: @demand-heading;
}
// 设计稿无步骤连接线
&__line {
flex: 1;
height: 1px;
background: @border-color;
display: none;
}
&__body {
// 内容列与序号后的标题对齐(序号列 46px)
margin-left: 46px;
}
}
</style>