feat 需求提报
This commit is contained in:
@@ -105,22 +105,22 @@ onMounted(() => {
|
||||
@update="onUpdate"
|
||||
/>
|
||||
</section>
|
||||
|
||||
<DemandActionBar
|
||||
:saving="saving"
|
||||
:submitting="submitting"
|
||||
@save-draft="onSaveDraft"
|
||||
@reset="onReset"
|
||||
@submit="onSubmit"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<DemandActionBar
|
||||
:saving="saving"
|
||||
:submitting="submitting"
|
||||
@save-draft="onSaveDraft"
|
||||
@reset="onReset"
|
||||
@submit="onSubmit"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.demand-page {
|
||||
padding-bottom: 104px;
|
||||
// 操作栏已收进卡片内(设计稿 el36 y=2280),不需要为fixed 底栏预留空白。
|
||||
|
||||
&.is-loading .demand {
|
||||
opacity: 0.6;
|
||||
@@ -135,7 +135,8 @@ onMounted(() => {
|
||||
}
|
||||
|
||||
&__hero-inner {
|
||||
padding-left: 42px;
|
||||
// 设计稿 el82:标题左边界 112px(hero 白底 1920 宽,标题左起 112)。
|
||||
padding-left: 112px;
|
||||
}
|
||||
|
||||
&__title {
|
||||
@@ -157,12 +158,16 @@ onMounted(() => {
|
||||
|
||||
.demand {
|
||||
margin-top: 20px; // 271 − (72+179) = 20
|
||||
padding: 48px 56px 111px;
|
||||
// 设计稿 el83 卡片 x=70 w=1780;内容左边界 194(el68 输入框 x=194 w=1605),
|
||||
// 右边界 1799。故左内边距 56、右内边距 51(不对称是设计稿本身如此)。
|
||||
padding: 48px 51px 114px 56px;
|
||||
background: @white;
|
||||
|
||||
&__heading {
|
||||
.flex(row, flex-start, center);
|
||||
gap: 15px;
|
||||
// 设计稿三个 heading 的标签都比序号低 23px(el80 "01" y=319 →
|
||||
// el79 "选择业务类型*" y=342),不是垂直居中,故用flex-start + margin-top。
|
||||
.flex(row, flex-start, flex-start);
|
||||
gap: 4px;
|
||||
margin: 0 0 50px;
|
||||
padding-left: 8px;
|
||||
}
|
||||
@@ -177,6 +182,8 @@ onMounted(() => {
|
||||
}
|
||||
|
||||
&__label {
|
||||
// 与序号的顶部落差 23px(el80 y=319 → el79 y=342)。
|
||||
margin-top: 23px;
|
||||
font-size: 28px;
|
||||
font-weight: 500;
|
||||
line-height: 41px;
|
||||
@@ -188,22 +195,26 @@ onMounted(() => {
|
||||
color: @danger-color;
|
||||
}
|
||||
|
||||
// 内容左边界 194:卡片 x=70 + padding-left 56 + 内容缩进 68。
|
||||
&__heading + * {
|
||||
margin-left: 46px;
|
||||
margin-left: 68px;
|
||||
}
|
||||
|
||||
// el29业务类型卡片底 645 → el78 "02" 顶 705 = 60px。
|
||||
&__section + &__section {
|
||||
margin-top: 60px;
|
||||
}
|
||||
|
||||
// el53 附件灰块底 1619 → el76 "03" 顶 1689 = 70px。
|
||||
&__section + &__section:last-of-type {
|
||||
margin-top: 50px;
|
||||
margin-top: 70px;
|
||||
}
|
||||
|
||||
&__section + &__section &__heading {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
// el78 "02" 底 775 → el70 "项目名称*" 顶 789 = 14px。
|
||||
&__section + &__section &__heading + * {
|
||||
margin-top: 14px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user