<template>
  <div class="ele-body">
    <el-card shadow="never" v-loading="loading">
      <div class="switch">
        <div class="switch_left">
          <ul>
            <li
              v-for="item in tabOptions"
              :key="item.key"
              :class="{ active: activeComp == item.key }"
              @click="activeComp = item.key"
            >
              {{ item.name }}
            </li>
          </ul>
        </div>
      </div>
      <component :is='activeComp'>
      </component>
    </el-card>
  </div>
</template>
<script>


export default {
  name: "index",
  components: {
    'tab1': () => import('./feeApplication/page.vue')
  },
  computed: {
    tabOptions() {
      return [
        {
          key: 'tab1',
          name: '费用申请'
        }
      ]
    },
  },
  data() {
    return {
      loading: false,
      activeComp: 'tab1'
    }
  },
}
</script>
<style scoped lang="scss">

</style>
