import React, { Component, useState, useEffect } from 'react';
import { Card, Row, Col, Statistic, Icon } from 'antd';
// import IndexEcharts from './components/indexEcharts';
// import Swiper from './swiper/index';
import router from 'umi/router';
import request from '@/utils/request';
import apis from '@/services/apis';
import BuildingStatistic from './BuildingStatistic';
import DetailData from './detailData';

const building = props => {
  const [data, setData] = useState([]);

  return (
    <>
      <div style={{ marginBottom: '20px' }}>
        <BuildingStatistic></BuildingStatistic>
      </div>
      <div style={{ marginBottom: '20px' }}>
        <DetailData></DetailData>
      </div>
    </>
  );
};
export default building;
