<view class="area">
  <view class="area-box {{'' == pages.county?'active': ''}}" bindtap="loadAll">全部</view>
  <view class="area-box {{item.areaId == pages.county?'active': ''}}" wx:for="{{areaList}}" wx:key="index" data-area="{{item.areaId}}" bindtap="changeArea">{{item.areaName}}</view>
</view>
<view class="activity">
  <view class="activity-box" bindtap="goDetail" data-id="{{item.activityLibraryId}}" wx:for="{{dataList}}" wx:key="index">
    <view class="activity-img">
      <image src="{{item.activityImage}}"></image>
    </view>
    <view class="activity-info">
      <view class="title">
        <view class="activity-title">{{item.activityTitle}}</view>
        <view class="sign" wx:if="{{item.activityState == '3'}}">报名中</view>
        <view class="sign" wx:if="{{item.activityState == '4'}}">报名人数已满</view>
        <view class="sign" wx:if="{{item.activityState == '5'}}">停止报名</view>
        <view class="sign" wx:if="{{item.activityState == '6'}}">进行中</view>
        <view class="sign" wx:if="{{item.activityState == '7'}}">直接进入</view>
        <view class="sign" wx:if="{{item.activityState == '99'}}">已结束</view>
      </view>
      <view class="date">{{item.activityStartTime}}至{{item.activityEndTime}}</view>
    </view>
  </view>
</view>