<template>
	<view class="noRecord">
		<img src="../../static/img/bj@2x.png" class="noInfo"/>
		<view class='noContent' v-if="noRecordContent" >{{ noRecordContent }}</view>
	</view>
</template>

<script>
	export default {
		name: 'noRecord',
		props: {
			noRecordContent: {
				// 无数据时的文字描述
				type: String,
				default: '暂无数据'
			}
		}
	}
</script>

<style>
	.noRecord{
		text-align: center;
		margin-top: 35%;
	}
	.noInfo{
		width: 188px;
		height: 136px;
		text-align: center;
	}
	.noContent{
		padding:0px 50upx 50upx;
		color: #333;
	}
</style>
