feat:新增左右两侧和顶部功能组件
This commit is contained in:
37
src/layout/index.vue
Normal file
37
src/layout/index.vue
Normal 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>
|
||||
Reference in New Issue
Block a user