<!--packageH/superior_payment/superiorPaymentExtension/superiorPaymentExtension.wxml-->


<view class="header-wrapper">
  <view class="user-info">
    <view class="face">
      <image src="{{basics.avatar_image}}"></image>
    </view>
    <view class="name">{{basics.nickname}}</view>
  </view>
</view>

<view class="share_info">
  <view>
    <text>￥{{basics.reward}}</text>
    累计代付奖励
  </view>
  <view>
    <text>￥{{basics.commission}}</text>
    累计代付佣金奖励
  </view>
</view>

<van-tabs active="{{activeName}}">
  <van-tab name="first" title="代付记录">
  </van-tab>
</van-tabs>
<view class="list-items">
  <view wx:for="{{listData}}" class="item" wx:key="{{index}}">
    <view class="header">
      <view class="order_sn">{{item.order_sn}}</view>
      <view class="time">{{item.created_at}}</view>
    </view>
    <view class="desc-wrapper">
      <view class="desc-item">
        <view class="price">{{item.reward}}</view>
        <view class="text">代付奖励</view>
      </view>
      <view class="desc-item">
        <view class="price">{{item.commission}}</view>
        <view class="text">代付佣金奖励</view>
      </view>
      <view class="desc-item">
        <view class="text">{{item.status_name}}</view>
      </view>
    </view>


    <view class="record" data-id="{{item.id}}" bindtap="toDetailsInfo">
      <text class="left look">查看记录</text>
      <i class="fa fa-angle-right"></i>
    </view>
  </view>
</view>