<template>
  <v-header :title="item.label">
    <layout-shop-screen
      :dateBuy="item.dateBuy"
    ></layout-shop-screen>
  </v-header>
</template>

<script>
import vHeader from '@/components/v-header/main.vue';
import layoutShopScreen from '@/layout/layout-shop-screen/main.vue';
import typeData from './data/type';
import params from '@/mixins/params';
import globalMixins from '@/mixins/global';
export default {

  data(){
    return {
      item:{}
    }
  },

  mixins:[globalMixins,params],

  components:{
    vHeader,
    layoutShopScreen
  },

  onLoad(){
    this.item = typeData[this.$params.type || '1'] || typeData['1'];
  }
}
</script>

<style lang="scss" src="./style.scss"></style>