<!--packageD/team_sell/getCouponLis/getCouponLis.wxml-->
<view id="listBox">
  <view wx:if="{{info.length <= '0'}}" style="width: 100%;text-align: center;color: #666;margin-top: 100rpx;">暂无记录...</view>
  <block wx:for="{{info}}" wx:key="index" wx:if="{{id!=5}}">
    <view class="lisBox" catchtap="taplist" data-ind="{{index}}">
      <view class="left">
        <view class="name">{{item.order_sn}}</view>
        <view style="font-size: 24rpx;">{{item.created_at}}</view>
      </view>
      <view class="right">
        <view class="money">+{{item.dividend_amount}}</view>
          <view style="font-size: 24rpx;" wx:if="{{item.status==0}}">未结算</view>
        <view style="font-size: 24rpx;" wx:if="{{item.status==1}}">已结算</view>
      </view>
    </view>
    <view class="{{item.over?'nexta':'nexta_dis'}}">
      <image src="{{item.has_one_member.avatar_image}}" style="width:90rpx;height:90rpx;"></image>
      <view class="nextbox">
        <view class="name" style="margin-left:20rpx;">{{item.has_one_member.nickname}}</view>
        <view style="color:#6666;">+{{item.amount}}</view>
      </view>
    </view>
    <view style="width:100%;height:10rpx;background:#f9f9f9;"></view>
  </block>
    <block wx:if="{{id==5}}" wx:for="{{info}}" wx:key="index">
       <view class="list-wrap"
           >
        <view class="list-other">
          <view class="title">
            <text >{{item.created_at}}</text>
            <text style="color: #ff2c29;">+{{ item.dividend_amount}}</text>
          </view>
          <view class="content">
            <view class="left">
              <view>团队的商品订单业绩</view>
              <view class="cash">{{item.total_price}}</view>
            </view>
            <view class="right">
              <view>团队商品业绩的利润</view>
              <view class="cash">{{item.amount}}</view>
            </view>
          </view>
           <view style="width:100%;height:10rpx;background:#f9f9f9;"></view>
        </view>
      </view>
    </block>
</view>