|
|
|
@ -314,6 +314,7 @@ class DetailCards extends Component{
|
|
|
|
|
showparagraphindex
|
|
|
|
|
}=this.state;
|
|
|
|
|
const antIcon = <Icon type="loading" style={{ fontSize: 24 }} spin />;
|
|
|
|
|
|
|
|
|
|
return(
|
|
|
|
|
<div>
|
|
|
|
|
<Modals
|
|
|
|
@ -363,6 +364,19 @@ class DetailCards extends Component{
|
|
|
|
|
</div>
|
|
|
|
|
</Spin>
|
|
|
|
|
</Modal>
|
|
|
|
|
<style>
|
|
|
|
|
{
|
|
|
|
|
`
|
|
|
|
|
.lessonvalue{
|
|
|
|
|
max-width: 556px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<div className="lesson-saved-list">
|
|
|
|
|
{
|
|
|
|
|
pathCardsList && pathCardsList.map((item,key)=>{
|
|
|
|
@ -374,7 +388,7 @@ class DetailCards extends Component{
|
|
|
|
|
<a className="fl ring-blue mr10 mt2">
|
|
|
|
|
<img src={getImageUrl("images/educoder/icon/charpter-white.svg")} className="fl ml3 mt3"/>
|
|
|
|
|
</a>
|
|
|
|
|
<span className="font-18 font-bd">{item.stage_name}</span>
|
|
|
|
|
<span className="font-18 font-bd lessonvalue" title={item.stage_name}>{item.stage_name}</span>
|
|
|
|
|
{
|
|
|
|
|
idsum===key&&pathCardsedittype===true?'':
|
|
|
|
|
|
|
|
|
@ -442,13 +456,13 @@ class DetailCards extends Component{
|
|
|
|
|
:<i className="iconfont icon-bofang progressRing-part font-18 mt10"></i>
|
|
|
|
|
}
|
|
|
|
|
</span>
|
|
|
|
|
<span className={line.shixun_status==="暂未公开"?"paragraph_name color204":"paragraph_name color-grey3"}>
|
|
|
|
|
<span className={this.props.current_user&&this.props.current_user.admin===false&&line.shixun_status==="暂未公开"?"paragraph_name color204":"paragraph_name color-grey3"}>
|
|
|
|
|
<span className="subject_stage_shixun_index">{key+1}</span>-{index+1} {line.shixun_name}
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
{
|
|
|
|
|
line.shixun_status==="暂未公开"?
|
|
|
|
|
this.props.current_user&&this.props.current_user.admin===false&&line.shixun_status==="暂未公开"?
|
|
|
|
|
<li className="fr status_li"><span className="fr color204">暂未公开</span></li>
|
|
|
|
|
:
|
|
|
|
|
<li className={showparagraph===false?"none":"fr status_li"}>
|
|
|
|
|