<template>
    <div class="visit-card" :style="{borderStyle: borderStyle}">
        <div class="visit-card-first">
            <slot name="first"></slot>
        </div>
        <div class="visit-card-second">
            <slot name="second"></slot>
        </div>
    </div>
</template>
<script>
export default {
    props:{
        borderStyle:{
            type:String,
            default:'dashed'
        },
        direction:{
            type:String,
            default:'horizontal'
        }
    },
    data(){
        return {

        }
    }
}    
</script>
<style>
.visit-card{
    display: flex;
    width: 350px;
    height: 156px;
    padding: .4vw;
    border-width: 1px;
    border-color:  #2d8cf0
}    
.visit-card-first{
    width: 100px;
    height: 100%;
    padding-right: 10px;
    border-right: 1px solid #2d8cf0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.visit-card-second{
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
}
</style>