feat:新增左右两侧和顶部功能组件

This commit is contained in:
zjc
2024-12-27 16:17:07 +08:00
parent 88eb805c46
commit f906515858
9 changed files with 202 additions and 149 deletions

37
src/layout/index.vue Normal file
View File

@@ -0,0 +1,37 @@
<template>
<Header />
<div class="flex flex-1">
<CoreVideo />
<div class="mian"><RouterView /></div>
<Correspondence />
</div>
</template>
<script setup>
import { RouterView } from 'vue-router'
let props = defineProps({
title: {
type: String,
default: '奉节县旅游指挥调度中心'
},
isBack: {
type: Boolean,
default: false
},
navLeft: {
type: Array,
default: () => []
},
navRight: {
type: Array,
default: () => []
}
})
</script>
<style scoped lang="scss">
.mian {
flex: 1;
display: flex;
}
</style>