|
|
|
@ -334,6 +334,33 @@ class ShixunsHome extends Component {
|
|
|
|
|
.square-Item:nth-child(4n+0) {
|
|
|
|
|
margin-right: 25px;
|
|
|
|
|
}
|
|
|
|
|
.tag-org{
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 0px;
|
|
|
|
|
top: 20px;
|
|
|
|
|
}
|
|
|
|
|
.tag-org-name{
|
|
|
|
|
width:66px;
|
|
|
|
|
height:28px;
|
|
|
|
|
background:#FF6802;
|
|
|
|
|
width:66px;
|
|
|
|
|
height:28px;
|
|
|
|
|
border-radius:0px 20px 20px 0px;
|
|
|
|
|
}
|
|
|
|
|
.tag-org-name-test{
|
|
|
|
|
width:45px;
|
|
|
|
|
height:23px;
|
|
|
|
|
font-size:14px;
|
|
|
|
|
color:#FFFFFF;
|
|
|
|
|
line-height:19px;
|
|
|
|
|
margin-right: 6px;
|
|
|
|
|
}
|
|
|
|
|
.intermediatecenter{
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
@ -345,7 +372,13 @@ class ShixunsHome extends Component {
|
|
|
|
|
<span className="tag-name"> {item.tag_name}</span>
|
|
|
|
|
{/*<img style={{display:item.tag_name===null?"none":'block'}} src={require(`./tag2.png`)}/>*/}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
item.is_jupyter===true?
|
|
|
|
|
<div className="tag-org">
|
|
|
|
|
<p className="tag-org-name intermediatecenter"> <span className="tag-org-name-test">Jupyter</span></p>
|
|
|
|
|
{/*<img style={{display:'block',height: '28px'}} src={require(`./shixunCss/tag2.png`)}/>*/}
|
|
|
|
|
</div>
|
|
|
|
|
:""}
|
|
|
|
|
<div className={item.power === false ? "closeSquare" : "none"}>
|
|
|
|
|
<img src={getImageUrl("images/educoder/icon/lockclose.svg")}
|
|
|
|
|
className="mt80 mb25"/>
|
|
|
|
|