|
|
|
@ -357,7 +357,7 @@ class ShixunhomeWorkItem extends Component{
|
|
|
|
|
color:#fff !important;
|
|
|
|
|
}
|
|
|
|
|
.newhomepagePostSettingname{
|
|
|
|
|
width: 274px !important;
|
|
|
|
|
width: 205px !important;
|
|
|
|
|
}
|
|
|
|
|
.newwidthSettin{
|
|
|
|
|
width:255px !important;
|
|
|
|
@ -365,16 +365,22 @@ class ShixunhomeWorkItem extends Component{
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
{this.props.isAdmin?<span onClick={(event)=>this.stopPro(event)} className={discussMessage&&discussMessage.shixun_status>1?this.props.isAdminOrCreator()?"homepagePostSetting newhomepagePostSettingname":"homepagePostSetting homepagePostSettingbox":"homepagePostSetting newwidthSettin"} style={{"right":"-2px","top":"6px","display":"block"}}>
|
|
|
|
|
{discussMessage&&discussMessage.shixun_status>1?<a onClick={()=>this.hrefjumpskip("/courses/"+this.props.match.params.coursesId+"/"+this.state.shixuntypes+"/"+discussMessage.homework_id+"/list?tab=0")} className="btn colorblue font-16 fontweight400 mr20">查看详情</a>:""}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{/*to={`/courses/${this.props.match.params.coursesId}/${discussMessage.homework_id}/jobsettings`}*/}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{this.props.isAdmin?<span onClick={(event)=>this.stopPro(event)} className={discussMessage&&discussMessage.shixun_status>1?this.props.isAdminOrCreator()?" newhomepagePostSettingname fr":" homepagePostSettingbox fr":" newwidthSettin fr"} style={{"right":"-2px","top":"6px","display":"block"}}>
|
|
|
|
|
{discussMessage&&discussMessage.shixun_status>1?<Link className="btn colorblue font-16 fontweight400 mr20" to={"/shixuns/"+discussMessage.shixun_identifier+"/challenges"} target={"_blank"}>实训详情</Link>:
|
|
|
|
|
<a className={"btn colorfff font-16 fontweight400"}>实训详情</a>
|
|
|
|
|
<a className={"btn colorfff font-16 fontweight400 "}>实训详情</a>
|
|
|
|
|
}
|
|
|
|
|
{discussMessage&&discussMessage.shixun_status>1?"":<a onClick={()=>this.hrefjumpskip("/courses/"+this.props.match.params.coursesId+"/"+this.state.shixuntypes+"/"+discussMessage.homework_id+"/list?tab=0")} className="btn colorblue font-16 fontweight400 mr20">查看详情</a>}
|
|
|
|
|
|
|
|
|
|
{this.props.isAdminOrCreator()?<a onClick={(event)=>this.editname(discussMessage.name,discussMessage.homework_id,event)} className={"btn colorblue font-16 fontweight400"}>重命名</a>:""}
|
|
|
|
|
|
|
|
|
|
{this.props.isAdminOrCreator()?<a onClick={(event)=>this.editname(discussMessage.name,discussMessage.homework_id,event)} className={"btn colorblue font-16 fontweight400 "}>重命名</a>:""}
|
|
|
|
|
{/*<WordsBtn className="btn colorblue ml20 font-16" to={`/courses/${this.props.match.params.coursesId}/${this.state.shixuntypes}/${discussMessage.homework_id}/settings?tab=3`} > 设置</WordsBtn>*/}
|
|
|
|
|
<WordsBtn className="btn colorblue font-16 ml15 fontweight400" to={`/courses/${this.props.match.params.coursesId}/${this.state.shixuntypes}/${discussMessage.homework_id}/settings?tab=3`} > 设置</WordsBtn>
|
|
|
|
|
<WordsBtn className="btn colorblue font-16 ml15 fontweight400 " to={`/courses/${this.props.match.params.coursesId}/${this.state.shixuntypes}/${discussMessage.homework_id}/settings?tab=3`} > 设置</WordsBtn>
|
|
|
|
|
</span>:""}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -393,13 +399,18 @@ class ShixunhomeWorkItem extends Component{
|
|
|
|
|
</WordsBtn>:"":"":"":""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{ this.props.isAdmin?<a onClick={()=>this.hrefjumpskip("/courses/"+this.props.match.params.coursesId+"/"+this.state.shixuntypes+"/"+discussMessage.homework_id+"/list?tab=0")} className="btn colorblue font-16 fontweight400 mr20 fr">查看详情</a>:""}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
this.props.isStudent? <a onClick={()=>this.hrefjumpskip("/courses/"+this.props.match.params.coursesId+"/"+this.state.shixuntypes+"/"+discussMessage.homework_id+"/list?tab=0")} className="btn colorblue font-16 fontweight400 mr20 fr mt2">查看详情</a>:""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{this.props.isStudent===true?this.props.course_identity===5?
|
|
|
|
|
<a onClick={()=>this.hrefjumpskip("/courses/"+this.props.match.params.coursesId+"/"+this.state.shixuntypes+"/"+discussMessage.homework_id+"/list?tab=0")}
|
|
|
|
|
className="btn colorblue colorblue font-16 mr20 fr mt2">查看详情</a>
|
|
|
|
|
:"":""
|
|
|
|
|
{
|
|
|
|
|
this.props.isNotMember===true? this.props.discussMessage.private_icon===true?""
|
|
|
|
|
:<a onClick={()=>this.hrefjumpskip("/courses/"+this.props.match.params.coursesId+"/"+this.state.shixuntypes+"/"+discussMessage.homework_id+"/list?tab=0")} className="btn colorblue font-16 fontweight400 mr20 fr">查看详情</a>:""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</h6>
|
|
|
|
|
|
|
|
|
|
<div className="cl"></div>
|
|
|
|
|