拓恒飞手平台小程序
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.

22 lines
1.4KB

  1. <!--package_A/page/alltask/index.wxml-->
  2. <view class="task_container">
  3. <!-- 筛选条件 -->
  4. <view class="select_container">
  5. <Select data="{{sortList}}" data-type="sortStartTime" rangeKey="label" current="{{sortCurrent}}" bind:updateChange="updatePicker"></Select>
  6. <Select data="{{statusList}}" data-type="status" rangeKey="label" current="{{statusCurrent}}" bind:updateChange="updatePicker"></Select>
  7. <Select data="{{platformOptions}}" data-type="platformName" rangeKey="platformName" current="{{platformCurrent}}" bind:updateChange="updatePicker"></Select>
  8. <picker value="{{date}}" mode="date" bindchange="selectTime" style="width: 160rpx;padding-right: 20rpx;">
  9. <view wx:if="{{date}}">{{date}}</view>
  10. <view wx:else>日期</view>
  11. </picker>
  12. </view>
  13. <!-- 列表 -->
  14. <List id="list" class="task_list" url="{{current}}" bind:update-list="updateList" list="{{list}}" bind:reset-list="resetList" params="{{params}}">
  15. <view class="task_item" data-current="{{index}}" wx:for="{{list}}" wx:key="index">
  16. <image style="width:60rpx;height:60rpx;border-radius:50%;flex-shrink: 0;" src="{{item.avatar || '../../../assets/img/home.png'}}"></image>
  17. <view class="task_main" data-item="{{item}}" bindtap="showDetail">
  18. <task-info data="{{item}}" type="list"></task-info>
  19. </view>
  20. </view>
  21. </List>
  22. </view>