<template>
    <div id="app">
        <Head/>
        <Nav v-show="this.$route.meta.name!=='cameras'"/>
        <router-view/>
    </div>
</template>

<script>
import Head from './components/common/head'
import Nav from './components/common/nav'
import { setInterval } from 'timers';
export default {
    name: 'App',
    components:{
        Head,
        Nav
    },
    mounted(){
      console.log(this.$route.query.gId, this.$route.query.cId)
      console.log(window.location.search)
    }
}
</script>

<style>
#app {
    width: 100%;
    height: 100%;
    font-family: "微软雅黑","Microsoft YaHei",Arial;
    background:linear-gradient(180deg,rgba(0,29,49,1) 0%,rgba(0,35,78,1) 100%);
    min-width: 1200px;

}
</style>
