improve: 方法优化/样式优化

This commit is contained in:
From-wh 2023-02-24 10:52:26 +08:00
parent 08062f6053
commit 2498298970
4 changed files with 9 additions and 4 deletions

View File

@ -34,7 +34,9 @@
.search .select .ivu-select-item {
font-size: 14px !important;
}
.ivu-select-input{
.search .ivu-select-input{
padding-left: 19px;
border-radius: 30px;
background-color: rgba(255,255,255,0.3);
}
</style>

View File

@ -29,7 +29,7 @@
}
a.drop-menu-a {
display: inline-block;
padding: 10px 15px 10px 10px;
padding: 10px 10px;
width: 100%;
text-align: center;
color: #495060;

View File

@ -311,6 +311,7 @@ export default {
display: flex;
align-items: center;
justify-content: center;
width: 75px !important;
}
.side-menu-box {
@ -328,7 +329,7 @@ export default {
}
}
.parent-menu {
z-index: 8;
z-index: 9;
padding: 0 8px;
box-shadow: 2px 0px 4px 0px rgba(0, 0, 0, 0.06);
height: calc(~'100vh - 50px');
@ -342,6 +343,7 @@ export default {
margin-bottom: 8px;
display: flex;
align-items: center;
justify-content: center;
.title {
font-size: 13px;
line-height: 13px;
@ -432,6 +434,7 @@ export default {
}
.title {
font-size: 13px;
line-height: 13px;
white-space: nowrap;
}
}

View File

@ -65,7 +65,7 @@ export { getHeaderName };
* @param {Array} menuList 所有路径
* */
function getHeaderSider(menuList) {
return menuList.filter((item) => item.is_header === 1);
return menuList.filter((item) => item.pid === 0);
}
export { getHeaderSider };