<view>
  <van-sticky scroll-top="0">
    <dk-navbar titleFontColor="#000000" navbarTitle="客户收支表" bind:clickBack="handleNavBack" operateShow="{{ guideUrl ? true: false}}" operateUrl="{{guideUrl}}" bind:getNavbarHeight="getNavbarHeight"/>
    <dk-dropdown-menu model:value="{{searchForm}}" menuList="{{searchContent}}" pullMenuList="{{pullMenuList}}" navBarHeight="{{navBarHeight}}" bind:search="searchData" searchTextPlaceholder="{{placeholder}}"></dk-dropdown-menu>
  </van-sticky>
  <view class="content">
    <view class="item-card" wx:for="{{cardDate}}" wx:for-index="index" wx:for-item="item">
      <view class="card-title">
        <view class="name-title">
          <view class="name">{{item.cusName}}</view>
          <view class="telephone">/{{item.cusPhone}}</view>
        </view>
        <view class="money-title">
          <view class="money-title-content">
            <view style="font-size: 20rpx;">
              实际欠款
            </view>
            <view class="icon-view">
              <van-icon size="12px" name="question-o" />
            </view>
            <dk-cell left="0rpx" height="45rpx" contentRight="{{false}}" contentFontSize="14" contentColor="#002340" contentFontWeight="bold" content="{{item.arrears}}"></dk-cell>
          </view>
        </view>
      </view>
      <view class="card-content">
        <view class="content-item" wx:for="{{item.item}}" wx:for-index="index" wx:for-item="itemInfo">
          <view class="top">
            <view class="title">{{itemInfo.biznisNo}}</view>
            <dk-cell left="0rpx" height="45rpx" contentRight="{{false}}" contentFontSize="14" contentColor="#A5814A"
              contentFontWeight="bold" content="{{itemInfo.outAmt || itemInfo.returnAmt}}"></dk-cell>
          </view>
          <view class="under">
            <view class="type">{{itemInfo.type}}</view>
            <view class="data">{{itemInfo.accDate}}</view>
          </view>
        </view>
        <view class="total">
          <view class="total-title">合计</view>
          <dk-cell left="0rpx" height="45rpx" contentRight="{{false}}" contentFontSize="17" contentColor="#A5814A"
            contentFontWeight="bold" content="{{item.totalMoney? item.totalMoney: 0}}"></dk-cell>
        </view>
      </view>
    </view>
  </view>
  <view style="height: 200rpx;"></view>
</view>