<template>
  <div class="app-container">
    <el-tabs v-model="activeName" type="card">
      <el-tab-pane label="排队列表" name="1"></el-tab-pane>
      <el-tab-pane label="基本设置" name="2"></el-tab-pane>
    </el-tabs>
    <index v-if="activeName == 1" />
    <basic v-if="activeName == 2" />
  </div>
</template>

<script>
import index from "./components/index.vue";
import basic from "./components/basic.vue";

export default {
  components: {
    index,
    basic,
  },
  data() {
    return {
      activeName: "1",
    };
  },
};
</script>

<style lang="scss" scoped>
.app-container {
  background-color: #fff;
  min-height: 100%;
}
</style>