<template>
	<view class="container">
		<view class="content">
			<image src="/static/common/noData.png" mode="widthFix"></image>
			<view>{{showText}}</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "noData",
		props: {
			showText: {
				type: String,
				default: '暂无数据'
			},
		},
		data() {
			return {}
		}
	}
</script>

<style lang="scss">
	.content {
		padding: 100rpx 0 120rpx;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;

		image {
			width: 300rpx;
			display: block;
		}

		view {
			font-size: 28rpx;
			color: #999999;
			margin-top: 20rpx;
		}
	}
</style>