1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <template>
- <div
- class="vab-layout-comprehensive"
- :class="{
- fixed: fixedHeader,
- 'no-tabs-bar': !showTabs,
- }"
- >
- <vab-side-bar layout="comprehensive" />
- <div
- class="vab-main"
- :class="{
- 'is-collapse-main': collapse,
- }"
- >
- <div
- class="vab-layout-header"
- :class="{
- 'fixed-header': fixedHeader,
- }"
- >
- <vab-nav layout="comprehensive" />
- <vab-tabs v-show="showTabs" />
- </div>
- <vab-app-main />
- </div>
- </div>
- </template>
- <script lang="ts" setup>
- defineOptions({
- name: 'VabLayoutComprehensive',
- })
- defineProps({
- collapse: {
- type: Boolean,
- default: false,
- },
- fixedHeader: {
- type: Boolean,
- default: true,
- },
- showTabs: {
- type: Boolean,
- default: true,
- },
- device: {
- type: String,
- default: 'desktop',
- },
- })
- </script>
|