diff --git a/src/loading.tsx b/src/loading.tsx index 21a2747f..fd4f25bb 100644 --- a/src/loading.tsx +++ b/src/loading.tsx @@ -1,7 +1,7 @@ import { Skeleton } from 'antd'; const Loading: React.FC = () => ( - + ); export default Loading; diff --git a/src/pages/404.tsx b/src/pages/404.tsx index 46935675..9734cc57 100644 --- a/src/pages/404.tsx +++ b/src/pages/404.tsx @@ -1,18 +1,20 @@ import { history, useIntl } from '@umijs/max'; -import { Button, Result } from 'antd'; +import { Button, Card, Result } from 'antd'; import React from 'react'; const NoFoundPage: React.FC = () => ( - history.push('/')}> - {useIntl().formatMessage({ id: 'pages.404.buttonText' })} - - } - /> + + history.push('/')}> + {useIntl().formatMessage({ id: 'pages.404.buttonText' })} + + } + /> + ); export default NoFoundPage; diff --git a/src/pages/dashboard/analysis/components/SalesCard.tsx b/src/pages/dashboard/analysis/components/SalesCard.tsx index a3621619..31c10cde 100644 --- a/src/pages/dashboard/analysis/components/SalesCard.tsx +++ b/src/pages/dashboard/analysis/components/SalesCard.tsx @@ -1,5 +1,5 @@ import { Column } from '@ant-design/plots'; -import { Card, Col, DatePicker, Row, Tabs } from 'antd'; +import { Button, Card, Col, DatePicker, Row, Tabs } from 'antd'; import type { RangePickerProps } from 'antd/es/date-picker'; import numeral from 'numeral'; import type { DataItem } from '../data.d'; @@ -51,30 +51,34 @@ const SalesCard = ({ tabBarExtraContent={
- selectDate('today')} > 今日 - - +
{ }, currentDate: { color: token.colorPrimary, + fontWeight: 'bold', }, salesBar: { padding: '0 0 32px 32px', diff --git a/src/pages/exception/403/index.tsx b/src/pages/exception/403/index.tsx index 90be8a78..b5397c0b 100644 --- a/src/pages/exception/403/index.tsx +++ b/src/pages/exception/403/index.tsx @@ -1,15 +1,17 @@ import { Link } from '@umijs/max'; -import { Button, Result } from 'antd'; +import { Button, Card, Result } from 'antd'; export default () => ( - - - - } - /> + + + + + } + /> + ); diff --git a/src/pages/exception/404/index.tsx b/src/pages/exception/404/index.tsx index a051b76e..f2ae5149 100644 --- a/src/pages/exception/404/index.tsx +++ b/src/pages/exception/404/index.tsx @@ -1,15 +1,17 @@ import { Link } from '@umijs/max'; -import { Button, Result } from 'antd'; +import { Button, Card, Result } from 'antd'; export default () => ( - - - - } - /> + + + + + } + /> + ); diff --git a/src/pages/exception/500/index.tsx b/src/pages/exception/500/index.tsx index 32c5adfb..55d69de5 100644 --- a/src/pages/exception/500/index.tsx +++ b/src/pages/exception/500/index.tsx @@ -1,15 +1,17 @@ import { Link } from '@umijs/max'; -import { Button, Result } from 'antd'; +import { Button, Card, Result } from 'antd'; export default () => ( - - - - } - /> + + + + + } + /> + );