import { ChartCard, Field, MiniArea, MiniBar, MiniProgress } from '@/components/Charts'; import Trend from '@/components/Trend'; import Yuan from '@/utils/Yuan'; import { Col, Icon, Row, Tooltip } from 'antd'; import numeral from 'numeral'; import React, { memo } from 'react'; import { FormattedMessage } from 'umi-plugin-locale'; import styles from './Analysis.less'; interface TopColResponsiveProps { xs: number; sm: number; md: number; lg: number; xl: number; style: { marginBottom: number; }; } const topColResponsiveProps: TopColResponsiveProps = { xs: 24, sm: 12, md: 12, lg: 12, xl: 6, style: { marginBottom: 24 }, }; interface IntroduceRowProps { visitData: any[]; loading: boolean; } const IntroduceRow: React.FC = ({ loading, visitData }) => ( } action={ } > } loading={loading} total={() => 126560} footer={ } value={`¥${numeral(12423).format('0,0')}`} /> } contentHeight={46} > 12% 11% } action={ } > } total={numeral(8846).format('0,0')} footer={ } value={numeral(1234).format('0,0')} /> } contentHeight={46} > } action={ } > } total={numeral(6560).format('0,0')} footer={ } value="60%" /> } contentHeight={46} > } action={ } > } total="78%" footer={
12% 11%
} contentHeight={46} >
); export default memo(IntroduceRow);