<script setup lang="ts">
import type { TabsPaneContext } from 'element-plus';
import { ref } from "vue";
import BJ_Casino_Rank from './components/BJ_Casino_Rank.vue';

const activeName = ref('first')
const handleClick = (tab: TabsPaneContext, event: Event) => {
    console.log(tab, event)
}
</script>

<template>
    <div>
        <el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
            <el-tab-pane label="User" name="first">
                <BJ_Casino_Rank />
            </el-tab-pane>
            <el-tab-pane label="Config" name="second">Config</el-tab-pane>
            <el-tab-pane label="Role" name="third">Role</el-tab-pane>
            <el-tab-pane label="Task" name="fourth">Task</el-tab-pane>
        </el-tabs>
    </div>
</template>

<style>
@import url('../src/assets/fonts.css');
@import url('../src/assets/style.css');

.demo-tabs>.el-tabs__content {
    width: 50%;
    margin: 0 auto;
}

#app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    margin-top: 0px;
    font-family: 'Zen Maru Gothic', sans-serif;
}
</style>
