<template>
	<view class="content-wrapper" :style="{ backgroundColor: bgColor, padding: pd }"><slot /></view>
</template>

<script setup>
const props = defineProps({
	bgColor: {
		type: String,
		default: '#fff'
	},
	pd: {
		type: String,
		default: '25rpx 50rpx 0 50rpx'
	}
})
</script>

<style lang="scss" scoped>
.content-wrapper {
	border-radius: 32rpx 32rpx 0 0;
}
</style>
