同上-修改样式

This commit is contained in:
caishi 2024-07-19 09:10:24 +08:00
parent 22bf58ea86
commit df03d09b16
2 changed files with 18 additions and 10 deletions

View File

@ -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>

View File

@ -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;}
}
}
}