diff --git a/src/modules/base/pages/main/components/bmenu.tsx b/src/modules/base/pages/main/components/bmenu.tsx
index 08a874f..22428e5 100644
--- a/src/modules/base/pages/main/components/bmenu.tsx
+++ b/src/modules/base/pages/main/components/bmenu.tsx
@@ -1,4 +1,4 @@
-import { defineComponent, h, VNode } from "vue";
+import { defineComponent, h } from "vue";
import { useBase, Menu } from "/$/base";
import { useCool } from "/@/cool";
@@ -28,12 +28,12 @@ export default defineComponent({
.filter((e) => e.isShow)
.map((e) => {
const item = (e: Menu.Item) => {
- return (
-
+ return [
+
- {e.meta?.label}
-
- );
+ ,
+ {e.meta?.label}
+ ];
};
if (e.type == 0) {
@@ -72,7 +72,6 @@ export default defineComponent({
}
);
}
-
});
}
diff --git a/src/modules/base/pages/main/components/slider.vue b/src/modules/base/pages/main/components/slider.vue
index 508ac95..2afbc04 100644
--- a/src/modules/base/pages/main/components/slider.vue
+++ b/src/modules/base/pages/main/components/slider.vue
@@ -6,7 +6,9 @@
-
+
+
+
@@ -50,79 +52,41 @@ const { app } = useBase();
&__container {
height: calc(100% - 80px);
- overflow-y: auto;
-
- &::-webkit-scrollbar {
- width: 0;
- height: 0;
- }
}
&__menu {
- &.el-popper {
- &.is-light {
- border: 0;
- }
- }
-
.el-menu {
border-right: 0;
background-color: transparent;
- &--popup {
- .cl-svg,
- span {
- color: #000;
- }
- }
-
- .el-sub-menu__title,
- &-item {
- &.is-active,
- &:hover {
- background-color: var(--color-primary) !important;
-
- .cl-svg,
- span {
- color: #fff;
- }
- }
- }
-
- .el-sub-menu__title,
- &-item,
- &__title {
- color: #eee;
- letter-spacing: 0.5px;
+ .el-menu-item,
+ .el-menu__title,
+ .el-sub-menu__title {
height: 50px;
- line-height: 50px;
-
- .wrap {
- width: 100%;
- box-sizing: border-box;
- padding: 0 4px;
- }
+ color: #fff;
.cl-svg {
font-size: 16px;
}
span {
- display: inline-block;
font-size: 12px;
- letter-spacing: 1px;
- margin-left: 10px;
user-select: none;
+ letter-spacing: 1px;
+ }
+
+ &.is-active,
+ &:hover {
+ background-color: var(--color-primary);
+ color: #fff;
}
}
- &--collapse {
- .wrap {
- text-align: center;
- }
-
+ &--popup {
+ .el-menu-item,
+ .el-menu__title,
.el-sub-menu__title {
- padding: 0;
+ color: var(--el-text-color-primary);
}
}
}