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.

45 lines
2.3 KiB

  1. <!-- 查询列表 有结果 -->
  2. <view class="tabTit box tc bg_f clearfix">
  3. <view class="flex1{{!tab[index]?' active':''}} fl" wx:for="{{tabTxt}}" wx:key="index" data-index="{{index}}" data-idss="{{item.idss}}" bindtap="filterTab">
  4. <text wx:if="{{index==0}}" class="{{index==idss?'active3':''}}">{{tabTxt[0].title}}</text>
  5. <text wx:if="{{index!=0}}" class="{{index==idss?'active3':''}}">{{item.title}}</text>
  6. <image src="../../static/images/arrow.png"></image>
  7. </view>
  8. </view>
  9. <!-- 日期 -->
  10. <view class="tabLayer tc" hidden="{{tab[1]}}">
  11. <view class="picker_group">
  12. <picker mode="date" value="{{date}}" end="{{date2}}" fields="day" bindchange="bindDateChange1">
  13. <view wx:if="{{!date}}" class="picker">开始日期</view>
  14. <view wx:if="{{date}}" class="picker">{{date}}</view>
  15. </picker>
  16. <picker mode="date" value="{{date2}}" start="{{date}}" fields="day" bindchange="bindDateChange2">
  17. <view wx:if="{{!date2}}" class="picker">结束日期</view>
  18. <view wx:if="{{date2}}" class="picker">{{date2}}</view>
  19. </picker>
  20. <button class='btns' data-ids="1" hover-class='active1' bindtap='search' data-index='dateindex1'>查询</button>
  21. </view>
  22. </view>
  23. <!-- 状态 -->
  24. <view class="tabLayer tc clearfix" hidden="{{tab[2]}}">
  25. <a class='{{status===item.id?"active2":""}}' data-ids="3" wx:for="{{statustypes}}" wx:key="index" wx:if="index" data-id="{{item.id}}" bindtap='search' data-status='{{item.status}}'>
  26. {{item.name}}
  27. </a>
  28. </view>
  29. <view class='lists'>
  30. <view wx:for="{{allBillList}}" wx:key="index">
  31. <view class="{{item.startFlag === 0 ? 'list noList' : item.startFlag === 1 ? 'list list1' : 'list'}}">
  32. <view class='title'>{{item.name}} </view>
  33. <view class='txt'>活动时间:{{item.startDate}} - {{item.endDate}}</view>
  34. <view class='txt'>参与条件:订单满 {{item.limitMoney}} 元</view>
  35. <view class='txt'>活动状态:{{item.statusStr}}</view>
  36. <view class="button" data-id="{{item.id}}" data-flag="{{item.startFlag}}" bindtap="viewDetail">{{item.startBtn}}</view>
  37. </view>
  38. </view>
  39. </view>
  40. <!-- </scroll-view> -->
  41. <view wx:if="{{allBillList.length!==0}}" class="loading {{allBillList.length==0?'mr':''}}">{{content}}</view>
  42. <!-- 查询列表 无结果 -->
  43. <view class='recond' wx:if="{{allBillList.length==0}}">暂无数据!</view>