<template>
  <div class="index_container">
    <div class="decor" v-if="path_arr.indexOf($route.path)!==-1"></div>
    <router-view/>
  </div>
</template>

<script>
export default {
  data: () => ({
    path_arr:[
      '/workplace',
      '/services_shop',
      '/fwzc/fwcs',
      '/app_build',
      '/intelligent_drawing',
      '/intelligent_details',
      '/search_engine'
    ]
  }),
  created(){
    console.log(this.$route.fullPath);
  },
  methods: {
  }
};
</script>

<style scoped>
.index_container {
  margin-top: 84px;
  min-height: 200px;
  /* overflow-x: hidden;
  overflow-y: auto; */
}
.decor{
  width: 100%;
  height: 174px;
  background-color: #0f2683;
}
</style>
