<template>
  <div class="container">
    <el-tabs v-model="activeName" style="background-color: #EEEEEE;" @tab-click="handleClick">
      <el-tab-pane
        v-for="item in options"
        :key="item.value"
        :label="item.label"
        :name="item.value"
      >
        <tag-page :tag-type="item.value" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import page from './page'
import MODULETYPE from '@/const/moduleType'

export default {
  name: 'TagManagement',

  components: {
    'tag-page': page
  },

  data() {
    return {
      options: MODULETYPE.TAG_MODAL_TYPE,
      activeName: null
    }
  },

  methods: {
    handleClick(e) {}
  }
}
</script>

<style scoped>
.btn-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
</style>
