style: table no data

This commit is contained in:
jialin
2025-01-21 14:25:14 +08:00
parent 6185485c68
commit d1369e765a
10 changed files with 694 additions and 570 deletions
@@ -0,0 +1,13 @@
import { Checkbox } from 'antd';
import '../styles/skeleton.less';
const RowSkeleton = () => {
return (
<div className="row-skeleton">
<div className="holder"></div>
<Checkbox></Checkbox>
</div>
);
};
export default RowSkeleton;
+4 -1
View File
@@ -118,7 +118,10 @@ const SealTable: React.FC<SealTableProps & { pagination: PaginationProps }> = (
if (!props.dataSource.length) {
return (
<div className="empty-wrapper">
<Empty image={loadend ? Empty.PRESENTED_IMAGE_SIMPLE : null}></Empty>
<Empty
image={loadend ? Empty.PRESENTED_IMAGE_SIMPLE : null}
description={loadend ? undefined : null}
></Empty>
</div>
);
}
+13
View File
@@ -0,0 +1,13 @@
.row-skeleton {
display: flex;
justify-content: flex-start;
background-color: var(--color-fill-sider);
padding: 16px;
height: 68px;
border-radius: var(--border-radius-base);
align-items: center;
.holder {
width: 33px;
}
}