<template>
  <div style="min-width:1200px;"
       :style="{'--color': `${basicSet.set && basicSet.set.theme_color ? basicSet.set.theme_color: '#44be95'}` }">
    <k-header></k-header>
    <knowledgeLeft v-if="showDetailLeft"></knowledgeLeft>
    <main class="content-container" ref="container">
      <nuxt/>
    </main>
    <!--<l-footer v-if="basicSet.set && basicSet.set.pc_temp==1"></l-footer>-->
    <!--<footer-two v-if="basicSet.set && basicSet.set.pc_temp==2"></footer-two>-->
  </div>
</template>

<script>
  import {mapState} from 'vuex'
  import LHeader from "~/components/default/header";
  import LFooter from "~/components/default/footer";
  import topMenu from "~/components/default/topMenu";
  import knowledgeLeft from "~/components/default/knowledge-left";
  import {seo} from "~/utils/assist";
  import topMenu02 from "~/components/templateTwo/topMenu2";
  import footerTwo from "~/components/templateTwo/footer2";
  import KHeader from "~/components/default/knowledge-header";

  export default {
    components: {
      topMenu,
      LHeader,
      LFooter,
      topMenu02,
      footerTwo,
      KHeader,
      knowledgeLeft
    },
    data() {
      return {};
    },
    // watch: {
    //   $route(to,from){
    //   }
    // },
    computed: {
      ...mapState(['basicSet', 'showDetailLeft'])
    },
    methods: {},
    destroyed() {
    }
  };
</script>
