<view>
  <view class="header margin-bottom">
    <view class="flex-box flex-v-ce tab border-bottom">
      <view class="flex-1">
        <picker onChange="activeItem" value="{{minuteIndex}}" range="{{minuteArray}}" range-key="name">
          <text>{{minuteArray[minuteIndex].name}}</text>
        </picker>
      </view>
    </view>
  </view>
  <view class="main scroll">
    <scroll-view class="scroll" a:if="{{list.length>0}}" scroll-y="{{true}}">
      <view class="li border-bottom" a:for="{{list}}" catchTap="openDetail" data-item="{{item}}" key="{{item.id}}">
        <view class="flex-box li-top">
          <img-box name="{{item.receiver.name}}" a:key="{{index}}" imgUrl="{{item.receiver.img_url}}" height="80rpx" width="80rpx" fSize="24rpx"></img-box>
          <view class="flex-1" style="padding-left:16rpx;">
            <view class="flex-box-ce" style="padding-top:16rpx;">
              <text class="flex-1">{{item.receiver.name}}</text>
              <text class="red" a:if="{{item.point_config.base_point>0}}">+{{item.point_config.base_point}}  {{item.pt_name}}</text>
              <text a:else>{{item.point_config.base_point}}  {{item.pt_name}}</text>
            </view>
            <view class="content">{{item.task_name}}</view>
            <view class="flex-box li-bottom">
              <text class="flex-1 fontColorX">{{item.date}} 截止</text>
              <button type="primary" class="defBtn" catchTap="openDetail" data-item="{{item}}">查看任务</button>
            </view>
          </view>
        </view>
      </view>
      <view class="noDatas">没有更多咯</view>
    </scroll-view>
    <no-data a:if="{{list.length==0}}"></no-data>
  </view>
</view>