<template>
    <div class="card" :style="flag?{borderRadius: '0px 12px 0px 0px'}:{}">
        <div class="card_title" :style="{backgroundColor:bgc}"><div class="circle"></div>{{title}}</div>
        <div class="card_contain">
            <slot></slot>
        </div>
    </div>
</template>

<script>
export default {
    props: ['title','flag','bgc'],
    components: {

    },
    data() {
        return {

        };
    },
    watch: {

    },
    computed: {

    },
    created() {

    },
    mounted() {

    },
    methods: {

    },
};
</script>

<style scoped>
.card{
    width: 100%;
    position: relative;
    background-color: #e5f0ff;
	border-radius: 12px 12px 0px 0px;
    overflow: hidden;
}
.card_title{
    width: 100%;
    height: 45px;
	background-color: #e5f0ff;
    line-height: 45px;
    text-align: left;
    padding: 0 15px;
    color: #707693;
    overflow: hidden;
}
.card_title div{
    float: left;
}
.circle{
    width: 8px;
	height: 8px;
	background-color: #515fe7;
    border-radius: 4px;
    margin-right: 15px;
    margin-top: 20px;
}
.card_contain{
    width: 100%;
    position: relative;
    background-color: #fbfcfe;
}
</style>
