fix(web-admin): 报销弹窗表单改为上下布局并加大分块间距
将报销管理新增/编辑弹窗的 label 改为 top 布局,并增加报销申请中明细、附件、备注等分块与上方内容的间距。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
c756fbddfc
commit
715ccbd637
11 files changed
+30
-40
No files matched your search
@@ -825,12 +825,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.dlg-note {
|
||||
margin: 0 0 16px;
|
||||
font-size: 13px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.flow-scroll {
|
||||
max-height: 320px;
|
||||
overflow-y: auto;
|
||||
@@ -877,6 +871,7 @@
|
||||
}
|
||||
|
||||
.form-section {
|
||||
margin-top: 28px;
|
||||
margin-bottom: 20px;
|
||||
padding-bottom: 16px;
|
||||
border-bottom: 1px dashed var(--border);
|
||||
@@ -888,6 +883,16 @@
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
/* 顶部基础字段表单 → 下方分块小标题 */
|
||||
.bx-dialog-form + .form-section {
|
||||
margin-top: 28px;
|
||||
}
|
||||
|
||||
/* 分块结束后接备注等表单项时,保留与上方的间距 */
|
||||
.form-section + .bx-dialog-form {
|
||||
margin-top: 28px;
|
||||
}
|
||||
|
||||
.form-section h4 {
|
||||
margin: 0 0 12px;
|
||||
font-size: 13px;
|
||||
@@ -988,12 +993,8 @@
|
||||
background: var(--row-alt);
|
||||
}
|
||||
|
||||
/* 报销新增/编辑弹窗:label 左、控件右,垂直居中,label 可换行(栅格列数不变) */
|
||||
/* 报销新增/编辑弹窗:label 上、控件下(与 Fresh Mint label-position=top 一致) */
|
||||
.bx-dialog-form {
|
||||
.el-form-item {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
[class*='form-grid-'] > .el-form-item {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
@@ -1007,8 +1008,8 @@
|
||||
word-break: break-word;
|
||||
line-height: 1.45;
|
||||
height: auto !important;
|
||||
padding-right: 12px;
|
||||
align-self: center;
|
||||
padding-bottom: 6px;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.el-form-item__content {
|
||||
|
||||
Reference in new issue
Block a user