12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. import React, { Component, useState, useEffect } from 'react';
  2. import { Card, Row, Col, Statistic, Icon } from 'antd';
  3. // import IndexEcharts from './components/indexEcharts';
  4. // import Swiper from './swiper/index';
  5. import router from 'umi/router';
  6. import request from '@/utils/request';
  7. import apis from '@/services/apis';
  8. const Count = props => {
  9. const [data, setData] = useState([]);
  10. return (
  11. <>
  12. <Row gutter={16} style={{textAlign:'center'}}>
  13. <Col span={4}>
  14. <Card>
  15. <Statistic
  16. title="总用户"
  17. value={110}
  18. // valueStyle={{ color: '#3f8600' }}
  19. />
  20. </Card>
  21. </Col>
  22. <Col span={4}>
  23. <Card>
  24. <Statistic
  25. title="总注册用户"
  26. value={110}
  27. // valueStyle={{ color: '#cf1322' }}
  28. />
  29. </Card>
  30. </Col>
  31. <Col span={4}>
  32. <Card>
  33. <Statistic
  34. title="今日访问次数"
  35. value={110}
  36. // valueStyle={{ color: '#3f8600' }}
  37. />
  38. </Card>
  39. </Col>
  40. <Col span={4}>
  41. <Card>
  42. <Statistic
  43. title="今日新增用户"
  44. value={110}
  45. // valueStyle={{ color: '#cf1322' }}
  46. />
  47. </Card>
  48. </Col>
  49. <Col span={4}>
  50. <Card>
  51. <Statistic
  52. title="渠道数量"
  53. value={110}
  54. // valueStyle={{ color: '#3f8600' }}
  55. />
  56. </Card>
  57. </Col>
  58. <Col span={4}>
  59. <Card>
  60. <Statistic
  61. title="经纪人数量"
  62. value={110}
  63. // valueStyle={{ color: '#cf1322' }}
  64. />
  65. </Card>
  66. </Col>
  67. </Row>
  68. </>
  69. );
  70. };
  71. export default Count;