|
|
|
@ -471,13 +471,41 @@ class DetailCards extends Component{
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
{this.props.current_user&&this.props.current_user.admin===true||this.props.current_user&&this.props.current_user.business===true?
|
|
|
|
|
item.shixuns_list && item.shixuns_list.map((line,index)=>{
|
|
|
|
|
return(
|
|
|
|
|
<div className="clearfix paragraph lineh-30" onMouseEnter={()=>this.showparagraph(key,index)} onMouseLeave={this.hideparagraph}>
|
|
|
|
|
|
|
|
|
|
<li className="fl li-width63">
|
|
|
|
|
|
|
|
|
|
<span className="progressRing mr10">
|
|
|
|
|
{
|
|
|
|
|
line.complete_status === 1 ?<i className="iconfont icon-wancheng progressRing-over font-18 mt10"></i>
|
|
|
|
|
:<i className="iconfont icon-bofang progressRing-part font-18 mt10"></i>
|
|
|
|
|
}
|
|
|
|
|
</span>
|
|
|
|
|
<span className={"paragraph_name color-grey3"}>
|
|
|
|
|
<span className="subject_stage_shixun_index">{key+1}</span>-{index+1} {line.shixun_name}
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li className={showparagraph===false?"none":"fr status_li"}>
|
|
|
|
|
{
|
|
|
|
|
showparagraphkey===key&&showparagraphindex===index?<div>
|
|
|
|
|
<Link to={'/shixuns/'+line.identifier+'/challenges'} className="mr30 color-blue_4C shixun_detail pointer fl" target="_blank">查看详情</Link>
|
|
|
|
|
</div>:""
|
|
|
|
|
}
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</div>)
|
|
|
|
|
}):item.shixuns_list && item.shixuns_list.map((line,index)=>{
|
|
|
|
|
return(
|
|
|
|
|
<div className="clearfix paragraph lineh-30" onMouseEnter={()=>this.showparagraph(key,index)} onMouseLeave={this.hideparagraph}>
|
|
|
|
|
|
|
|
|
|
<li className="fl li-width63">
|
|
|
|
|
|
|
|
|
|
<span className="progressRing mr10">
|
|
|
|
|
{
|
|
|
|
|
line.complete_status === 1 ?<i className="iconfont icon-wancheng progressRing-over font-18 mt10"></i>
|
|
|
|
|