|
|
|
@ -327,7 +327,7 @@ class Challenges extends Component {
|
|
|
|
|
|
|
|
|
|
<div className="mt30 pl20 pr20">
|
|
|
|
|
|
|
|
|
|
<p className="clearfix mb30">
|
|
|
|
|
<p className="clearfix mb20">
|
|
|
|
|
<span className="font-16 fl">简介</span>
|
|
|
|
|
<Tooltip placement="bottom" title={"编辑"}>
|
|
|
|
|
<a style={{ display: this.props.identity < 5 && ChallengesDataList&&ChallengesDataList.shixun_status < 3 ? "block" : 'none' }}
|
|
|
|
@ -335,8 +335,35 @@ class Challenges extends Component {
|
|
|
|
|
<img src={getImageUrl("images/educoder/icon/edit.svg")} className="fl mt3 ml2" />
|
|
|
|
|
</a>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
<p className="clearfix mb20">
|
|
|
|
|
{this.props.identity < 5 && ChallengesDataList&&ChallengesDataList.shixun_status=== 0 ?
|
|
|
|
|
<Link to={"/shixuns/" + id + "/challenges/new"}
|
|
|
|
|
className="white-btn edu-greenline-btn fr"
|
|
|
|
|
// data-tip-down="新增代码编辑类型任务"
|
|
|
|
|
>
|
|
|
|
|
<Tooltip placement="bottom" title={"新增代码编辑类型任务"}>
|
|
|
|
|
<img src={getImageUrl("images/educoder/icon/addsmallgreen.svg")}
|
|
|
|
|
className="fl mr5 mt6" />
|
|
|
|
|
实践任务
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
|
|
</Link> : ""
|
|
|
|
|
}
|
|
|
|
|
{this.props.identity < 5 && ChallengesDataList&&ChallengesDataList.shixun_status=== 0 ?
|
|
|
|
|
<Link to={"/shixuns/" + id + "/challenges/newquestion"}
|
|
|
|
|
className="white-btn edu-greenline-btn fr mr20"
|
|
|
|
|
// data-tip-down="新增选择题类型任务"
|
|
|
|
|
>
|
|
|
|
|
<Tooltip placement="bottom" title={"新增选择题类型任务"}>
|
|
|
|
|
<img src={getImageUrl("images/educoder/icon/addsmallgreen.svg")}
|
|
|
|
|
className="fl mr5 mt5" />
|
|
|
|
|
选择题任务
|
|
|
|
|
</Tooltip>
|
|
|
|
|
</Link> : ""
|
|
|
|
|
}
|
|
|
|
|
</p>
|
|
|
|
|
<div className="justify break_full_word new_li "
|
|
|
|
|
id="challenge_editorMd_description">
|
|
|
|
|
<p id="ReactMarkdown" style={{overflow:'hidden'}}>
|
|
|
|
|