<view class="activity-img">
  <image src="{{dataMap.activityImage}}"></image>
</view>
<view class="activity-detail">
  <view class="activity-title">{{dataMap.activityTitle}}</view>
  <view class="activity-info">
    <view class="activity-text">
      <image src="../../images/people.png"></image>
      <text>活动人数：</text>
      {{dataMap.activityUserNum }}
    </view>
    <view class="activity-text">
      <image src="../../images/time.png"></image>
      <text>活动时间：</text>
      {{dataMap.activityStartTime}}至{{dataMap.activityEndTime}}
    </view>
    <view class="activity-text">
      <image src="../../images/people.png"></image>
      <text>活动地址：</text>
      {{dataMap.activityAddress }}
    </view>
  </view>
  <view class="activity-container">
    <view class="part">
      <view class="part-title">活动详情</view>
      <rich-text class="part-content" nodes="{{dataMap.activityDetails}}"></rich-text>
    </view>
    <view class="part">
      <view class="part-title">活动单位</view>
      <view class="part-content">
        <view class="part-info">
          <text>主办单位：</text>{{dataMap.activitySponsor}}
        </view>
        <view class="part-info">
          <text>承办单位：</text>{{dataMap.activityOrganizer}}
        </view>
        <view class="part-info">
          <text>协办单位：</text>{{dataMap.activityCoOrganizer}}
        </view>
      </view>
    </view>
  </view>
</view>
<view class="sign-box" bindtap="goSign" data-id="{{dataMap.activityLibraryId}}" wx-if="{{dataMap.activityState == '3' && dataMap.isEnroll == ''}}">
  <view class="sign-btn">报名</view>
</view>
<view class="sign-box" bindtap="cancel" data-id="{{dataMap.activityLibraryId}}" wx-if="{{dataMap.activityState != '6' && dataMap.activityState != '7' && dataMap.activityState != '99' && dataMap.isEnroll != ''}}">
  <view class="sign-btn">取消报名</view>
</view>
