feat ui设计稿bug修复

This commit is contained in:
Ironsp
2026-10-01 10:53:13 +08:00
parent 9ab6253c81
commit 1601bdd82c
89 changed files with 4741 additions and 3652 deletions

View File

@@ -208,34 +208,39 @@ function onDownload(file: DemandAttachment): void {
<style lang="less" scoped>
.demand-attach {
.flex(column, flex-start, stretch);
gap: 11px;
gap: 14px;
&__head {
.flex(row, flex-start, center);
gap: 15px;
}
&__label {
font-size: 15px;
flex-shrink: 0;
font-size: 20px; // 设计稿 20/500 @(194,1376)
font-weight: 500;
line-height: 29px;
color: @demand-heading;
}
// 设计稿:提示文案 @(294,1379) 16/400,起点 = 标签列 80 + 20
&__hint {
flex: 1;
min-width: 0;
font-size: @font-size-sm;
margin-left: 20px;
font-size: 16px;
font-weight: 400;
color: @demand-line;
}
// 设计稿该行未标注按钮,按钮设计稿外置(沿用站内次级按钮规格)
&__pick {
flex-shrink: 0;
height: 28px;
padding: 0 @spacing-base;
height: 40px;
padding: 0 @spacing-lg;
border: 1px solid @demand-line;
border-radius: @radius-sm;
background: @white;
font-size: @font-size-sm;
font-size: 16px;
color: @demand-line;
cursor: pointer;
transition: border-color 0.2s, color 0.2s;
@@ -257,19 +262,19 @@ function onDownload(file: DemandAttachment): void {
&__list {
.flex(column, flex-start, stretch);
// 设计稿:两条 90 设计px 灰条,间距 20 设计px ≈ 15px
gap: 15px;
// 设计稿:两条 90 高灰条,间距 20
gap: 20px;
margin: 0;
padding: 0;
list-style: none;
}
// 设计稿附件条:实底 #EDEDED、无描边、90 设计px ≈ 69px 高
// 设计稿附件条:实底 #EDEDED、无描边、90 高
&__item {
.flex(row, flex-start, center);
gap: @spacing-base;
min-height: 69px;
padding: @spacing-base;
min-height: 90px;
padding: 0 @spacing-lg;
border-radius: @radius-sm;
background: @demand-upload-bg;
}
@@ -277,10 +282,10 @@ function onDownload(file: DemandAttachment): void {
&__badge {
.flex(row, center);
flex-shrink: 0;
width: 34px;
height: 34px;
width: 44px;
height: 44px;
border-radius: @radius-sm;
font-size: 10px;
font-size: 12px;
font-weight: 700;
letter-spacing: 0.2px;
}
@@ -288,18 +293,18 @@ function onDownload(file: DemandAttachment): void {
&__meta {
.flex(column, flex-start, stretch);
flex: 1;
gap: 2px;
gap: 4px;
min-width: 0;
}
&__name {
font-size: 15px;
font-size: 20px;
color: @demand-ink;
.ellipsis();
}
&__sub {
font-size: @font-size-sm;
font-size: 16px;
color: @text-color-secondary;
}