dev_ec
杨树明 5 years ago
parent 2c16a805a2
commit c8e5faf931

@ -536,7 +536,7 @@ class NewShixunModel extends Component{
className="fl task-hide edu-txt-left mt3" className="fl task-hide edu-txt-left mt3"
name="shixun_homework[]" name="shixun_homework[]"
></Checkbox> ></Checkbox>
<a target="_blank" href={`/shixuns/${item.identifier}/challenges`} className="ml15 fl font-16 color-dark maxwidth1100" <a target="_blank" href={this.props.type==='shixuns'?`/shixuns/${item.identifier}/challenges`:`/paths/${item.id}`} className="ml15 fl font-16 color-dark maxwidth1100"
dangerouslySetInnerHTML={{__html: item.title}} dangerouslySetInnerHTML={{__html: item.title}}
> >
</a> </a>
@ -588,13 +588,19 @@ class NewShixunModel extends Component{
} }
`} `}
</style> </style>
<Breadcrumb separator="|"> {this.props.type==='shixuns'?<Breadcrumb separator="|">
<Breadcrumb.Item>{item.author_name}</Breadcrumb.Item> <Breadcrumb.Item>{item.author_name}</Breadcrumb.Item>
<Breadcrumb.Item>{item.author_school_name}</Breadcrumb.Item> <Breadcrumb.Item>{item.author_school_name}</Breadcrumb.Item>
<Breadcrumb.Item>难度系数{item.level}</Breadcrumb.Item> <Breadcrumb.Item>难度系数{item.level}</Breadcrumb.Item>
<Breadcrumb.Item>学习人数{item.study_count}</Breadcrumb.Item> <Breadcrumb.Item>学习人数{item.study_count}</Breadcrumb.Item>
</Breadcrumb> </Breadcrumb>:
<Breadcrumb separator="|">
<Breadcrumb.Item>{item.author_name}</Breadcrumb.Item>
<Breadcrumb.Item>{item.author_school_name}</Breadcrumb.Item>
<Breadcrumb.Item>学习人数{item.myshixuns_count}</Breadcrumb.Item>
<Breadcrumb.Item>章节{item.stage_count}</Breadcrumb.Item>
<Breadcrumb.Item>实训{item.shixuns_count}</Breadcrumb.Item>
</Breadcrumb>}
</div> </div>
{item.subjects===undefined?"":item.subjects.length===0?"":<Dropdown overlay={()=>this.ItsCourse(item.subjects)}> {item.subjects===undefined?"":item.subjects.length===0?"":<Dropdown overlay={()=>this.ItsCourse(item.subjects)}>
<a className="ant-dropdown-link fl ml30 newshixunfont12 color-blue" > <a className="ant-dropdown-link fl ml30 newshixunfont12 color-blue" >

Loading…
Cancel
Save