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:
PiexlMax(奇淼
2024-06-21 21:03:47 +08:00
committed by GitHub
parent 01139a2e6b
commit 8ef4f408bf
13 changed files with 300 additions and 89 deletions

View File

@@ -12,7 +12,8 @@
/>
<gva-header />
<div class="flex flex-row w-full gva-container pt-16">
<gva-aside v-if="config.side_mode != 'head' || (device === 'mobile'&& config.side_mode == 'head' )" />
<gva-aside v-if="config.side_mode === 'normal' || (device === 'mobile' && config.side_mode == 'head' ) || (device === 'mobile' && config.side_mode == 'combination' )" />
<gva-aside v-if="config.side_mode === 'combination' && device !== 'mobile'" mode="normal"/>
<div class="flex-1 p-2 w-0 h-full">
<gva-tabs v-if="config.showTabs" />
<div