<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"
      >
        <article-page :article-type="item.value" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

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

export default {
  name: 'ArticleManagement',

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

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

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

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