mod: 删除无用代码

This commit is contained in:
kailong321200875 2023-12-27 10:02:29 +08:00
parent b34aeba10a
commit d2c61e9f40
1 changed files with 0 additions and 45 deletions

View File

@ -123,30 +123,10 @@ export default defineComponent({
<style lang="less" scoped>
@prefix-cls: ~'@{namespace}-menu';
// .is-active--after {
// position: absolute;
// top: 0;
// right: 0;
// width: 4px;
// height: 100%;
// background-color: var(--el-color-primary);
// content: '';
// }
.@{prefix-cls} {
position: relative;
transition: width var(--transition-time-02);
// &:after {
// position: absolute;
// top: 0;
// right: 0;
// height: 100%;
// width: 1px;
// background-color: var(--el-border-color);
// content: '';
// }
:deep(.@{elNamespace}-menu) {
width: 100% !important;
border-right: none;
@ -155,7 +135,6 @@ export default defineComponent({
.is-active {
& > .@{elNamespace}-sub-menu__title {
color: var(--left-menu-text-active-color) !important;
// background-color: var(--left-menu-bg-color) !important;
}
}
@ -180,10 +159,6 @@ export default defineComponent({
.@{elNamespace}-menu-item.is-active {
position: relative;
// &:after {
// .is-active--after;
// }
}
//
@ -203,16 +178,11 @@ export default defineComponent({
& > .is-active > .@{elNamespace}-sub-menu__title {
position: relative;
background-color: var(--left-menu-collapse-bg-active-color) !important;
// &:after {
// .is-active--after;
// }
}
}
//
:deep(.horizontal-collapse-transition) {
// transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out !important;
.@{prefix-cls}__title {
display: none;
}
@ -254,23 +224,12 @@ export default defineComponent({
<style lang="less">
@prefix-cls: ~'@{namespace}-menu-popper';
// .is-active--after {
// position: absolute;
// top: 0;
// right: 0;
// width: 4px;
// height: 100%;
// background-color: var(--el-color-primary);
// content: '';
// }
.@{prefix-cls}--vertical,
.@{prefix-cls}--horizontal {
//
.is-active {
& > .el-sub-menu__title {
color: var(--left-menu-text-active-color) !important;
// background-color: var(--left-menu-bg-color) !important;
}
}
@ -291,10 +250,6 @@ export default defineComponent({
&:hover {
background-color: var(--left-menu-bg-active-color) !important;
}
// &:after {
// .is-active--after;
// }
}
}
</style>