|
|
|
@ -23,28 +23,25 @@ class ShixunPathCard extends Component{
|
|
|
|
|
|
|
|
|
|
return(
|
|
|
|
|
<div className="squareCard" id={"item_"+key}>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{/* item.tag_name === null ? "" :
|
|
|
|
|
<div className="tag-green">
|
|
|
|
|
<span className="tag-name">{item.tag_name}</span>
|
|
|
|
|
<img src={getImageUrl('images/educoder/tag2.png')}/>
|
|
|
|
|
</div> */}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{/* item.tag_name === null ? "" :
|
|
|
|
|
<div className="tag-green">
|
|
|
|
|
<span className="tag-name">{item.tag_name}</span>
|
|
|
|
|
<img src={getImageUrl('images/educoder/tag2.png')}/>
|
|
|
|
|
</div> */}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
item.excellent === false ? "" :
|
|
|
|
|
<div className="tag_open">
|
|
|
|
|
<span className="tag_open_name">开放课程</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="tag_open">
|
|
|
|
|
<span className="tag_open_name">开放课程</span>
|
|
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
<div className={item.allow_visit=== false ? "closeSquare" : "none"}>
|
|
|
|
|
{/* <div className={item.allow_visit=== false ? "closeSquare" : "none"}>
|
|
|
|
|
<img src={getImageUrl("images/educoder/icon/lockclose.svg")}
|
|
|
|
|
className="mt80 mb25"/>
|
|
|
|
|
<p className="font-14 color-white">非试用内容,需要授权</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div> */}
|
|
|
|
|
|
|
|
|
|
<Link to={"/paths/"+item.id} className="squareImg" >
|
|
|
|
|
{/*target="_blank"*/}
|
|
|
|
|
<img alt="详情图片" src={getImageUrl("/"+item.image_url)}/>
|
|
|
|
|