<template>
	<view class="page">
		
		<navbar title="活动"/>
		
		<view class="activityList">
			<!-- <activityList :list="list"/> -->
			<activityItem
			:key="index"
			v-for="(item, index) in list"
			:item="item"
			@click="$utils.navigateTo('/pages_order/activity/activityDetail?id=' + item.id)"
			/>
		</view>
		
		<tabber select="2" />
	</view>
</template>

<script>
	import tabber from '@/components/base/tabbar.vue'
	import activityList from '@/components/list/activityList.vue'
	import activityItem from '@/components/list/activity/activityItem.vue'
	import mixinsList from '@/mixins/list.js'
	export default {
		mixins : [mixinsList],
		components : {
			tabber,
			activityList,
			activityItem,
		},
		data() {
			return {
				mixinsListApi : 'getActivityPage',
			}
		},
		methods: {
			
		}
	}
</script>

<style scoped lang="scss">
.page{
	.activityList{
		// padding: 0 20rpx;
	}
}
</style>
