//新开发账户管理
import React from 'react';
import Account from '@/account/setAccount/account';
import Unit from '@/account/setAccount/unit';
import Personal from '@/account/setAccount/personal';
import Contacts from '@/account/setAccount/contacts';
import Expert from '@/account/setAccount/expert';
//会员中心
import Normal from '@/account/index/normal';
import Collection from '@/account/index/collection';
import TechList from '@/account/index/techList';
import ServiceList from '@/account/index/serviceList';
import ConsultList from '@/account/index/consultList';
import DemandList from '@/account/demand/techDemand';
import Achievement from '@/account/achievement/techAchievement';
import BusinessProject from '@/account/business/businessProject'

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="/normal" component={Normal} />
            <Route path="/collection" component={Collection} />
            <Route path="/techList" component={TechList} />
            <Route path="/serviceList" component={ServiceList} />
            <Route path="/consultList" component={ConsultList} />
            <Route path="/account" component={Account} />
            <Route path="/unit" component={Unit} />
            <Route path="/personal" component={Personal} />
            <Route path="/contacts" component={Contacts} />
            <Route path="/demand" component={DemandList} />
            <Route path="/achievement" component={Achievement} />
            <Route path="/expert" component={Expert} />
            <Route path="/businessProject" component={BusinessProject} />
        </Router>
      </Content>
    )
  }
}