<script setup>
const {label} = defineProps({
    label: {
        type: String,
        default: "标题",
    }
});
</script>

<template>
    <view class="x-filter-item">
        <view class="label">{{ label }}</view>
        <slot></slot>
    </view>
</template>

<style lang="scss" scoped>
.x-filter-item {
    margin-bottom: 36rpx;
}
.label {
    color: rgb(134, 144, 156);
    font-size: 24rpx;
    font-weight: 500;
    letter-spacing: 0;
    text-align: left;
    margin-bottom: 24rpx;
}
</style>
