Restructure layout components and update page metadata
This commit is contained in:
28
layouts/default.vue
Normal file
28
layouts/default.vue
Normal file
@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<div class="layout-wrap">
|
||||
<div class="flex flex-1 flex-col">
|
||||
<slot></slot>
|
||||
<!-- 右侧固定按钮组 -->
|
||||
<KlQuickMenu></KlQuickMenu>
|
||||
</div>
|
||||
<KlFooter></KlFooter>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
|
||||
// import KlQuickMenu from '~/components/kl-quick-menu/index.vue'
|
||||
// import KlFooter from '~/components/kl-footer/index.vue'
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.layout-wrap {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: #fbfcff;
|
||||
width: 100%;
|
||||
margin: auto;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user