同上-修改样式
This commit is contained in:
parent
22bf58ea86
commit
df03d09b16
|
@ -14,7 +14,6 @@ import '../../modules/tpm/TPMIndex.css';
|
|||
import CheckProfile from '../Component/ProfileModal/Profile';
|
||||
|
||||
import './header.scss';
|
||||
// TODO 这部分脚本从公共脚本中直接调用
|
||||
const { SubMenu } = Menu
|
||||
|
||||
window._header_componentHandler = null;
|
||||
|
@ -297,7 +296,7 @@ class NewHeader extends Component {
|
|||
<Menu.Item><a href={`${ mygetHelmetapi && mygetHelmetapi.common.zone }/${i.enterpriseIdentifier}`} target='_blank'>{i.enterpriseName}</a></Menu.Item>
|
||||
)
|
||||
})
|
||||
:<Menu.Item>暂无工作台</Menu.Item>
|
||||
:<span>暂无工作台</span>
|
||||
}
|
||||
</SubMenu>
|
||||
<Menu.Item><a onClick={() => this.educoderloginysl()}>退出登录</a></Menu.Item>
|
||||
|
|
|
@ -26,19 +26,28 @@
|
|||
border-radius: 50%;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.subMyworkList {
|
||||
li{
|
||||
max-width: 120px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
&:hover{
|
||||
background-color: #4cacff;
|
||||
a{color: #fff!important;}
|
||||
}
|
||||
a{
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
max-width: 150px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
padding:0px 12px;
|
||||
}
|
||||
}
|
||||
span{
|
||||
display: block;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
padding:0px 12px;
|
||||
&:hover{
|
||||
background-color: #829BFF;
|
||||
a{color: #fff;}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue