<template>
	<view class="sortable-list">
		<view v-for="item in defaultSorts" :key="item" :style="{marginBottom:`${marginBottom}rpx`}">
			<slot :name="item"></slot>
		</view>
	</view>
</template>

<script>
	export default {
		name: "sortble",
		
		props: {
			defaultSorts:{
				type: Array,
				default: () => ([])
			},
			marginBottom:{
				type: Number,
				default: 30
			}
		},
		onLoad() {
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss">

</style>