Files
cpms_operation_platform/src/assets/styles/pageLayout.module.less
T

91 lines
1.7 KiB
Plaintext
Raw Normal View History

2026-07-28 10:35:33 +08:00
// 页面布局根容器:筛选区 + 表格区作为直接子元素
.containerMain {
2026-07-27 16:40:29 +08:00
display: flex;
flex-direction: column;
height: 100%;
2026-07-28 10:35:33 +08:00
// 页面筛选区域:横向 flex,可换行
.filter {
display: flex;
flex-wrap: wrap;
align-items: center;
column-gap: 16px;
row-gap: 12px;
flex-shrink: 0;
padding: 16px;
background-color: #fff;
border-radius: 10px;
}
2026-07-27 16:40:29 +08:00
2026-07-28 10:35:33 +08:00
// 筛选区域操作按钮组
.filterActions {
display: flex;
align-items: center;
gap: 10px;
margin-left: 0;
}
2026-07-27 16:40:29 +08:00
2026-07-28 10:35:33 +08:00
// 表格显示区域:纵向 flex,占据剩余高度
.table {
display: flex;
flex-direction: column;
flex: 1;
background-color: #fff;
min-height: 0;
min-width: 0;
margin-top: 16px;
overflow: hidden;
border-radius: 10px;
2026-07-27 16:40:29 +08:00
2026-07-28 13:52:59 +08:00
.tableBody {
flex: 1;
min-height: 0;
overflow: hidden;
:global {
.ant-spin-nested-loading,
.ant-spin-container,
.ant-table,
.ant-table-container {
height: 100%;
}
}
}
// ── 汇总 ──
.summary {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0 32px;
flex-shrink: 0;
padding: 14px 15px;
border-radius: 8px;
font-size: 14px;
color: rgba(0, 0, 0, 0.85);
}
.summaryItem {
display: inline-flex;
align-items: baseline;
}
.summaryLabel {
color: rgba(0, 0, 0, 0.65);
}
.summaryValue {
font-weight: 600;
color: rgba(0, 0, 0, 0.85);
letter-spacing: 0.3px;
}
2026-07-28 10:35:33 +08:00
.pagination {
flex-shrink: 0;
display: flex;
justify-content: flex-end;
padding: 14px;
}
}
2026-07-27 16:40:29 +08:00
}