<template>
	<view class="hl88-empty-wrap">
		<view class="wanl-gray text-center">
			<image class="animation-scale-down" :src="src ? $appKit.appstc('/default/' + src + '.png') : $appKit.appstc('/default/default3x.png')"></image>
			<view class="text-30">{{ text }}</view>
		</view>
	</view>
</template>

<script>
/**
 * WanlEmpty 缺省页
 *
 * @property {String} src 图片地址名
 * @property {String} text 提示文字
 * @example <empty src="" text=""/>
 */
export default {
	name: 'Empty',
	props: {
		src: {
			type: String,
			default: ''
		},
		text: {
			type: String,
			default: 'No data'
		}
	}
};
</script>

<style>
	.empty-content {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		padding: 200rpx 130rpx;
	}
	.hl88-empty-wrap image{
		width: 320rpx;
		height: 320rpx;
	}
</style>

