//新开发账户管理
import React from 'react';
import Account from '@/account/setAccount/account';
import Unit from '@/account/setAccount/unit';
import Personal from '@/account/setAccount/personal';
import Patent from "@/account/setAccount/patent";
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 Follow from "@/account/index/follow";
import MemberOrderX from "@/account/order/memberOrderX";
import MemberOrderS from "@/account/order/memberOrderS";
import AchievementOrderX from "@/account/order/achievementOrderX";
import AchievementOrderS from "@/account/order/achievementOrderS";
import DemandOrderX from "@/account/order/demandOrderX";
import DemandOrderS from "@/account/order/demandOrderS";
import ProjectOrderX from "@/account/order/projectOrderX";
import ProjectOrderS from "@/account/order/projectOrderS";
import ExpertX from "@/account/order/expertX";
import ExpertS from "@/account/order/expertS";
import AdviserX from "@/account/order/adviserX";
import AdviserS from "@/account/order/adviserS";

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="/follow" component={Follow} />
            <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="/patent" component={Patent} />
            <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} />
            <Route path="/memberOrderX" component={MemberOrderX} />
            <Route path="/memberOrderS" component={MemberOrderS} />
            <Route path="/achievementOrderX" component={AchievementOrderX} />
            <Route path="/achievementOrderS" component={AchievementOrderS} />
            <Route path="/demandOrderX" component={DemandOrderX} />
            <Route path="/demandOrderS" component={DemandOrderS} />
            <Route path="/projectOrderX" component={ProjectOrderX} />
            <Route path="/projectOrderS" component={ProjectOrderS} />
            <Route path="/expertX" component={ExpertX} />
            <Route path="/expertS" component={ExpertS} />
            <Route path="/adviserX" component={AdviserX} />
            <Route path="/adviserS" component={AdviserS} />
        </Router>
      </Content>
    )
  }
}