调整login 隐藏右上角用户昵称

dev_home
杨树明 5 years ago
parent 5832e276fe
commit 2b7246d910

@ -6,6 +6,15 @@
transition: all 0.5s;
overflow-y: scroll;
.sidebar-header {
.sidebar-header-logo {
img {
max-width: 130px !important;
max-height: 40px !important;
overflow: hidden;
}
}
}
&::-webkit-scrollbar {
display:none
}

@ -1232,7 +1232,7 @@ submittojoinclass=(value)=>{
</img>
</a>
<ul className="edu-menu-list" style={{top:'60px'}}>
<span className="bor-bottom-greyE currentName task-hide">{user.username}</span>
{/*<span className="bor-bottom-greyE currentName task-hide">{user.username}</span>*/}
{coursestypes===true?"":<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/courses`}>我的课堂</Link></li>}
{/* p 老师 l 学生 */}
{shixuntype===true?"":<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/shixuns`}>我的实训项目</Link></li>}

@ -67,7 +67,7 @@ class Notcompletedysl extends Component {
<div className="educouddiv">
<div className={"tabeltext-alignleft"}><p style={{fontSize: "16px"}}>完善您的资料将获得更多的使用权限</p></div>
<div className="clearfix mt30 edu-txt-center">
<a className="task-btn mr30" onClick={()=>this.modalCancel()}>取消</a>
<a className="task-btn mr30" onClick={()=>this.modalCancel()}>稍后完善</a>
<a className="task-btn task-btn-orange" onClick={()=>this.setDownload()}>立即完善</a>
</div>
</div>

Loading…
Cancel
Save