<template>
	<view class="loadmore">
		<u-loadmore :status="loadtype.finish?'nomore':loadtype.loading?'loading':'loadmore'" :load-text="loadText" color="#aaa"/>
	</view>
</template>

<script>
export default {
	name: 'no-data',
	props: {
		// 类型，缺省图片名称，路径：/static/nodata/...
		loadtype: {
			type: Object,
			default: {}
		},
	},
	data() {
		return {
			loadText: {
				loadmore: '轻轻上拉',
				loading: ' ',
				nomore: '没有更多了'
			},
		};
	},
	methods: {
		
	}
};
</script>

<style lang="scss" scoped>
.loadmore{
	padding: 30rpx;
}
</style>
