<view class="all">
  <image mode="scaleToFill" catchTap="onClose" class="close" src="../../../image/close.png"></image>
  <form onReset="onReset">
    <view class="search flex-box flex-v-ce">
      <image mode="scaleToFill" src="../../../image/ss.png"></image>
      <input placeholder="请输入姓名或事件内容搜索" onInput="bindKeyInput" class="flex-1" value="{{keyVal}}"></input>
      <button a:if="{{isVal}}" class="delVal" formType="reset">×</button>
    </view>
  </form>
  <view class="content">
    <scroll-view class="scroll" a:if="{{list.length>0}}" scroll-y="{{true}}" onScrollToLower="onScrollToLower">
      <radio-group class="radio-group" onChange="radioChange" name="lib">
        <label  class="flex-box enevt_li border-bottom" a:for="{{list}}" key="label-{{index}}">
          <img-box name="{{item.employee_name}}" imgUrl="{{item.employee_img_url}}" height="80rpx" width="80rpx" fSize="24rpx"></img-box>
          <view class="flex-1 main-right">
            <view class="flex-box flex-v-ce">
              <view class="name flex-1">{{item.employee_name}}</view>
              <view class="red da" a:if="{{item.point>0}}">+{{item.point}}{{item.ptObj.name}}</view>
              <view class="green da" a:else>{{item.point}}{{item.ptObj.name}}</view>
            </view>
            <view class="flex-box flex-v-ce">
              <view class="context flex-1" a:if="{{item.remark}}">{{item.remark}}</view>
              <radio value="{{item}}" checked="{{item.checked}}"/>
            </view>
            <view class="flex-box flex-v-ce">
              <view class="date flex-1">{{item.event_time}}</view>
            </view>
          </view>
        </label  >
        <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
      </radio-group>
    </scroll-view>
    <no-data a:if="{{list.length==0}}"></no-data>
  </view>
  <view class="StaffFooter flex-box-end">
    <view class="staffBtn" onTap="onConfirm">确定</view>
  </view>
</view>