<template>
	<view class="u-flex u-flex-col u-row-center u-col-center w-full">
		<slot>
			<image :src="img" mode="" class="img"></image>
			<view class="tips">{{tips}}</view>
		</slot>
	
	</view>
</template>

<script setup>
	const props= defineProps({
		tips:{
			type:String,
			default:'暂无数据'
		},
		img:{
			type:String,
			default:'/static/icon-empty.svg'
		}
	})
</script>

<style lang="scss">
.img{
	width: 326rpx;
	height: 336rpx;
}
.tips{
	margin-top: 74rpx;
}
</style>