web: React18+TDesign 网页控制台(登录/工作台/素材/账号/任务/审核/挑战/通知/审计/成员/设置/admin)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import React from 'react';
|
||||
import { Card, Tag } from 'tdesign-react';
|
||||
|
||||
interface IPlaceholderProps {
|
||||
title: string;
|
||||
desc?: string;
|
||||
phase?: string;
|
||||
}
|
||||
|
||||
const Placeholder: React.FC<IPlaceholderProps> = ({ title, desc, phase }) => (
|
||||
<Card title={title} subtitle={desc || '页面空壳已就位,业务内容按排期填充'}>
|
||||
<div style={{ padding: '24px 0' }}>
|
||||
<Tag theme={phase ? 'warning' : 'primary'} variant='light'>
|
||||
{phase || 'D5-D7 填充业务内容'}
|
||||
</Tag>
|
||||
</div>
|
||||
</Card>
|
||||
);
|
||||
|
||||
export default Placeholder;
|
||||
Reference in New Issue
Block a user