diff --git a/src/forge/Team/List.jsx b/src/forge/Team/List.jsx index c8b781b3..004f2628 100644 --- a/src/forge/Team/List.jsx +++ b/src/forge/Team/List.jsx @@ -106,7 +106,7 @@ function List(props){ } - + ) } diff --git a/src/forge/Team/RightBox.jsx b/src/forge/Team/RightBox.jsx index fea7526a..06731712 100644 --- a/src/forge/Team/RightBox.jsx +++ b/src/forge/Team/RightBox.jsx @@ -36,7 +36,7 @@ const Img = styled.img`{ height:45px; margin-right:12px; }` -function RightBox({ OIdentifier , history }) { +function RightBox({ OIdentifier , history , admin }) { const [ memberData, setMemberData ] = useState(undefined); const [ groupData, setGroupData ] = useState(undefined); @@ -87,7 +87,7 @@ function RightBox({ OIdentifier , history }) { history.push(`/organize/${OIdentifier}/group/new`)}>新建团队} + bottom={admin && } url={`/organize/${OIdentifier}/group`} > { diff --git a/src/forge/Team/TeamGroup.jsx b/src/forge/Team/TeamGroup.jsx index b3d8cd22..a5e5cc92 100644 --- a/src/forge/Team/TeamGroup.jsx +++ b/src/forge/Team/TeamGroup.jsx @@ -12,14 +12,6 @@ const SpanFoot = styled.span`{ margin-right:5px; color:#333 }` -const ALink = styled.a`{ - border:1px solid #F73030; - color:#F73030!important; - height:30px; - line-height:30px; - padding:0px 15px; - border-radius:5px; -}` const ImgContent = styled.img`{ height:44px; width:44px;