|
|
|
@ -526,7 +526,7 @@ class Challenges extends Component {
|
|
|
|
|
</style>:""}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div className="justify break_full_word new_li "
|
|
|
|
|
<div className="justify break_full_word new_li"
|
|
|
|
|
id="challenge_editorMd_description">
|
|
|
|
|
{ChallengesDataList === undefined || ChallengesDataList&&ChallengesDataList.description=== ""||ChallengesDataList&&ChallengesDataList.description===null||ChallengesDataList&&ChallengesDataList.description===undefined?
|
|
|
|
|
<div className="edu-tab-con-box clearfix edu-txt-center">
|
|
|
|
@ -535,7 +535,7 @@ class Challenges extends Component {
|
|
|
|
|
src={getImageUrl("images/educoder/nodata.png")} />}
|
|
|
|
|
<p className="edu-nodata-p mb80">暂时还没有相关数据哦!</p>
|
|
|
|
|
</div>
|
|
|
|
|
:<p id="ReactMarkdown" style={{overflow:'hidden'}}>
|
|
|
|
|
:<p className={"markdown-body"} style={{overflow:'hidden'}}>
|
|
|
|
|
{ChallengesDataList === undefined ? "" :ChallengesDataList&&ChallengesDataList.description===null?"":
|
|
|
|
|
<div className={"markdown-body"} dangerouslySetInnerHTML={{__html: markdownToHTML(ChallengesDataList.description).replace(/▁/g,"▁▁▁")}}></div>
|
|
|
|
|
}
|
|
|
|
@ -745,7 +745,7 @@ class Challenges extends Component {
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className="challengtes_Item">
|
|
|
|
|
<div className="flex1 width0">
|
|
|
|
|
<div className="flex1 width0">
|
|
|
|
|
<div className="clearfix mb5">
|
|
|
|
|
{/*onClick={() => this.EditTraining(this.props.identity, item.challenge_id, "/editquestion")}*/}
|
|
|
|
|
{this.props.identity<5?
|
|
|
|
@ -758,7 +758,7 @@ class Challenges extends Component {
|
|
|
|
|
}
|
|
|
|
|
{/* onClick={() => this.EditTraining(this.props.identity, item.challenge_id, "/editcheckpoint")}*/}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div className="clearfix">
|
|
|
|
@ -779,11 +779,11 @@ class Challenges extends Component {
|
|
|
|
|
</div>
|
|
|
|
|
{
|
|
|
|
|
item.open_game ?
|
|
|
|
|
<a onClick={()=>this.beginChallenge(item.open_game)} className="challengeBtn blue">开启挑战</a>
|
|
|
|
|
<a onClick={()=>this.beginChallenge(item.open_game)} className="challengeBtn blue">开启挑战</a>
|
|
|
|
|
:
|
|
|
|
|
<span className="challengeBtn">开启挑战</span>
|
|
|
|
|
<span className="challengeBtn">开启挑战</span>
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
})}
|
|
|
|
|