| | |
| | | backgroundColor="var(--left-menu-bg-color)" |
| | | textColor="var(--left-menu-text-color)" |
| | | activeTextColor="var(--left-menu-text-active-color)" |
| | | popperClass={ |
| | | unref(menuMode) === 'vertical' |
| | | ? `${prefixCls}-popper--vertical` |
| | | : `${prefixCls}-popper--horizontal` |
| | | } |
| | | onSelect={menuSelect} |
| | | > |
| | | {{ |
| | |
| | | } |
| | | } |
| | | |
| | | // 垂直菜单 |
| | | &__vertical { |
| | | :deep(.#{$elNamespace}-menu--vertical) { |
| | | &:not(.#{$elNamespace}-menu--collapse) .#{$elNamespace}-sub-menu__title, |
| | | .#{$elNamespace}-menu-item { |
| | | padding-right: 0; |
| | | } |
| | | } |
| | | } |
| | | |
| | | // 水平菜单 |
| | | &__horizontal { |
| | | height: calc(var(--top-tool-height)) !important; |