index.wxml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <Yl_nav search list='{{navList}}' bind:onClick='navClick' bindonSearch="onSearch" />
  2. <!-- 显示类型 -->
  3. <van-action-sheet show="{{ classShow }}" actions="{{ classActions }}" cancel-text="取消" bind:cancel="classClose" bind:select="classSelect" />
  4. <view class="total">共{{content.total}}个</view>
  5. <My_listBox id='ListBox' height="{{listHeight}}" bind:getlist='getList'>
  6. <List list='{{list}}' />
  7. <view style="height: 80rpx;" />
  8. </My_listBox>
  9. <!-- 筛选条件 -->
  10. <Yl_filtrate show="{{filter.show}}" bind:handle="handleFilter">
  11. <view class="groud" wx:if="{{filter.stageList.length!=0}}">
  12. <view class="label">
  13. 项目阶段
  14. </view>
  15. <view class="content">
  16. <van-button custom-class='but {{filter.stageActive==item.stagename?"active":""}}' wx:for="{{filter.stageList}}" wx:key="item.stagename" bindtap="stageStatus" data-item="{{item}}">{{item.stagename}}</van-button>
  17. </view>
  18. </view>
  19. <view class="groud" wx:if="{{filter.tagList.length!=0}}">
  20. <view class="label">
  21. 项目标签
  22. </view>
  23. <view class="content">
  24. <van-button custom-class='but {{filter.tagActive==item.tag?"active":""}}' wx:for="{{filter.tagList}}" wx:key="item.sys_systemtagdetailid" bindtap="selectTag" data-item="{{item}}">{{item.tag}}</van-button>
  25. </view>
  26. </view>
  27. <view class="groud" wx:if="{{filter.projectTypeList.length!=0}}">
  28. <view class="label">
  29. 项目类型
  30. </view>
  31. <view class="content">
  32. <van-button custom-class='but {{filter.typeActive==item.value?"active":""}}' wx:for="{{filter.projectTypeList}}" wx:key="item.rowindex" bindtap="selectTypeName" data-item="{{item}}">{{item.value}}</van-button>
  33. </view>
  34. </view>
  35. <view class="groud">
  36. <view class="label">
  37. 项目状态
  38. </view>
  39. <view class="content">
  40. <van-button custom-class='but {{filter.statusActive==item?"active":""}}' wx:for="{{filter.status}}" wx:key="item" bindtap="selectStatus" data-item="{{item}}">{{item}}</van-button>
  41. </view>
  42. </view>
  43. <view class="groud">
  44. <view class="label">
  45. 时间范围
  46. </view>
  47. <view class="content time">
  48. <picker mode="date" bindchange='changeDate' data-name="startdate">
  49. <view class="tbox">{{filter.startdate||'开始时间'}}</view>
  50. </picker>
  51. <view class="partition">-</view>
  52. <picker mode="date" bindchange='changeDate' data-name="enddate">
  53. <view class="tbox">{{filter.enddate||"结束时间"}}</view>
  54. </picker>
  55. </view>
  56. </view>
  57. </Yl_filtrate>
  58. <!-- 浮动按钮 -->
  59. <Yl_FloatingButton bindtap="toAdd" />