<template>
  <div>
    <el-tabs v-model="tabIndex">
      <el-tab-pane label="小程序用户" :name="1">
        <GdsUser v-if="tabIndex == 1" />
      </el-tab-pane>
      <el-tab-pane label="会员类型" :name="2">
        <VipType v-if="tabIndex == 2" />
      </el-tab-pane>
      <el-tab-pane label="VIP操作记录" :name="5">
        <VipRecord v-if="tabIndex == 5" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script setup>
import VipType from './components/gdsVip.vue'
import GdsUser from './components/gdsUsers.vue'
import VipRecord from './components/gdsVipRecord.vue'

const tabIndex = ref(1)
</script>

<style lang="scss" scoped></style>
