<view id="love_list">
  <van-nav-bar style="fontSize:14px;" title="{{love_name}}明细" />
  <view class="coupon_card">
    <van-tabs active="{{ active }}" tab-active-class="ative" bind:change="onChange">
      <van-tab title="全部交易">
        <!-- 全部 -->
        <view class="tbs" wx:for='{{allData}}' wx:key="index">
          <view class="left titles">
            <view class="source-name">{{item.source_name}}</view>
            <view class="remark">{{ item.has_one_love_recharge_records?item.has_one_love_recharge_records.remark:'' }}</view>
          </view>
          <view class="right reds">{{item.change_value}}</view>
          <view class="left">{{item.created_at}}</view>
          <view class="right">{{item.value_type_name}}</view>
          <!-- <view class="left assignee">
              <view class="assignee-text">受让人</view>
              <view class="assignee-face">
                <image src="https://img0.baidu.com/it/u=1949194731,3729628329&fm=26&fmt=auto"></image>
              </view>
              <view class="assignee-text">昵称</view>
          </view> -->
        </view>
      </van-tab>
      <van-tab title="{{ loveLang.change_income || '收入' }}">
        <!-- 收入 -->
        <view class="tbs" wx:for='{{incomeData}}' wx:key="index">
           <view class="left titles">
              <view class="source-name">{{item.source_name}}</view>
              <view class="remark">{{ item.has_one_love_recharge_records?item.has_one_love_recharge_records.remark:'' }}</view>
            </view>
          <view class="right reds">{{item.change_value}}</view>
          <view class="left">{{item.created_at}}</view>
          <view class="right">{{item.value_type_name}}</view>
        </view>
      </van-tab>
      <van-tab title="{{ loveLang.change_expend || '支出' }}">
        <!-- 支出 -->
        <view class="tbs" wx:for='{{expendData}}' wx:key="index">
           <view class="left titles">
              <view class="source-name">{{item.source_name}}</view>
              <view class="remark">{{ item.has_one_love_recharge_records?item.has_one_love_recharge_records.remark:'' }}</view>
            </view>
          <view class="right reds">{{item.change_value}}</view>
          <view class="left">{{item.created_at}}</view>
          <view class="right">{{item.value_type_name}}</view>
        </view>
      </van-tab>
    </van-tabs>
  </view>
</view>