dev_oauth
杨树明 6 years ago
parent 9c73ea5b12
commit f394425cfc

@ -228,6 +228,11 @@ class ShixunsHome extends Component {
return(
<div className="square-Item" key={key} id={item.id} style={{width:'286px'}}>
{item.excellent === false ? "" :
<div className="tag-orange">
<span className="tag-name">开放课程</span>
</div>}
<div className="tag-green">
<span className="tag-name"> {item.tag_name}</span>
{/*<img style={{display:item.tag_name===null?"none":'block'}} src={require(`./tag2.png`)}/>*/}

@ -298,7 +298,7 @@ class DetailTop extends Component{
`
}
</style>
{this.props.courses===undefined?"":
{detailInfoList===undefined?"":detailInfoList.excellent === false ? "" :
<span className="pathoranges">
<span className="tag-name mt6 ml10">开放课程</span>
</span>}

Loading…
Cancel
Save