<!-- <template>
	<view class="badge-container">
		<view v-if="!!content" class="badge-view">
			<view>{{ content }}</view>
		</view>
		<slot></slot>
	</view>
</template>

<script setup>
	defineProps({
		content: {
			type: String | Number,
			default: ''
		}
	})
</script>

<style lang="scss" scoped>
	.badge-container {
		position: relative;
	}
	
	.badge-view {
		position: absolute;
		top: -15rpx;
		right: 15rpx;
		height: 30rpx;
		border-radius: 15rpx;
		background-color: #B80A0A;
		font-size: 24rpx;
		padding: 0rpx 15rpx;
	}
	
	.badge-view.top-middle {
		
	}
</style> -->