dev_oauth
杨树明 6 years ago
parent 7cd46bc3ea
commit 83b08d232d

@ -13,6 +13,27 @@ class ShixunPathCard extends Component{
let {pathList}=this.props;
return(
<div className="educontent" id="subjects_list_content">
<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>
{
pathList && pathList.length > 0 ?
(
@ -87,23 +108,3 @@ class ShixunPathCard extends Component{
}
export default ShixunPathCard;
//
// {/*<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>*/}
Loading…
Cancel
Save