<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',
      '/intelligent_appbuilder',
      '/intelligent_fwzc',
      '/search_engine'
    ]
  }),
  created(){
    console.log(this.$route.fullPath);
  },
  methods: {
  }
};
</script>

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