feat: 优化自动化代码结构,增加顶栏侧边栏组合式结构 (#1793)
* feature:增加顶栏组合模式。
* Update:
1. request.go.tpl and model.go.tpl indent problem
2. api.go.tpl, request.go.tpl, service.go.tpl struct {}
* Update:
1. model.go.tpl import blank line
* feature:增加顶栏组合模式。
* feature:增加左侧检测逻辑保证存在左侧菜单。
---------
Co-authored-by: SliverHorn <caiwei.lai@jutze.com.cn>
This commit is contained in:
co-authored by
SliverHorn
parent
01139a2e6b
commit
8ef4f408bf
@@ -93,14 +93,22 @@
|
||||
@apply my-1;
|
||||
}
|
||||
}
|
||||
.el-menu-item{
|
||||
border-radius: 2px;
|
||||
&.is-active{
|
||||
background-color: var(--el-color-primary) !important;
|
||||
color: #fff !important;
|
||||
.el-menu--vertical{
|
||||
.el-menu-item{
|
||||
border-radius: 2px;
|
||||
&.is-active{
|
||||
background-color: var(--el-color-primary) !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.el-sub-menu.el-sub-menu__hide-arrow{
|
||||
height: 44px;
|
||||
}
|
||||
|
||||
|
||||
.el-tabs__header{
|
||||
margin: 0 0 1px !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user