<template>
	<view class="empty">
		<image src="/static/images/empty@2x.png" mode=""></image>
		<view class="">{{ text }}</view>
	</view>
</template>

<script>
	export default {
		name:"uni-empty-view",
		props:{
			text:{
				type:String,
				default:'暂无数据'
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
.empty {
	padding: 50rpx 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	image {
		width: 440rpx;
		height: 401rpx;
		margin-bottom: 32rpx;
	}
	view {
		color: #333333;
		font-size: 32rpx;
		line-height: 1;
	}
}
</style>