侧边栏样式调整完毕

This commit is contained in:
aixianling
2023-01-29 15:39:23 +08:00
parent 3a5eeb3452
commit 0a7bdf97d5

View File

@@ -13,7 +13,7 @@
</el-icon> </el-icon>
</el-row> </el-row>
<template v-if="menu.expand"> <template v-if="menu.expand">
<div class="app" v-for="app in menu.children" :key="app.id" v-text="app.label" :class="{active:app.id==12}"/> <div class="app mar-h8" v-for="app in menu.children" :key="app.id" v-text="app.label" :class="{active:app.id==12}"/>
</template> </template>
</div> </div>
</div> </div>
@@ -64,7 +64,7 @@ export default {
} }
}, },
created() { created() {
this.getMenus() // this.getMenus()
} }
} }
</script> </script>
@@ -73,7 +73,7 @@ export default {
.sliderNav { .sliderNav {
width: 200px; width: 200px;
flex-shrink: 0; flex-shrink: 0;
background: #222; background: linear-gradient(35deg, #243949 0, #243949 65%, #517fa4 100%);
color: #fff; color: #fff;
box-shadow: 2px 0 8px 4px rgba(15, 15, 21, 0.15); box-shadow: 2px 0 8px 4px rgba(15, 15, 21, 0.15);