<template>
	<view class="empty-box" :style="{'margin-top':mt}">
		<image src="/static/images/empty-box.png"></image>
		<view class="txt" :style="{color:color}">{{title}}</view>
	</view>
</template>

<script>
	// +----------------------------------------------------------------------
	// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
	// +----------------------------------------------------------------------
	// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
	// +----------------------------------------------------------------------
	// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
	// +----------------------------------------------------------------------
	// | Author: CRMEB Team <admin@crmeb.com>
	// +----------------------------------------------------------------------
	export default {
		props: {
			title: {
				type: String,
				default: '暂无记录',
			},
			color: {
				type: String,
				default: "#999"
			},
			mt: {
				type: String,
				default: "200rpx"
			}
		},
	}
</script>

<style lang="scss">
	.empty-box {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		margin-top: 200rpx;

		image {
			width: 414rpx;
			height: 240rpx;
		}

		.txt {
			font-size: 26rpx;
			color: #999;
		}
	}
</style>