From 9a12866758b1749953e1330c2e64d25d7a6a05b5 Mon Sep 17 00:00:00 2001 From: 李旭东 <woaiguo66@sina.com> Date: 星期四, 09 十一月 2023 14:11:48 +0800 Subject: [PATCH] Merge branch 'master' of http://111.30.93.211:10101/r/supipe --- web/src/views/LayoutIndex/components/LayoutAside.vue | 21 +++++++++++++++++---- 1 files changed, 17 insertions(+), 4 deletions(-) diff --git a/web/src/views/LayoutIndex/components/LayoutAside.vue b/web/src/views/LayoutIndex/components/LayoutAside.vue index 4969bad..04e1cc0 100644 --- a/web/src/views/LayoutIndex/components/LayoutAside.vue +++ b/web/src/views/LayoutIndex/components/LayoutAside.vue @@ -21,12 +21,16 @@ <template v-for="three in item.children"> <template v-if="three.children && three.children.length > 1"> - <el-submenu :key="three.name" :index="three.path"> + <el-submenu :key="three.name" :index="three.path" class="titles_two"> <template slot="title"> <span>{{three.meta.title}}</span> </template> <template v-for="items in three.children"> - <el-menu-item :index="items.path" :key="items.name">{{items.meta.title}}</el-menu-item> + <el-menu-item + :index="items.path" + :key="items.name"> + {{items.meta.title}} + </el-menu-item> </template> </el-submenu> </template> @@ -117,6 +121,10 @@ } } +.titles_two{ + padding-left: 15px; +} + /deep/ .el-menu { border-right: 0; } @@ -127,9 +135,10 @@ } /deep/ .el-menu-item.is-active { + padding-left: 45px!important; position: relative; - margin-left: 10px; - color: #3DC8FF; + // margin-left: 10px; + color: #EAEAEA; border-radius: 3px; background: linear-gradient( 90deg, @@ -149,6 +158,10 @@ } } +.three_item { + background: #0B5274 !important; +} + /deep/ .el-submenu .el-submenu__title:hover { color: #3DC8FF; background: rgba(57,181,254,0.7) !important; -- Gitblit v1.9.3