<template>
  <div class="app-container">
    <el-tabs v-model="activeTabs" @tab-click="handleClick">
      <el-tab-pane label="奖品模板" name="prizeInfoTab">
        <prize-info-tab business-type="prizeInfoTab" />
      </el-tab-pane>
      <el-tab-pane label="男用户奖品" name="prizeOnlineManTab">
        <prize-online-man-tab business-type="prizeOnlineManTab" :gender="2" />
      </el-tab-pane>
      <el-tab-pane label="女用户奖品" name="pay">
        <prize-online-man-tab business-type="prizeOnlineManTab" :gender="1" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>

import PrizeInfoTab from "@/views/cai/prizeInfo/prize-info-tab.vue";
import PrizeOnlineManTab from "@/views/cai/prizeInfo/prize-online-man-tab.vue";

export default {
  name: "PrizeInfo",
  components: {
    PrizeInfoTab,
    PrizeOnlineManTab,
  },
  data() {
    return {
      activeTabs: "prizeInfoTab",
    };
  },
  created() {
  },
  methods: {
    handleClick(tab, event){
      console.log(tab, event);
    },
  }
};
</script>
