默认更改列表

project_pack
杨树林 5 years ago
parent cba70fbbd5
commit 87634d9bee

@ -318,7 +318,7 @@ class PackageIndexNEITaskDetails extends Component {
return( return(
<div className="ysldivhomediv1 homehove"> <div className="ysldivhomediv1 homehove">
<img className="div1img" src={item.url}/> <img className="div1img" src={item.url}/>
<div className="textall mt10" title={item.name}>{item.name}</div> <div className="textall mt10" title={item.name}> <p className="ptext">{item.name}</p></div>
<a className="ContacttheTAs fl none"> <a className="ContacttheTAs fl none">
<img alt="头像" className="mr5" src={require('./newstwo.png')}/>联系TA <img alt="头像" className="mr5" src={require('./newstwo.png')}/>联系TA
</a> </a>
@ -359,7 +359,7 @@ class PackageIndexNEITaskDetails extends Component {
<div className="ysldivhomediv1" onClick={()=>this.Clickteacher2(item.id)}> <div className="ysldivhomediv1" onClick={()=>this.Clickteacher2(item.id)}>
{item.bool===true?<img src={gouxuan} className="yslgouxuanimg"/>:<img src={weigouxuan} className="yslgouxuanimg"/>} {item.bool===true?<img src={gouxuan} className="yslgouxuanimg"/>:<img src={weigouxuan} className="yslgouxuanimg"/>}
<img className="div1img" src={item.url}/> <img className="div1img" src={item.url}/>
<span className={item.bool===true?"textall mt10 color-blue":"textall mt10"} title={item.name}>{item.name}</span> <span className={item.bool===true?"textall mt10 color-blue":"textall mt10"} title={item.name}> <p className="ptext">{item.name}</p></span>
</div> </div>
) )
})} })}

@ -13,11 +13,11 @@
} }
.ysldivhomediv1{ .ysldivhomediv1{
width: 75px; width: 80px;
height: 110px; height: 130px;
display: flex; display: flex;
flex-direction:column; flex-direction:column;
margin-left: 53px; margin-left: 48px;
margin-top: 20px; margin-top: 20px;
} }
.yslgouxuanimg{ .yslgouxuanimg{
@ -32,8 +32,8 @@
.div1img{ .div1img{
display: flex; display: flex;
justify-content:center; justify-content:center;
width: 70px; width: 80px;
height: 70px; height: 80px;
border-radius:50%; border-radius:50%;
} }
@ -41,6 +41,10 @@
text-align: center; text-align: center;
font-size: 13px; font-size: 13px;
color: #4B4B4B; color: #4B4B4B;
}
.ptext{
width: 80px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
} }
.ysllogin_section { .ysllogin_section {
display: flex; display: flex;

Loading…
Cancel
Save