<!--packageI/personRed/personRedRecord/personRedRecord.wxml-->
<view class="receive-record">
  <view class="grant-info">
    <view class="grant-avatar">
      <image src="{{redpack_info.thumb}}"></image>
    </view>
    <view class="grant-name">{{redpack_info.nickname}}的红包</view>
    <view class="grant-money">￥{{receive_amount}}</view>
  </view>

  <view class="receive-info">
    <view class="num-box">
      <view class="gift-total">红包总数量: <text class="red-txt">{{redpack_info.number}}</text> 个</view>
      <view class="gift-surplus">剩余红包数量： <text class="red-txt">{{redpack_info.surplus_number}}</text>个</view>
    </view>
    <view class="receive-item" wx:for="{{receive_records}}" wx:key="index">
      <image src="{{item.member? item.member.avatar_image : ''}}" class="receive-avatar"></image>
      <view class="receive-user">
        <view class="name">{{item.member? item.member.nickname : ''}}</view>
        <view class="time">{{item.created_at}}</view>
      </view>
      <view class="moeny">{{item.amount}}</view>
    </view>
    <view class="more" wx:if="{{finished}}" style="color:#000; text-align: center; height: 120rpx; line-height: 120rpx;font-size: 30rpx;">---没有更多了---</view>
  </view>
</view>
