index.js 638 B

123456789101112131415161718192021222324
  1. import React from 'react';
  2. import ReactDOM from 'react-dom';
  3. import '../../css/base.less';
  4. import TopTab from './topTab.jsx';
  5. import Footers from './bottom.jsx';
  6. import ContentRouter from './index/content.jsx';
  7. import LeftMenu from './index/leftMenu'
  8. import { Layout } from 'antd';
  9. const { Header, Footer, Sider, Content } = Layout;
  10. ReactDOM.render(
  11. <div className="wrap clearfix">
  12. <Header>
  13. <TopTab/>
  14. </Header>
  15. <Layout>
  16. <Sider><LeftMenu /></Sider>
  17. <Content><ContentRouter /></Content>
  18. </Layout>
  19. <Footers />
  20. </div>,
  21. document.getElementById('root')
  22. )