mirror of
https://github.com/YMFE/yapi.git
synced 2025-01-06 12:45:22 +08:00
40 lines
909 B
JavaScript
40 lines
909 B
JavaScript
import React, { Component } from 'react';
|
|
import GroupList from './GroupList/GroupList.js';
|
|
import ProjectList from './ProjectList/ProjectList.js';
|
|
import Subnav from '../../components/Subnav/Subnav.js';
|
|
import { Row, Col } from 'antd';
|
|
|
|
import './ProjectGroups.scss'
|
|
|
|
export default class ProjectGroups extends Component {
|
|
constructor(props) {
|
|
super(props)
|
|
}
|
|
|
|
render () {
|
|
return (
|
|
<div>
|
|
<Subnav
|
|
default={'项目广场'}
|
|
data={[{
|
|
name: '项目广场',
|
|
path: '/group'
|
|
}, {
|
|
name: '我的关注',
|
|
path: '/follow'
|
|
}]}/>
|
|
<div className="g-row">
|
|
<Row gutter={16}>
|
|
<Col span={6}>
|
|
<GroupList></GroupList>
|
|
</Col>
|
|
<Col span={18}>
|
|
<ProjectList/>
|
|
</Col>
|
|
</Row>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
}
|