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

@@ -77,39 +77,49 @@ function onRemark(event: Event): void {
<style lang="less" scoped>
.demand-confirm {
.flex(column, flex-start, stretch);
gap: @spacing-lg;
gap: 0;
width: 1605px;
&__row {
.flex(row, flex-start, stretch);
// 设计稿:两个 503 设计px 输入框(≈387px),间距 73 设计px ≈ 56px,整行不占满
gap: 56px;
.flex(row, flex-start, flex-start);
// 设计稿:两个 503 宽输入框(x194→697 / x770→1273),间距 73
gap: 73px;
}
&__field {
.flex(column, flex-start, stretch);
gap: 10px;
gap: 14px;
min-width: 0;
}
// 行内两列(用户名称 / 用户手机号)定宽;补充备注整行铺满
&__row &__field {
flex: 0 0 387px;
flex: 0 0 503px;
}
// 设计稿:备注行标签顶 y1901,用户行控件底 y1871 → 间距 30
&__row + &__field {
margin-top: 30px;
}
&__label {
font-size: 15px;
font-size: 20px;
font-weight: 500;
line-height: 29px;
color: @demand-heading;
}
&__input {
.text-control();
height: 38px;
font-size: 15px;
height: 49px;
padding: 0 18px;
border-color: @demand-line;
border-radius: @radius-sm;
font-size: 20px;
color: @demand-ink;
&::placeholder {
font-weight: 400;
color: @demand-line;
}
}
@@ -121,25 +131,28 @@ function onRemark(event: Event): void {
&__textarea {
.text-control();
min-height: 208px;
padding: 10px 14px 24px;
font-size: 15px;
height: 270px;
min-height: 270px;
padding: 10px 18px 24px;
border-color: @demand-line;
border-radius: @radius-sm;
font-size: 20px;
color: @demand-ink;
line-height: 1.7;
line-height: 29px;
resize: vertical;
&::placeholder {
font-weight: 400;
color: @demand-line;
}
}
&__count {
position: absolute;
right: @spacing-sm;
bottom: @spacing-xs;
font-size: @font-size-sm;
color: @text-color-secondary;
right: @spacing-lg;
bottom: @spacing-sm;
font-size: 16px;
color: @text-color-disabled;
}
}
</style>