dev_auth
杨树明 5 years ago
parent b918096d64
commit 31d8afe13e

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

@ -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"} dangerouslySetInnerHTML={{__html: markdownToHTML(items.content).replace(/▁/g, "▁▁▁")}}></Content>
<Content key={keys} className={"markdown-body CompetitionContents"} 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"} dangerouslySetInnerHTML={{__html: markdownToHTML(items.content).replace(/▁/g, "▁▁▁")}}></Content>
<Content key={keys} className={"markdown-body CompetitionContents"} dangerouslySetInnerHTML={{__html: markdownToHTML(items.content).replace(/▁/g, "▁▁▁")}}></Content>
)
}
})}
@ -112,8 +112,11 @@ class CompetitionContents extends Component{
</Tabs>}
{chartdata===undefined?"":chartdata.teams.length===0?"":<Col className="gutter-row Competitioncharts mt30 mb30">总排名</Col>}
<Col className="gutter-row Competitioncharts mt30 mb30">总排名</Col>
<Col className="gutter-row Competitioncharts mt30 mb30">
<img src={getImageUrl(`images/educoder/competitions/trophy@2x.png`)}/>
<div>要抓住一切机会向所有人证明你自己证明你能够迎接荣耀</div>
</Col>
<Row calssName={"Competition399"}>
{chartdata===undefined?"":chartdata.teams.length===0?"":chartdata.teams.map((item,key)=>{

Loading…
Cancel
Save