<template>
	<view class="contentBox">
		<slot></slot>
		<u-loadmore class="bottomArea" :status="status" v-if="loadmore" />
	</view>
</template>

<script>
export default {
  name: "ContentLoadingMore",
  props: {
    status: {
      type: String,
      default: 'loadmore',
    },
	loadmore: {
	  type: Boolean,
	  default: false,
	},
  },
  methods: {
	// // 加载更多
	// onReachBottom() {
	// 	console.log('加载更多');
	// }
  },
};
</script>
<style scoped>
.bottomArea{
	padding-bottom: 160rpx;
	padding-top: 20rpx;
}
.contentBox{
	padding-bottom: 160rpx !important;
}
</style>