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

@@ -208,41 +208,41 @@ function onDownload(file: DemandAttachment): void {
<style lang="less" scoped>
.demand-attach {
.flex(column, flex-start, stretch);
gap: @spacing-sm;
gap: 11px;
&__head {
.flex(row, flex-start, center);
gap: @spacing-sm;
gap: 15px;
}
&__label {
font-size: @font-size-base;
font-weight: 600;
color: @heading-color;
font-size: 15px;
font-weight: 500;
color: @demand-heading;
}
&__hint {
flex: 1;
min-width: 0;
font-size: @font-size-sm;
color: @text-color-secondary;
color: @demand-line;
}
&__pick {
flex-shrink: 0;
height: 28px;
padding: 0 @spacing-base;
border: 1px solid @border-color-dark;
border: 1px solid @demand-line;
border-radius: @radius-sm;
background: @white;
font-size: @font-size-sm;
color: @text-color;
color: @demand-line;
cursor: pointer;
transition: border-color 0.2s, color 0.2s;
&:hover:not(:disabled) {
border-color: @primary-color;
color: @primary-color;
border-color: @demand-accent;
color: @demand-accent;
}
&:disabled {
@@ -257,18 +257,21 @@ function onDownload(file: DemandAttachment): void {
&__list {
.flex(column, flex-start, stretch);
gap: @spacing-sm;
// 设计稿:两条 90 设计px 灰条,间距 20 设计px ≈ 15px
gap: 15px;
margin: 0;
padding: 0;
list-style: none;
}
// 设计稿附件条:实底 #EDEDED、无描边、90 设计px ≈ 69px 高
&__item {
.flex(row, flex-start, center);
gap: @spacing-sm;
padding: @spacing-sm @spacing-base;
gap: @spacing-base;
min-height: 69px;
padding: @spacing-base;
border-radius: @radius-sm;
background: @bg-color-light;
background: @demand-upload-bg;
}
&__badge {
@@ -290,8 +293,8 @@ function onDownload(file: DemandAttachment): void {
}
&__name {
font-size: @font-size-base;
color: @heading-color;
font-size: 15px;
color: @demand-ink;
.ellipsis();
}