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.

33 lines
1.7KB

  1. <!--package_A/page/alltask/index.wxml-->
  2. <view class="task_container">
  3. <!-- 筛选条件 -->
  4. <view class="select_container">
  5. <picker value="{{startTime}}" mode="date" data-type="start" bindchange="selectTime">
  6. <view class="picker_box">
  7. <view wx:if="{{startTime}}">{{startTime}}</view>
  8. <view wx:else>开始日期</view>
  9. <image style="width: 20rpx; height: 12rpx;margin-left: 15rpx;" src="../../../assets/img/select.png"></image>
  10. </view>
  11. </picker>
  12. <text>~</text>
  13. <picker value="{{endTime}}" mode="date" start="{{startTime}}" data-type="end" bindchange="selectTime">
  14. <view class="picker_box">
  15. <view wx:if="{{endTime}}">{{endTime}}</view>
  16. <view wx:else>结束日期</view>
  17. <image style="width: 20rpx; height: 12rpx;margin-left: 15rpx;" src="../../../assets/img/select.png"></image>
  18. </view>
  19. </picker>
  20. </view>
  21. <!-- 列表 -->
  22. <List id="list" class="task_list" url="{{current}}" bind:update-list="updateList" list="{{list}}" bind:reset-list="resetList" params="{{params}}">
  23. <view class="task_item" data-current="{{index}}" wx:for="{{list}}" wx:key="index">
  24. <view class="task_main" data-item="{{item}}" bindtap="showDetail">
  25. <view class="card_head">
  26. <text style="font-size: 30rpx;color: rgba(0, 0, 0, 0.84);">登记时间:{{item.createTime || ''}}</text>
  27. <text style="font-size: 30rpx;">{{uploadType[item.registerType]}}</text>
  28. </view>
  29. <image-info data="{{item}}" type="list"></image-info>
  30. </view>
  31. </view>
  32. </List>
  33. </view>