mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-15 05:10:47 +08:00
添加样式
This commit is contained in:
parent
c4388bcb2f
commit
9d4939643c
@ -7,9 +7,11 @@ export default class GroupList extends Component {
|
||||
super(props)
|
||||
}
|
||||
|
||||
|
||||
|
||||
render () {
|
||||
return (
|
||||
<Card title="卡片标题">
|
||||
<Card title="Groups">
|
||||
<div>MFE</div>
|
||||
<div>Hotel</div>
|
||||
<div>Train</div>
|
||||
|
@ -1,6 +1,8 @@
|
||||
import React, { Component } from 'react'
|
||||
import GroupList from '../../components/GroupList/GroupList.js'
|
||||
|
||||
import './ProjectGroups.scss'
|
||||
|
||||
export default class ProjectGroups extends Component {
|
||||
constructor(props) {
|
||||
super(props)
|
||||
@ -9,7 +11,9 @@ export default class ProjectGroups extends Component {
|
||||
render () {
|
||||
return (
|
||||
<div>
|
||||
<GroupList></GroupList>
|
||||
<div className="groups-left">
|
||||
<GroupList></GroupList>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
4
client/containers/ProjectGroups/ProjectGroups.scss
Normal file
4
client/containers/ProjectGroups/ProjectGroups.scss
Normal file
@ -0,0 +1,4 @@
|
||||
.groups-left {
|
||||
width: 250px;
|
||||
margin: 20px;
|
||||
}
|
Loading…
Reference in New Issue
Block a user