33 lines
808 B
JavaScript
33 lines
808 B
JavaScript
import { Result, Button } from 'antd'
|
|
import { useNavigate } from 'react-router-dom'
|
|
import { ToolOutlined } from '@ant-design/icons'
|
|
|
|
function Constructing() {
|
|
const navigate = useNavigate()
|
|
|
|
return (
|
|
|
|
<div style={{
|
|
display: 'flex',
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
minHeight: 'calc(100vh - 200px)',
|
|
padding: '50px'
|
|
}}>
|
|
<Result
|
|
icon={<ToolOutlined style={{ fontSize: '72px', color: '#1890ff' }} />}
|
|
title="功能开发中"
|
|
subTitle="该功能正在紧张开发中,敬请期待..."
|
|
extra={
|
|
<Button type="primary" onClick={() => navigate(-1)}>
|
|
返回上一页
|
|
</Button>
|
|
}
|
|
/>
|
|
</div>
|
|
|
|
)
|
|
}
|
|
|
|
export default Constructing
|