<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-tab-pane label="兑换记录" name="3"></el-tab-pane>
        </el-tabs>
        <Setting v-if="activeName == 1" />
        <ShopList v-if="activeName == 2" />
        <Record v-if="activeName == 3" />
    </div>
</template>

<script>
import Setting from './components/member_points/setting.vue'
import ShopList from './components/member_points/shop_list.vue'
import Record from './components/member_points/record.vue'
export default {
    name: "member_points",
    components: {
        Setting,
        ShopList,
        Record
    },
    data() {
        return {
            activeName: '1'
        }
    }
}
</script>

<style scoped lang="scss">
:deep(.el-tabs) {
    margin-bottom: 0;
}
</style>