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.

41 lines
2.4 KiB

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