<!--package_first/pages/volunteerActivity/index.wxml-->
<view class="volunteerActivity_container">
    <view>
        <view class="part" wx:for="{{list}}" wx:key="index">
            <view>
                <image class="activity_image" src="{{item.imageUrl}}" mode=""/>
            </view>
            <view class="part_middle">
                <view class="activity">
                    <view class="activity_name">{{item.activityTitle}}</view>
                    <view class="{{item.status==2?'activity_tag is_apply':item.status==1?'activity_tag no_apply':'activity_tag over_apply'}}">
                        {{item.status==2?'报名进行中':item.status==1?'报名未开始':'报名已结束'}}
                    </view>
                </view>
                <view class="activity_date">
                    <view class="dot"></view>
                    <view class="activity_time">{{item.activityBeginTime}}～{{item.activityEndTime}}</view>
                </view>
            </view>
            <view class="activity_bottom">
                    <view class="apply" wx:if="{{item.status==2}}" data-item="{{item}}" bindtap="showDetail">立即报名</view>
                    <view class="join" bindtap="showDetail" data-item="{{item}}">进入活动 》</view>
            </view>
        </view>
    <view class="bottom">- 更多活动 敬请期待 -</view>
    </view>
</view>