<template>
  <div class="app-container">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="未寄送" name="first">
        <club-list v-if="activeName === 'first'" :send-status="0" />
      </el-tab-pane>
      <el-tab-pane label="已寄送" name="second">
        <club-list v-if="activeName === 'second'" :send-status="1" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import ClubList from '../components/club-list.vue'
export default {
  components: {
    ClubList
  },
  data() {
    return {
      activeName: 'first'
    }
  },
  methods: {
    handleClick() {}
  }
}
</script>

<style></style>
