activityDetails.wxml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <wxs src="../../../utils/util.wxs" module="format" />
  2. <view class="wrp fg themebor">
  3. <image mode="widthFix" src="{{imgUrl + activity.coverImage}}" class="fullx"></image>
  4. </view>
  5. <view class="title wrp fg">
  6. <text>{{activity.activityTitle}}</text>
  7. </view>
  8. <view class="intop txtsub col fg">
  9. <view class="row crosscenter">
  10. <view class="posrel label txtanti">
  11. <image src="../../../imgs/act-tag.png" mode="widthFix" class="full"></image>
  12. <text>活动时间</text>
  13. </view>
  14. <text class="acttime">{{activity.activityTime}}</text>
  15. </view>
  16. <view class="row crosscenter gaptop">
  17. <view class="label subtxt">
  18. <text>报名时间</text>
  19. </view>
  20. <text>{{activity.applyStartTime + ' - ' + activity.applyEndTime}}</text>
  21. </view>
  22. <view class="row crosscenter gaptop">
  23. <view class="label subtxt">
  24. <text>活动地点</text>
  25. </view>
  26. <text>{{activity.activityLocation}}</text>
  27. </view>
  28. </view>
  29. <view class="details wrp fg">
  30. <view class="subtitle">活动详情</view>
  31. <view class="flexible wrp txtsub">
  32. <rich-text nodes="{{activity.activityContent}}"></rich-text>
  33. </view>
  34. </view>
  35. <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>