// 页面布局根容器:筛选区 + 表格区作为直接子元素 .containerMain { display: flex; flex-direction: column; height: 100%; // 页面筛选区域:横向 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; } // 筛选区域操作按钮组 .filterActions { display: flex; align-items: center; gap: 10px; margin-left: 0; } // 表格显示区域:纵向 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; .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; } .pagination { flex-shrink: 0; display: flex; justify-content: flex-end; padding: 14px; } } }