import React from 'react'; import { Row, Col, Icon, Tooltip } from 'antd'; import { FormattedMessage } from 'umi-plugin-react/locale'; import Charts from './Charts'; import numeral from 'numeral'; import styles from '../style.less'; import Yuan from '../utils/Yuan'; import Trend from './Trend'; import { IVisitData } from '../data.d'; const { ChartCard, MiniArea, MiniBar, MiniProgress, Field } = Charts; const topColResponsiveProps = { xs: 24, sm: 12, md: 12, lg: 12, xl: 6, style: { marginBottom: 24 }, }; const IntroduceRow = ({ loading, visitData }: { loading: boolean; visitData: IVisitData[] }) => { return ( } 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 IntroduceRow;