|
|
|
@ -14,7 +14,11 @@ class SiderBar extends Component {
|
|
|
|
|
window._initSider();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
trophyreturnfun=()=>{
|
|
|
|
|
this.setState({
|
|
|
|
|
trophyreturn:true
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
render() {
|
|
|
|
|
return (
|
|
|
|
|
<div>
|
|
|
|
@ -51,11 +55,15 @@ class SiderBar extends Component {
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className="-task-sidebars" style={{right: "240px"}}>
|
|
|
|
|
{this.state.trophyreturn===true?"":<div className="-task-sidebars" style={{right: "65x",width: "154px"}}>
|
|
|
|
|
<a onClick={this.trophyreturnfun} id="closeIcon"
|
|
|
|
|
style={{position: "absolute", right: "12px",top:"10px",color: "#000"}}>
|
|
|
|
|
<i className="iconfont icon-shanchudiao"></i>
|
|
|
|
|
</a>
|
|
|
|
|
<a href="/competitions">
|
|
|
|
|
<img src={getImageUrl("images/educoder/competition/lvmeng.png")} width="150px" height="150px" />
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|