C端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
2.1 KiB

  1. <view class="market">
  2. <i-tabs class='tabs' current="{{ current_scroll }}" scroll bindchange="handleChangeScroll">
  3. <i-tab class='i-tab' wx:for="{{tabs}}" wx:key="unique" key="{{item.key}}" title="{{item.name}}"></i-tab>
  4. </i-tabs>
  5. <view style='padding-top:114rpx;'>
  6. <view wx:for='{{list}}' wx:if="{{list.length!=0}}" class='section' wx:key='{{index}}'>
  7. <view class='detail_msg' bindtap="gotoDetail" data-id='{{item.id}}'>
  8. <view class='logo'>
  9. <image src='{{item.coverImg}}'></image>
  10. </view>
  11. <view class='info'>
  12. <view>{{item.title}}</view>
  13. <image class="frImg" wx:if="{{item.status == 0&&key==0}}" src="{{orangeImg}}" mode="aspectFill" lazy-load="true"><text>报名中</text></image>
  14. <image class="frImg" wx:if="{{item.status == 1&&key==0}}" src="{{blueImg}}" mode="aspectFill" lazy-load="true"><text>报名成功</text></image>
  15. <image class="frImg" wx:if="{{item.status == 2&&key==0}}" src="{{grayImg}}" mode="aspectFill" lazy-load="true"><text>报名失败</text></image>
  16. <!-- <image class="frImg" wx:if="{{item.status == 3&&key==0}}" src="{{grayImg}}" mode="aspectFill" lazy-load="true"><text>活动结束</text></image> -->
  17. <view>
  18. <!-- <text wx:if="{{item.status == 0&&key==0}}" style='font-size:30rpx;font-weight:bold;'>报名中</text>
  19. <text wx:if="{{item.status == 1&&key==0}}" style='font-size:30rpx;font-weight:bold;'>报名成功</text>
  20. <text wx:if="{{item.status == 2&&key==0}}" style='font-size:30rpx;font-weight:bold;'>报名失败</text> -->
  21. <text>{{item.activityStartTime}}--{{item.activityEndTime}}</text>
  22. <!-- <text>活动结束日期:{{item.activityEndTime}}</text> -->
  23. </view>
  24. </view>
  25. </view>
  26. </view>
  27. <view class="dingdan" wx:if="{{list.length==0}}">
  28. <image src="{{noCoupon}}" mode="widthFix"></image>
  29. <text>您还没有参加活动</text>
  30. <button class='goback' bindtap='goback'>返回首页</button>
  31. </view>
  32. </view>
  33. <view class="loading" wx:if="{{loading}}">
  34. <image src="{{loadingUrl}}" mode="widthFix"></image>{{content}}
  35. </view>
  36. </view>