<view>
  <view class="flex-box flex-v-ce tab">
    <view class="flex-1" onTap="openDate">
      <text class="{{showDate? 'activeView':''}}">{{month}}</text>
    </view>
    <view class="flex-1" onTap="selectTissue">
      <text class="{{showTissue? 'activeView':''}}" a:if="{{tissueValName}}">{{tissueValName}}</text>
    </view>
    <view class="flex-1">
      <picker onChange="bindPickerChange" value="{{activeIndex}}" range="{{array}}" range-key="name">
        <text  class="picker">{{array[activeIndex].name}}</text>
      </picker>
    </view>
  </view>
  <view class="flex-box flex-v-ce titles">
    <view class="flex-2">管理者</view>
    <view class="flex-1">人均奖分（次）</view>
    <view class="flex-1">人均扣分（次）</view>
  </view>
  <view class="main scroll">
    <scroll-view scroll-y="{{true}}" class="scroll" a:if="{{list.length>0}}"  onScrollToLower="onScrollToLower">
      <view catchTap="openDetail" data-item={{item}} class="flex-box flex-v-ce item border-bottom" a:for="{{list}}">
        <view class="flex-2 flex-box flex-v-ce">
          <img-box name="{{item.name}}" imgUrl="{{item.img_url}}" height="80rpx" width="80rpx" fSize="24rpx"></img-box>
          <view class="users">
            <view class="name">{{item.name}}</view>
            <view class="num">管理{{item.scope_count}}人</view>
          </view>
        </view>
        <view class="flex-1">{{item.reward_count}}</view>
        <view class="flex-1">{{item.deduct_count}}</view>
      </view>
              <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
    </scroll-view>
    <no-data a:if="{{list.length==0}}"></no-data>
  </view>

    <select-section defaultSection="{{tissueVal}}" isShow="{{showTissue}}" a:if="{{showTissue==true}}" onClose="onClose" onConfirm="onConfirmTissue"></select-section>
</view>