<template>
	<view class="container">
		<up-empty :icon="props.icon" :text="props.text"></up-empty>
	</view>
</template>

<script setup>
const props = defineProps({
	icon: {
		type: String,
		default: '/static/default/none.png'
	},
	text: {
		type: String,
		default: '空空如也~'
	}
});
</script>

<style scoped lang="scss">
.container {
	width: 100%;
	display: flex;
	justify-content: center;
}
</style>
