<!--packageI/independenceBalance/storeBalanceDetail/storeBalanceDetail.wxml-->
<van-tabs active="{{active}}" bind:change="swichTabTItem">
  <van-tab title="全部"></van-tab>
  <van-tab title="收入"></van-tab>
  <van-tab title="支出"></van-tab>
</van-tabs>
<view wx:if="{{recordsList && recordsList.length > 0}}">
  <block wx:for="{{recordsList}}" wx:key="index">
    <view class="tbs" catchtap="goDetail" data-id="{{item.id}}" data-name="store">
      <view class="item2">
        <view >{{ item.mold_name }}</view>
        <view >{{ title }}：{{ item.after_balance }}</view>
        <view class="item1 li">{{ item.created_at }}
        </view>
      </view>
      <view class="item3" wx:if="{{item.type == 1}}">
        <view class="add">+ {{ item.change_balance }}</view>
      </view>
      <view class="item3" wx:if="{{item.type == -1}}">
        <view class="reduce">{{ item.change_balance }}</view>
      </view>
    </view>
  </block>
</view>
<yz-blank wx:if="{{recordsList <= 0}}"></yz-blank>