|
|
|
@ -98,11 +98,11 @@ class CompetitionContents extends Component{
|
|
|
|
|
{chart_rules.rule_contents.map((items,keys)=>{
|
|
|
|
|
if(item.id===items.competition_stage_id){
|
|
|
|
|
return(
|
|
|
|
|
<Content key={keys} className={"markdown-body CompetitionContents"} dangerouslySetInnerHTML={{__html: markdownToHTML(items.content).replace(/▁/g, "▁▁▁")}}></Content>
|
|
|
|
|
<Content key={keys} className={"markdown-body "} dangerouslySetInnerHTML={{__html: markdownToHTML(items.content).replace(/▁/g, "▁▁▁")}}></Content>
|
|
|
|
|
)
|
|
|
|
|
}else if(item.id===null&&items.competition_stage_id===0){
|
|
|
|
|
return(
|
|
|
|
|
<Content key={keys} className={"markdown-body CompetitionContents"} dangerouslySetInnerHTML={{__html: markdownToHTML(items.content).replace(/▁/g, "▁▁▁")}}></Content>
|
|
|
|
|
<Content key={keys} className={"markdown-body "} dangerouslySetInnerHTML={{__html: markdownToHTML(items.content).replace(/▁/g, "▁▁▁")}}></Content>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
})}
|
|
|
|
@ -113,10 +113,10 @@ class CompetitionContents extends Component{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Col className="gutter-row Competitioncharts mt30 mb30">总排名</Col>
|
|
|
|
|
<Col className="gutter-row Competitioncharts mt30 mb30">
|
|
|
|
|
{chartdata===undefined?"":chartdata.teams.length===0?<Col className="gutter-row Competitioncharts mt30 mb30 rankbeicenter">
|
|
|
|
|
<img src={getImageUrl(`images/educoder/competitions/trophy.png`)}/>
|
|
|
|
|
<div>要抓住一切机会,向所有人证明你自己,证明你能够迎接荣耀</div>
|
|
|
|
|
</Col>
|
|
|
|
|
<div className={"rankbei mt10"}>要抓住一切机会,向所有人证明你自己,证明你能够迎接荣耀</div>
|
|
|
|
|
</Col>:""}
|
|
|
|
|
<Row calssName={"Competition399"}>
|
|
|
|
|
{chartdata===undefined?"":chartdata.teams.length===0?"":chartdata.teams.map((item,key)=>{
|
|
|
|
|
|
|
|
|
|