| | |
| | | |
| | | <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> |
| | |
| | | } |
| | | } |
| | | |
| | | .titles_two{ |
| | | padding-left: 15px; |
| | | } |
| | | |
| | | /deep/ .el-menu { |
| | | border-right: 0; |
| | | } |
| | |
| | | /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, |
| | |
| | | } |
| | | } |
| | | |
| | | .three_item { |
| | | background: #0B5274 !important; |
| | | } |
| | | |
| | | /deep/ .el-submenu .el-submenu__title:hover { |
| | | color: #3DC8FF; |
| | | background: rgba(57,181,254,0.7) !important; |