<!--packageI/handwrittenEsign/handwrittenEsignLog/handwrittenEsignLog.wxml-->
<van-sticky>
  <van-search value="{{ keyword }}" placeholder="请输入协议名称" bind:search="onSearch" bind:change="onChangeKey"/>
</van-sticky>
<van-tabs active="{{ activeName }}" bind:change="handleClick" sticky offset-top='54'>
  <van-tab title="{{items.name}}" wx:for="{{titleArr}}" wx:for-index="ind" wx:for-item="items">
    <view class="list" wx:if="{{dataList[ind] && dataList[ind].list.length>0}}">
      <view class="list-child" wx:for="{{dataList[ind].list}}" catchtap="toUrl" data-id="{{item.id}}">
        <view class="list-top">
          <view class="title">{{ item.title }}</view>
          <view class="status">{{ item.sign_sattus == 0 ? "未签" : "已签" }}</view>
        </view>
        <view class="list-bottom">
          <view style="color: #f14e4e;font-size: 14px;margin-right: 28px;">￥{{ item.amount }}</view>
          <view style="color: #7d7d7d;font-size: 12px;" wx:if="{{Number(item.point) > 0}}">奖励{{ item.point }}积分</view>
        </view>
      </view>
    </view>
  </van-tab>
</van-tabs>