|
|
@ -78,13 +78,13 @@ class PersonalCompetititem extends React.Component {
|
|
|
|
<img className="regitemimg2" src={getImageUrl("images/" + item.creator.image_url)}>
|
|
|
|
<img className="regitemimg2" src={getImageUrl("images/" + item.creator.image_url)}>
|
|
|
|
|
|
|
|
|
|
|
|
</img>
|
|
|
|
</img>
|
|
|
|
<p className="" style={{
|
|
|
|
<a className="maxnamewidth78" title={item.creator.name} style={{
|
|
|
|
color: "#999999",
|
|
|
|
color: "#999999",
|
|
|
|
fontSize: "14px",
|
|
|
|
fontSize: "14px",
|
|
|
|
width: "78px",
|
|
|
|
width: "78px",
|
|
|
|
textAlign: "center"
|
|
|
|
textAlign: "center"
|
|
|
|
|
|
|
|
|
|
|
|
}}>{item.creator.name}</p>
|
|
|
|
}}>{item.creator.name}</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div className=" " style={{
|
|
|
|
<div className=" " style={{
|
|
|
|
marginTop: "29px",
|
|
|
|
marginTop: "29px",
|
|
|
@ -104,7 +104,7 @@ class PersonalCompetititem extends React.Component {
|
|
|
|
marginLeft: "37px",
|
|
|
|
marginLeft: "37px",
|
|
|
|
display: "flex",
|
|
|
|
display: "flex",
|
|
|
|
flexDirection: "initial",
|
|
|
|
flexDirection: "initial",
|
|
|
|
width: "357px"
|
|
|
|
width: "340px"
|
|
|
|
}}>
|
|
|
|
}}>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
item && item.team_members.map((item, index) => {
|
|
|
|
item && item.team_members.map((item, index) => {
|
|
|
@ -310,12 +310,21 @@ class PersonalCompetititem extends React.Component {
|
|
|
|
lineHeight: "39px",
|
|
|
|
lineHeight: "39px",
|
|
|
|
}}>战队详情</a>
|
|
|
|
}}>战队详情</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div className="regitemimgs555" onClick={() => this.props.Exittheteamshow(item.id, false)}>
|
|
|
|
<div className="regitemimgs555"
|
|
|
|
<p onClick={() => this.props.Exittheteamshow(item.id, false)}>删除战队</p>
|
|
|
|
style={item.manage_permission === true ? {display: "block"} : {display: "none"}}
|
|
|
|
|
|
|
|
onClick={() => this.props.Exittheteamshow(item.id, true)}>
|
|
|
|
|
|
|
|
<p onClick={() => this.props.Exittheteamshow(item.id, true)}>删除战队</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div className="regitemimgs6" onClick={() => this.props.Createateamedit(item)}>
|
|
|
|
<div className="regitemimgs6"
|
|
|
|
|
|
|
|
style={item.manage_permission === true ? {display: "block"} : {display: "none"}}
|
|
|
|
|
|
|
|
onClick={() => this.props.Createateamedit(item)}>
|
|
|
|
<p onClick={() => this.props.Createateamedit(item)}>编辑战队</p>
|
|
|
|
<p onClick={() => this.props.Createateamedit(item)}>编辑战队</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div className="regitemimgs6"
|
|
|
|
|
|
|
|
style={item.manage_permission === true ? {display: "none"} : {display: "block"}}
|
|
|
|
|
|
|
|
onClick={() => this.props.Exittheteamshow(item.id, false)}>
|
|
|
|
|
|
|
|
<p onClick={() => this.props.Exittheteamshow(item.id, false)}>退出战队</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
:
|
|
|
|
:
|
|
|
@ -325,12 +334,21 @@ class PersonalCompetititem extends React.Component {
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
<div className="regitemimgs5" onClick={() => this.props.Exittheteamshow(item.id, false)}>
|
|
|
|
<div className="regitemimgs5"
|
|
|
|
<p onClick={() => this.props.Exittheteamshow(item.id, false)}>删除战队</p>
|
|
|
|
style={item.manage_permission === true ? {display: "block"} : {display: "none"}}
|
|
|
|
|
|
|
|
onClick={() => this.props.Exittheteamshow(item.id, true)}>
|
|
|
|
|
|
|
|
<p onClick={() => this.props.Exittheteamshow(item.id, true)}>删除战队</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div className="regitemimgs6" onClick={() => this.props.Createateamedit(item)}>
|
|
|
|
<div className="regitemimgs6"
|
|
|
|
|
|
|
|
style={item.manage_permission === true ? {display: "block"} : {display: "none"}}
|
|
|
|
|
|
|
|
onClick={() => this.props.Createateamedit(item)}>
|
|
|
|
<p onClick={() => this.props.Createateamedit(item)}>编辑战队</p>
|
|
|
|
<p onClick={() => this.props.Createateamedit(item)}>编辑战队</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div className="regitemimgs6"
|
|
|
|
|
|
|
|
style={item.manage_permission === true ? {display: "none"} : {display: "block"}}
|
|
|
|
|
|
|
|
onClick={() => this.props.Exittheteamshow(item.id, false)}>
|
|
|
|
|
|
|
|
<p onClick={() => this.props.Exittheteamshow(item.id, false)}>退出战队</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
@ -350,12 +368,21 @@ class PersonalCompetititem extends React.Component {
|
|
|
|
lineHeight: "39px",
|
|
|
|
lineHeight: "39px",
|
|
|
|
}}>战队详情</a>
|
|
|
|
}}>战队详情</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div className="regitemimgs555" onClick={() => this.props.Exittheteamshow(item.id, false)}>
|
|
|
|
<div className="regitemimgs555"
|
|
|
|
<p onClick={() => this.props.Exittheteamshow(item.id, false)}>删除战队</p>
|
|
|
|
style={item.manage_permission === true ? {display: "block"} : {display: "none"}}
|
|
|
|
|
|
|
|
onClick={() => this.props.Exittheteamshow(item.id, true)}>
|
|
|
|
|
|
|
|
<p onClick={() => this.props.Exittheteamshow(item.id, true)}>删除战队</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div className="regitemimgs6" onClick={() => this.props.Createateamedit(item)}>
|
|
|
|
<div className="regitemimgs6"
|
|
|
|
|
|
|
|
style={item.manage_permission === true ? {display: "block"} : {display: "none"}}
|
|
|
|
|
|
|
|
onClick={() => this.props.Createateamedit(item)}>
|
|
|
|
<p onClick={() => this.props.Createateamedit(item)}>编辑战队</p>
|
|
|
|
<p onClick={() => this.props.Createateamedit(item)}>编辑战队</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div className="regitemimgs6"
|
|
|
|
|
|
|
|
style={item.manage_permission === true ? {display: "none"} : {display: "block"}}
|
|
|
|
|
|
|
|
onClick={() => this.props.Exittheteamshow(item.id, false)}>
|
|
|
|
|
|
|
|
<p onClick={() => this.props.Exittheteamshow(item.id, false)}>退出战队</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
:
|
|
|
|
:
|
|
|
|
<div className="regitemimgs444 "
|
|
|
|
<div className="regitemimgs444 "
|
|
|
@ -363,12 +390,21 @@ class PersonalCompetititem extends React.Component {
|
|
|
|
marginLeft: "32px",
|
|
|
|
marginLeft: "32px",
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div className="regitemimgs5" onClick={() => this.props.Exittheteamshow(item.id, false)}>
|
|
|
|
<div className="regitemimgs5"
|
|
|
|
<p onClick={() => this.props.Exittheteamshow(item.id, false)}>删除战队</p>
|
|
|
|
style={item.manage_permission === true ? {display: "block"} : {display: "none"}}
|
|
|
|
|
|
|
|
onClick={() => this.props.Exittheteamshow(item.id, true)}>
|
|
|
|
|
|
|
|
<p onClick={() => this.props.Exittheteamshow(item.id, true)}>删除战队</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div className="regitemimgs6" onClick={() => this.props.Createateamedit(item)}>
|
|
|
|
<div className="regitemimgs6"
|
|
|
|
|
|
|
|
style={item.manage_permission === true ? {display: "block"} : {display: "none"}}
|
|
|
|
|
|
|
|
onClick={() => this.props.Createateamedit(item)}>
|
|
|
|
<p onClick={() => this.props.Createateamedit(item)}>编辑战队</p>
|
|
|
|
<p onClick={() => this.props.Createateamedit(item)}>编辑战队</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div className="regitemimgs6"
|
|
|
|
|
|
|
|
style={item.manage_permission === true ? {display: "none"} : {display: "block"}}
|
|
|
|
|
|
|
|
onClick={() => this.props.Exittheteamshow(item.id, false)}>
|
|
|
|
|
|
|
|
<p onClick={() => this.props.Exittheteamshow(item.id, false)}>退出战队</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
:
|
|
|
|
:
|
|
|
|