<wxs src="../../../utils/util.wxs" module="format" />
<view class="wrp fg themebor">
  <image mode="widthFix" src="{{imgUrl + activity.coverImage}}" class="fullx"></image>
</view>
<view class="title wrp fg">
  <text>{{activity.activityTitle}}</text>
</view>

<view class="intop txtsub col fg">
  <view class="row crosscenter">
    <view class="posrel label txtanti">
      <image src="../../../imgs/act-tag.png" mode="widthFix" class="full"></image>
      <text>活动时间</text>
    </view>
    <text class="acttime">{{activity.activityTime}}</text>
  </view>
  <view class="row crosscenter gaptop">
    <view class="label subtxt">
      <text>报名时间</text>
    </view>
    <text>{{activity.applyStartTime + ' - ' + activity.applyEndTime}}</text>
  </view>
  <view class="row crosscenter gaptop">
    <view class="label subtxt">
      <text>活动地点</text>
    </view>
    <text>{{activity.activityLocation}}</text>
  </view>
</view>

<view class="details wrp fg">
  <view class="subtitle">活动详情</view>
  <view class="flexible wrp txtsub">
    <rich-text nodes="{{activity.activityContent}}"></rich-text>
  </view>
</view>

<view class="btn" bindtap="{{format.valueOf(activity.applyEndTime)<format.valueOf()?'':format.valueOf(activity.applyStartTime)>format.valueOf()?'':'clickBotbtn'}}">{{format.valueOf(activity.applyEndTime)<format.valueOf()?'已结束':format.valueOf(activity.applyStartTime)>format.valueOf()?'未开始':'报名中'}}</view>