<template>
	<view>
		<sell-container ref="sellContainer"></sell-container>
	</view>
</template>

<script>
export default {
	data() {
		return {
			
		}
	},
	onLoad() {
		
	},
	onShow() {
		this.$updateCartBadge();
	},
	onPullDownRefresh() {
		if (this.$refs.sellContainer) {
			this.$refs.sellContainer.hasShareList();
			this.$refs.sellContainer.getIndexCateInfo();
		}
		setTimeout(() => {
			uni.stopPullDownRefresh();
		}, 1000);
	},
	onPageScroll(e) {
		const comp = this.$refs.sellContainer;
		if (!comp) return;
		comp.scrollTop = e.scrollTop;
	},
	methods: {
		
	}
}
</script>

<style>
/* Empty style as content is in the component */
</style>
