forked from Gitlink/forgeplus-react
超算会员样式
This commit is contained in:
parent
e71b637251
commit
fa1692287b
|
|
@ -139,7 +139,7 @@ function Member(props) {
|
|||
<div className='zoneMI_img'>
|
||||
<Link to={`/${member.login}`} ><img src={member.imageUrl} alt="" width={80} height={80}/></Link>
|
||||
</div>
|
||||
<div className='zoneMI_name'>{member.name}</div>
|
||||
<div className='zoneMI_name task-hide' title={member.name}>{member.name}</div>
|
||||
<div>{member.memberLevel && <span className="card_tag">{member.memberLevel}</span> }</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -85,18 +85,24 @@ function CustomVip(props){
|
|||
}
|
||||
setApplyVisible(!applyVisible)
|
||||
}
|
||||
const nsccTitle = (title, delay=0.1, classname)=> <div className={`project-cate-title fadeInChar ${classname}`}>
|
||||
{title && title.split("").map((char, index) => (
|
||||
<span key={index} className="title-char" style={{ animationDelay: `${delay + index * 0.1}s` }}>
|
||||
{char}
|
||||
</span>
|
||||
))}
|
||||
const nsccTitle = (title, delay = 0.1, classname, emptyIndex) => <div className={`project-cate-title fadeInChar ${classname}`}>
|
||||
{title && title.split("").map((char, index) => {
|
||||
return (
|
||||
<>
|
||||
<span key={index} className="title-char" style={{ animationDelay: `${delay + index * 0.1}s` }}>
|
||||
{char}
|
||||
</span>
|
||||
{emptyIndex && index === emptyIndex - 1 && <span className="title-char" style={{ width: "20px" }}></span>}
|
||||
</>
|
||||
)
|
||||
}
|
||||
)}
|
||||
</div>
|
||||
return(
|
||||
<div className='customvipBox customPublic'>
|
||||
<MemberApply visible={applyVisible} onOk={ onOk } onCancel={() => setApplyVisible(!applyVisible)} current_user={props.current_user}/>
|
||||
<div className={`width1600`}>
|
||||
{ nsccTitle(sectionMemberTitle) }
|
||||
{ nsccTitle(`社区会员` + "聚力前行", 0.1, "", 4) }
|
||||
<div className="statistics-cards-bc">
|
||||
<div className="statistics-cards">{tempConfig[temp].vipDesc}</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -2319,6 +2319,9 @@
|
|||
font-family:alibaba;
|
||||
height:25px;
|
||||
line-height:25px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue