fix(ui): 工作台移除永久 loading 骨架,改 Empty 说明(走查 P0-#2)

This commit is contained in:
2026-09-28 07:19:37 +08:00
parent 4d1bf90943
commit 01624ace01
+9 -28
View File
@@ -1,34 +1,15 @@
// 工作台:对标 pro 官方 workplace 预览的占位页。
// 统计卡片与快捷入口暂不接真实数据(后期规划),仅布局占位;不引入兜底数据。
import { Card, Col, Empty, Row, Typography } from 'antd';
// 工作台:占位页。数据看板未实现,不渲染假加载骨架,直接以 Empty 说明现状;不引入兜底数据。
import { Card, Empty, Typography } from 'antd';
// 统计卡片与快捷入口暂不接真实数据(后期规划),仅布局占位;不引入兜底数据。
// 页面标题由全局布局的 PageContainer 提供,这里只渲染内容区。
export default function Page() {
return (
<>
<Row gutter={[16, 16]}>
<Col xs={24} sm={12} lg={6}>
<Card variant="outlined" loading />
</Col>
<Col xs={24} sm={12} lg={6}>
<Card variant="outlined" loading />
</Col>
<Col xs={24} sm={12} lg={6}>
<Card variant="outlined" loading />
</Col>
<Col xs={24} sm={12} lg={6}>
<Card variant="outlined" loading />
</Col>
</Row>
<Card
variant="outlined"
style={{ marginTop: 16 }}
title="运营概况"
extra={<Typography.Text type="secondary">统计指标规划中</Typography.Text>}
>
<Empty description="数据看板规划中,敬请期待。" />
</Card>
</>
<Card
variant="outlined"
title="运营概况"
extra={<Typography.Text type="secondary">统计指标规划中</Typography.Text>}
>
<Empty description="数据看板尚未实现。" />
</Card>
);
}