add groups

This commit is contained in:
zwjamnsss 2017-07-10 20:26:49 +08:00
parent ab09d3a3e7
commit a21ff2a3ce
5 changed files with 40 additions and 7 deletions

View File

@ -0,0 +1,22 @@
import React, { Component } from 'react'
import { Card } from 'antd'
import './GroupList.scss'
export default class GroupList extends Component {
constructor(props) {
super(props)
}
render () {
return (
<Card title="卡片标题">
<div>MFE</div>
<div>Hotel</div>
<div>Train</div>
<div>Flight</div>
<div>Pay</div>
<div>Vacation</div>
</Card>
)
}
}

View File

@ -1,5 +1,16 @@
import React from 'react'
import React, { Component } from 'react'
import GroupList from '../../components/GroupList/GroupList.js'
export default _ => {
return <p>fadsfads</p>
}
export default class ProjectGroups extends Component {
constructor(props) {
super(props)
}
render () {
return (
<div>
<GroupList></GroupList>
</div>
)
}
}

View File

@ -6,4 +6,4 @@ export {
Home,
Login,
ProjectGroups
}
}

View File

@ -1,5 +1,5 @@
import React from 'react'
import { BrowserRouter as Router, Route, Link, HashRouter } from 'react-router-dom'
import { Route, HashRouter, Redirect } from 'react-router-dom'
import { Home, Login, ProjectGroups } from './containers/index'
export default store => {
@ -12,4 +12,4 @@ export default store => {
</div>
</HashRouter>
)
}
}