<view wx:if="{{list.length}}">

  <van-checkbox-group value="{{ chooseList }}" bind:change="onChange" max="{{ 2 }}" >
  <view class="cardWrapper" wx:for="{{list}}" wx:key="index">
    <view class="content">
      <view class="left">
        <view class="top">
          <van-checkbox value="{{selectList[index]}}" shape="square" bind:change="onChange" data-index="{{index}}" data-id="{{item.id}}" />
          <view class="month">{{item.time}}</view>
          <view class="address"> {{ item.meter.address }} </view>
        </view>
        <view class="middle">
          {{ item.tenement.name }}
        </view>
        <view class="bottom">
          {{ item.range[0] }} 至 {{ item.range[1] }}
        </view>
      </view>
      <view class="rightMoney"> ￥ {{ item.money }} </view>
      <view class="right">
        待开票
      </view>
    </view>
  </view>
</van-checkbox-group>
<view style="height: 60rpx"></view>

<view class="allSelect">
  <van-checkbox value="{{ allChecked }}" bind:change="onAllChecked">
    全选
  </van-checkbox>
  <view style="flex: 1; display: flex; align-items: center; justify-content: flex-end;white-space: normal;word-break: keep-all;">
    <view class="allNumber"> {{ selectCount }} </view>
    笔，共
    <view class="allMoney"> ￥ {{selectMoney}} </view>
    <van-button size="small" type="info" bind:click="next" disabled="{{!selectCount}}"> 下一步 </van-button>
  </view>
</view>
</view>

<view wx:else>
  <empty bind:refresh="onRefresh" />
</view>
