c11f0d4d by 任超

style:头部样式修改

1 parent b4c29340
......@@ -66,13 +66,24 @@ export default {
.sidebarLeft {
position: relative;
top: 13px;
left: 10px;
width: 30%;
}
/deep/.el-menu {
display: flex;
justify-content: space-between;
}
/deep/.el-menu-item {
flex: 1;
width: 100%;
}
.sidebarRight {
position: relative;
left: 10px;
top: 13px;
width: 30%;
padding-left: 20px;
}
// 导航选中背景色
......
<template>
<el-menu router :default-active="activeMenu" mode="horizontal" menu-trigger="click">
<el-menu router :default-active="activeMenu" mode="horizontal">
<!-- 权限菜单 -->
<sidebar-item v-for="route in permission_routes.slice(1, 4)" :key="route.path" :item="route"
:base-path="route.path" />
......