<template>
    <div class="details_item">
        <div class="left_title">
            <slot name="label"></slot>
        </div>
        <div class="right_content">
            <slot name="content"></slot>
        </div>
    </div>
</template>
<script lang="ts" setup>
import { ref, onMounted } from 'vue'
onMounted(() => {
    console.log()
})
</script>
<style lang="less" scoped>
.details_item {
    width: 48%;
    height: 40px;
    display: flex;
    .left_title {
        width: 54%;
        height: 100%;
        background: #f5f7fa;
        line-height: 18px;
        text-align: left;
        padding: 8px 11px;
        font-weight: bold;
        border: 1px solid #eceef5;
        border-right: 0;
        color: #606266;
        box-sizing: border-box;
    }
    .right_content {
        flex: 1;
        background: #fff;
        line-height: 18px;
        padding: 8px 11px;
        box-sizing: border-box;
        border: 1px solid #eceef5;
        box-sizing: border-box;
    }
}
</style>
