<template>
	<view class="uni-form-item uni-column">
		<view class="title">{{title}}</view>
		<view class="item">
			<slot></slot>
		</view>
	</view>
</template>

<script setup>
	const props = defineProps(['title'])
	console.log(props);
</script>

<style scoped>
	.title {
		display: inline-block;
	}

	.item {
		width: 200rpx;
		display: inline-block;
		vertical-align: top;
		border: 1px solid #ddd;
		border-radius: 10rpx;
	}
</style>