<template>
	<view class="emptybox">
		<up-image  :src="emptyImg" width="176rpx" height="204rpx" ></up-image>
		<text class="empty-text">{{ emptyDesc }}</text>
	</view>
</template>

<script setup>
	import { ref } from 'vue';
	import { onShow } from "@dcloudio/uni-app";
	import emptyImg from "@/static/icon_empty.png"
	const props = defineProps({
		emptyDesc: {
			type: String,
			default: '暂无数据'
		}
	})
</script>

<style scoped lang="scss">
 .emptybox{
	 width:100%;
	 height:800rpx;
	 min-width:600rpx;
	 display: flex;
	 margin:0 auto;
	 align-items: center;
	 justify-content: center;
	 flex-direction: column;
	 .empty-text{
		 font-size: 30rpx;
		 color:#999;
	 }
 }
</style>
