<!--packageE/others/cloudwarehouse/cloudRelease/cloudRelease.wxml-->
<view id="cloudRelease">
  <view class="top_a">
    <view class="top_a_a">
      <image src="{{member.avatar_image}}" alt="" />
      <view class='span'>{{ member.realname }}</view>
    </view>
    <view class="top_b">已释放总额 ￥{{ info.total_dividend_amount }}</view>
  </view>
  <view style="height: 20.16rpx; background-color: #ebebeb"></view>
  <van-tabs active="active" bindchange="tabChange">
    <van-tab title="解冻记录"></van-tab>
    <van-tab title="待释放记录"></van-tab>
  </van-tabs>
  <view class="line"></view>
  <block wx:if="{{active == 0}}">
    <view class="lis" wx:for="{{list}}" wx:key="index" catchtap="tapDetail" data-id="{{item.id}}"  data-item="{{item}}">
      <view class="lis_left">
        <view class="span" style="font-size: 25.92rpx; color: #333333; marginbottom: 24rpx">ID:{{ item.id }}</view>
        <view class="span" style="font-size: 24rpx; color: #8c8c8c">{{ item.created_at }}</view>
      </view>
      <view class="lis_right">+{{ item.dividend_amount }}</view>
    </view>
  </block>
  <block wx:if="{{active == 1}}">
    <view class="list" wx:for="{{list}}" wx:key="index" catchtap="tapDetail" data-id="{{item.id}}" data-item="{{item}}">
      <view class="li">
        <view class="li_l">
          <image src="{{item.thumb}}" alt="" />
        </view>
        <view class="li_r">
          <view class="li_r_t">
            {{ item.title }}
          </view>
          <view class="li_r_b">
            <view class="num">待释放数量：{{ item.total_buy_log }}</view>
            <view class="li_r_b_r">查看详情 <van-icon name="arrow" /></view>
          </view>
        </view>
      </view>
    </view>
  </block>
</view>