<template>
  <Header />
  <div class="flex flex-1">
    <core-video v-if="homeStore.amplify" />
    <div class="mian">
      <router-view />
    </div>
    <correspondence v-if="homeStore.amplify"/>
  </div>
</template>

<script setup>
  import { RouterView } from 'vue-router'

  import Header from './components/Header/index'
  import CoreVideo from './components/CoreVideo/index'
  import Correspondence from './components/Correspondence/index'
  import { useHomeStore } from '@/stores/home'
  const homeStore = useHomeStore()
  let props = defineProps({
    title: {
      type: String,
      default: '奉节县旅游指挥调度中心'
    },
    isBack: {
      type: Boolean,
      default: false
    },
    navLeft: {
      type: Array,
      default: () => []
    },
    navRight: {
      type: Array,
      default: () => []
    }
  })

  onMounted(() => {
  	
  })
</script>

<style scoped lang="scss">
  .mian {
    flex: 1;
    display: flex;
  }
</style>
