<template>
    <view>
        <view class="title">{{ title }}</view>
        <view class="content-view">
            <slot></slot>
        </view>
    </view>
</template>

<script setup lang="ts">
defineProps({
    title: String,
});
</script>

<style scoped lang="scss">
.title {
    margin: 70rpx 0 30rpx 0;
    color: #000;
    text-align: center;
    font-size: 32rpx;
    font-style: normal;
    font-weight: 500;
    line-height: 48rpx; /* 150% */
}
</style>
