<template lang="html">
  <div class="awardPageVue">

    <div class="center">
      <effect class="effect" :home-data="homeData" :page-title="pageTitle" />

      <div class="content">
        <lucky-prize v-if="homeData.page === 6" />
      </div>
    </div>

  </div>
</template>

<script>
import effect from './effect'
import luckyPrize from './prizePages/luckyPrize'

export default {
  components: {
    effect,
    luckyPrize
  },
  props: {
    homeData: {},
    pageTitle: {
      type: Array,
      default: () => []
    }
  }
}
</script>

<style lang="scss" scoped>
.awardPageVue{
  .center{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    .effect{
      position: absolute;
      top: 50%;
      margin-left: 150px;
    }
    .content{
      width: 1600px;
      height: 800px;
      padding-left: 300px;
      text-align: left;
    }
  }
}
</style>
