|
|
|
@ -22,23 +22,34 @@ class ShixunPathCard extends Component{
|
|
|
|
|
|
|
|
|
|
return(
|
|
|
|
|
<div className="square-Item" id={"item_"+key}>
|
|
|
|
|
{/*<style>*/}
|
|
|
|
|
{/*{*/}
|
|
|
|
|
{/*`*/}
|
|
|
|
|
{/*.tag-green{*/}
|
|
|
|
|
{/*position: absolute;*/}
|
|
|
|
|
{/*left: 15px;*/}
|
|
|
|
|
{/*bottom: 95px;}*/}
|
|
|
|
|
{/*.tag-green .tag-name{display: block;width: auto;*/}
|
|
|
|
|
{/*/*background-image: url("/images/educoder/tag1.png");*/*/}
|
|
|
|
|
{/*background: #000000;*/}
|
|
|
|
|
{/*border: 1px solid #fff;*/}
|
|
|
|
|
{/*border-radius: 3px;*/}
|
|
|
|
|
{/*font-size: 14px;*/}
|
|
|
|
|
{/*background-size: 100% 100%;padding: 0px 8px;color: #fff;float: left;}*/}
|
|
|
|
|
{/*.tag-orange{position: absolute;right: 0px;top:20px;}*/}
|
|
|
|
|
{/*.tag-orange .tag-name{display: block;width: auto;background-color:#FF6800;background-size: 100% 100%;padding: 0px 8px;color: #fff;float: left;}*/}
|
|
|
|
|
{/*`*/}
|
|
|
|
|
{/*}*/}
|
|
|
|
|
{/*</style>*/}
|
|
|
|
|
{
|
|
|
|
|
item.tag_name === null ? "" :
|
|
|
|
|
<div className="tag-green">
|
|
|
|
|
<span className="tag-name">{item.tag_name}</span>
|
|
|
|
|
<img src={getImageUrl('images/educoder/tag2.png')}/>
|
|
|
|
|
{/*<img src={getImageUrl('images/educoder/tag2.png')}/>*/}
|
|
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
{
|
|
|
|
|
`
|
|
|
|
|
.tag-orange{position: absolute;right: 0px;top:20px;}
|
|
|
|
|
.tag-orange .tag-name{display: block;width: auto;background-color:#FF6800;background-size: 100% 100%;padding: 0px 8px;color: #fff;float: left;}
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
{
|
|
|
|
|
item.excellent === true ? "" :
|
|
|
|
|
<div className="tag-orange">
|
|
|
|
@ -53,7 +64,7 @@ class ShixunPathCard extends Component{
|
|
|
|
|
</div>
|
|
|
|
|
<Link to={"/paths/"+item.id} className="square-img" >
|
|
|
|
|
{/*target="_blank"*/}
|
|
|
|
|
<img alt="13?1543211263" src={"/"+item.image_url} style={{"display":"block"}}/>
|
|
|
|
|
<img alt="详情图片" src={"/"+item.image_url} style={{"display":"block"}}/>
|
|
|
|
|
</Link>
|
|
|
|
|
<div className="square-main">
|
|
|
|
|
<p className="task-hide">
|
|
|
|
|