//管理员登录区域代码
import DemandLibrary from '@/administration/demand/techDemand';
import DemandExamine from '@/administration/demand/demandExamine';
import AdmianIndex from '@/administration/index/index';
import AchievementExamine from '@/administration/achievement/achievementExamine';
import AchievementLibrary from '@/administration/achievement/techAchievement';
import BusinessCategory from '@/administration/business/businessCategory';
import BusinessLibrary from '@/administration/business/businessLibrary';
import BusinessProject from '@/administration/business/businessProject';
import UserLibrary from '@/administration/business/userLibrary';
import News from '@/administration/news/newsList';
import Policy from '@/administration/policy/policyList';
import Order from '@/administration/order/order';
import SystemMessage from '@/administration/messagePush/systemMessage';
import Tags from '@/administration/tags/tags';
import AuthLibrary from '@/administration/authentication/techAuth';
import AuthExamine from '@/administration/authentication/authExamine';
import Banner from '@/administration/banner/banner';

import {hashHistory,Route,Router} from 'react-router';
import {Layout} from 'antd';
import '@/account/content.less';

const { Content } = Layout;

export default class ContentRouter extends React.Component {
  render() {
    return (
      <Content className="acc-content" id="content">
        <Router history={hashHistory}>
            <Route path="/library" component={DemandLibrary} />
            <Route path="/examine" component={DemandExamine} />
            <Route path="/tags" component={Tags} />
            <Route path="/index" component={AdmianIndex} />
            <Route path="/achievementLibrary" component={AchievementLibrary} />
            <Route path="/achievementExamine" component={AchievementExamine} />
            <Route path="/businessCategory" component={BusinessCategory} />
            <Route path="/businessLibrary" component={BusinessLibrary} />
            <Route path="/businessProject" component={BusinessProject} />
            <Route path="/userLibrary" component={UserLibrary} />
            <Route path="/authLibrary" component={AuthLibrary} />
            <Route path="/authExamine" component={AuthExamine} />
            <Route path="/news" component={News} />
            <Route path="/policy" component={Policy} />
            <Route path="/order" component={Order} />
            <Route path="/systemMessage" component={SystemMessage} />
            <Route path="/banner" component={Banner} />
        </Router>
      </Content>
    )
  }
}