<template>
    <div :class="`title ${needPadding ? '' : 'noPadding'}`">
        <slot />
    </div>
</template>

<script>
export default {
    name: "WlPic",
    props: {
        needPadding: {
            type: Boolean,
            default: false,
        },
    }
}
</script>

<style lang="scss" scoped>
.title {
    padding: j(16) j(15);
    color: rgba(69, 90, 100, 0.6);
    font-weight: normal;
    font-size: j(16);

    &.noPadding {
        padding: j(16) 0;
    }
}
</style>
