Browse Source

Merge branch 'master_hella' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into master_hella

master_hella_20240701
liuchen864 8 months ago
parent
commit
0b0b89a78b
  1. 12
      src/layout/components/CategoryHeader.vue
  2. 2
      src/store/modules/app.ts

12
src/layout/components/CategoryHeader.vue

@ -97,12 +97,22 @@ $prefix-cls: #{$namespace}-tool-header;
.#{$prefix-cls} { .#{$prefix-cls} {
transition: left var(--transition-time-02); transition: left var(--transition-time-02);
} }
::v-deep(.el-menu--horizontal){
padding-left:20px;
}
::v-deep(.el-menu--horizontal>.el-menu-item){ ::v-deep(.el-menu--horizontal>.el-menu-item){
border-radius: 5px; border-radius: 5px;
height: 40px; height: 40px;
margin-right: 10px; margin-right: 10px;
background: linear-gradient(to top left,var(--left-menu-bg-color),var(--left-menu-text-color)); margin-bottom: 2px;
background: rgb(242, 245, 248);
border: 1px solid #ccc;
// background: linear-gradient(to top left,var(--left-menu-bg-color),var(--left-menu-text-color));
}
::v-deep(.el-menu--horizontal>.el-menu-item.is-active){
background: var(--el-menu-hover-bg-color)
} }
</style> </style>

2
src/store/modules/app.ts

@ -101,7 +101,7 @@ export const useAppStore = defineStore('app', {
topToolBorderColor: '#eee' topToolBorderColor: '#eee'
}, },
categoryRoutePath:'', categoryRoutePath:'',
showCategoryMenu:false // true:顶部展示一级菜单栏 false:只有左侧菜单栏 showCategoryMenu:true // true:顶部展示一级菜单栏 false:只有左侧菜单栏
} }
}, },
getters: { getters: {

Loading…
Cancel
Save