<view class="swiper-cont container-fill">
	<swiper class="imageContainer" bindchange="handleChange" previous-margin="50rpx" next-margin="50rpx" circular autoplay>
		<block wx:for="{{3}}" wx:key="index">
			<swiper-item class="item">
				<image class="itemImg {{currentIndex == index ? 'active': ''}}" src="../../images/lb.png"></image>
			</swiper-item>
		</block>
	</swiper>
	<image src="../../images/show.png" style="width:650rpx;margin-left:50rpx;height:200rpx"></image>
	<view style="display:flex;margin-left:30rpx;margin-top:30rpx;margin-bottom:30rpx">
		<view style='width:10rpx;height:45rpx;background-color:#986aff;margin-right:20rpx;border-radius:10rpx'></view>近期活动
	</view>
	<view style="margin-bottom:150rpx">
		<view wx:for="{{arr}}" wx:key="index" class="box" bindtap="goActive" data-id='{{item.id}}' data-openId='{{item.openId}}'>
			<view class="top">
				<image src="../../images/activephoto.png" style="width:80rpx;height:80rpx;"></image>
				<view class="text">
					<view class="title">{{item.title}}</view>
					<view class="remark">{{item.remark}}</view>
				</view>
				<view wx:if="{{item.openId==null}}" class="btn btn1">报名</view>
				<view wx:if="{{item.enterStatus==0}}" class="btn btn1">审核中</view>
				<view wx:if="{{item.enterStatus==1}}" class="btn btn1">审核通过</view>
				<view wx:if="{{item.enterStatus==-1}}" class="btn btn1">审核失败</view>
			</view>
			<image src="../../images/activeimg.png" class="img2"></image>
			<view class="p1">
				<van-icon name="clock-o" color="#a267ff" size="35rpx" />
				<view style="margin-left:15rpx">活动时间：{{item.activeTime}}</view>
			</view>
			<view class="p1">
				<van-icon name="location-o" color="#a267ff" size="35rpx" />
				<view style="margin-left:15rpx">活动地点：{{item.address}}</view>
			</view>
		</view>
		<view wx:for="{{arr1}}" wx:key="index" class="box" bindtap="goActive" data-id='{{item.id}}' data-openId='{{item.openId}}'>
			<view class="top">
				<image src="../../images/activephoto.png" style="width:80rpx;height:80rpx;"></image>
				<view class="text">
					<view class="title">{{item.title}}</view>
					<view class="remark">{{item.remark}}</view>
				</view>
				<view wx:if="{{item.openId==null}}" class="btn btn1">报名</view>
				<view wx:if="{{item.enterStatus==0}}" class="btn btn1">审核中</view>
				<view wx:if="{{item.enterStatus==1}}" class="btn btn1">审核通过</view>
				<view wx:if="{{item.enterStatus==-1}}" class="btn btn1">审核失败</view>
			</view>
			<image src="../../images/activeimg.png" class="img2"></image>
			<view class="p1">
				<van-icon name="clock-o" color="#a267ff" size="35rpx" />
				<view style="margin-left:15rpx">活动时间：{{item.activeTime}}</view>
			</view>
			<view class="p1">
				<van-icon name="location-o" color="#a267ff" size="35rpx" />
				<view style="margin-left:15rpx">活动地点：{{item.address}}</view>
			</view>
		</view>
	</view>
</view>
<view class="tabbar">
	<view class="tab1" bindtap="goIndex">
		<image src="../../images/active_bar1.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
		<view style="color:#a342ff">首页</view>
	</view>
	<view class="tab1">
		<image src="../../images/unactive_bar2.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
		<button type="primary" id="red" session-from="nickName={{userInfo.nickName}}|avatarUrl={{userInfo.avatarUrl}}" open-type="contact">客服</button>
	</view>
	<view class="tab1" bindtap="goMy">
		<image src="../../images/unactive_bar3.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
		<view>我的</view>
	</view>
</view>