<template>
    <div class="ddkzConfig">
        <el-tabs type="border-card" @tab-click="handleTabClick" v-model="activeTabs">
            <el-tab-pane>
                <span slot="label"><i class="el-icon-date"></i> 新增会议</span>
                <DdkzConfigAdd></DdkzConfigAdd>
            </el-tab-pane>
            <el-tab-pane>
                <span slot="label"><i class="el-icon-date"></i> 会议列表</span>
                <DdkzConfigList></DdkzConfigList>
            </el-tab-pane>
        </el-tabs>
    </div>
</template>

<script>
import ddkzConfigAdd from '../sjgl/ddkzConfig/ddkzConfigAdd.vue';
import ddkzConfigList from '../sjgl/ddkzConfig/ddkzConfigList.vue';
export default {
    data() {
        return {
            activeTabs: ''
        }
    },
    components:{
        DdkzConfigAdd:ddkzConfigAdd,
        DdkzConfigList:ddkzConfigList
    },
    methods: {
        handleTabClick() {

        }
    }
}
</script>

<style lang="scss">
.ddkzConfig {
    width: 99%;
    height: 98%;
    padding: 30px;
    box-sizing: border-box;
    overflow-y: auto;

    >.el-tabs--border-card {
        width: calc(100% - 4px);
        height: calc(100% - 4px);
        border: 2px solid #125473;
        border-radius: 5px;
        box-sizing: border-box;
        background: #ffffff00;

        >.el-tabs__content {
            width: 100%;
            height: calc(100% - 40px);
            box-sizing: border-box;
        }

        >.el-tabs__header {
            background-color: unset;
            border-bottom: 2px solid #125473;

            .el-tabs__item {
                color: #dedede;
            }

            .el-tabs__item.is-active {
                color: #ffe000;
                background-color: #116791;
                border-right-color: #116791;
                border-left-color: #116791;
            }

            .el-tabs__item:not(.is-disabled):hover {
                color: #ffe000;
            }
        }
    }
}
</style>