chromesetting
杨树明 5 years ago
parent 6954ebf77e
commit a1bfc9f95a

@ -302,21 +302,21 @@ export default class TPManswer extends Component {
className="color-grey-6 fr font-15 mt3">返回</Link>
{prev_challenge === undefined ? "" :
<a href={prev_challenge} className="fr color-blue mr15 mt4">上一关</a>
<Link to={prev_challenge} className="fr color-blue mr15 mt4">上一关</Link>
}
{next_challenge === undefined ? "" :
<a href={next_challenge} className="fr color-blue mr15 mt4">下一关</a>
<Link to={next_challenge} className="fr color-blue mr15 mt4">下一关</Link>
}
<Link to={practice_url === undefined ? "" : practice_url}
<a href={practice_url === undefined ? "" : practice_url}
className="fr color-blue mr15 mt4"
style={{display:this.props.status===2||this.props.status===1?'none':'block'}}
data-tip-down="新增代码编辑类型的任务">+&nbsp;实践类型</Link>
<Link to={choice_url === undefined ? "" : choice_url}
data-tip-down="新增代码编辑类型的任务">+&nbsp;实践类型</a>
<a href={choice_url === undefined ? "" : choice_url}
className="fr color-blue mr15 mt4"
style={{display:this.props.status===2||this.props.status===1?'none':'block'}}
data-tip-down="新增选择题类型的任务">+&nbsp;选择题类型</Link>
data-tip-down="新增选择题类型的任务">+&nbsp;选择题类型</a>
</div>

@ -265,21 +265,21 @@ export default class TPManswer extends Component {
className="color-grey-6 fr font-15 mt3">返回</Link>
{prev_challenge === undefined ? "" :
<a href={prev_challenge} className="fr color-blue mr15 mt4">上一关</a>
<Link to={prev_challenge} className="fr color-blue mr15 mt4">上一关</Link>
}
{next_challenge === undefined ? "" :
<a href={next_challenge} className="fr color-blue mr15 mt4">下一关</a>
<Link to={next_challenge} className="fr color-blue mr15 mt4">下一关</Link>
}
<Link to={practice_url === undefined ? "" : practice_url}
<a href={practice_url === undefined ? "" : practice_url}
className="fr color-blue mr15 mt4"
style={{display:this.props.status===2||this.props.status===1?'none':'block'}}
data-tip-down="新增代码编辑类型的任务">+&nbsp;实践类型</Link>
<Link to={choice_url === undefined ? "" : choice_url}
data-tip-down="新增代码编辑类型的任务">+&nbsp;实践类型</a>
<a href={choice_url === undefined ? "" : choice_url}
className="fr color-blue mr15 mt4"
style={{display:this.props.status===2||this.props.status===1?'none':'block'}}
data-tip-down="新增选择题类型的任务">+&nbsp;选择题类型</Link>
data-tip-down="新增选择题类型的任务">+&nbsp;选择题类型</a>
</div>

@ -429,10 +429,10 @@ export default class TPMchallengesnew extends Component {
<Link to={go_back_url === undefined ? "" : go_back_url}
className="color-grey-6 fr font-15 mt3">返回</Link>
{ next_challenge===undefined?"":
<a href={next_challenge}className="fr color-blue mr15 mt4">下一关</a>
<Link to={next_challenge}className="fr color-blue mr15 mt4">下一关</Link>
}
{ prev_challenge===undefined?"":
<a href={prev_challenge} className="fr color-blue mr15 mt4">上一关</a>
<Link to={prev_challenge} className="fr color-blue mr15 mt4">上一关</Link>
}

@ -824,21 +824,21 @@ export default class TPMevaluation extends Component {
className="color-grey-6 fr font-15 mt3">返回</Link>
{prev_challenge === undefined ? "" :
<a href={prev_challenge} className="fr color-blue mr15 mt4">上一关</a>
<Link to={prev_challenge} className="fr color-blue mr15 mt4">上一关</Link>
}
{next_challenge === undefined ? "" :
<a href={next_challenge} className="fr color-blue mr15 mt4">下一关</a>
<Link to={next_challenge} className="fr color-blue mr15 mt4">下一关</Link>
}
<Link to={practice_url === undefined ? "" : practice_url}
<a href={practice_url === undefined ? "" : practice_url}
className="fr color-blue mr15 mt4"
style={{display:this.props.identity>4||this.props.identity===undefined||this.props.status===2||this.props.status===1? "none":'block'}}
data-tip-down="新增代码编辑类型的任务">+&nbsp;实践类型</Link>
<Link to={choice_url === undefined ? "" : choice_url}
data-tip-down="新增代码编辑类型的任务">+&nbsp;实践类型</a>
<a href={choice_url === undefined ? "" : choice_url}
className="fr color-blue mr15 mt4"
style={{display:this.props.identity>4||this.props.identity===undefined||this.props.status===2||this.props.status===1?"none":'block'}}
data-tip-down="新增选择题类型的任务">+&nbsp;选择题类型</Link>
data-tip-down="新增选择题类型的任务">+&nbsp;选择题类型</a>
</div>

@ -936,11 +936,11 @@ export default class TPMquestion extends Component {
<Link to={go_back_url === undefined ? "" : go_back_url}
className="color-grey-6 fr font-15 mt3">返回</Link>
{ prev_challenge===undefined?"":
<a href={prev_challenge} className="fr color-blue mr15 mt4">上一关</a>
<Link to={prev_challenge} className="fr color-blue mr15 mt4">上一关</Link>
}
{ next_challenge===undefined?"":
<a href={next_challenge}className="fr color-blue mr15 mt4">下一关</a>
<Link to={next_challenge}className="fr color-blue mr15 mt4">下一关</Link>
}
<a href={practice_url === undefined ? "" : practice_url}

Loading…
Cancel
Save