<!-- packageH/credit_value/give_history/give_history.wxml -->
<view class="history-list">
  <block wx:for="{{ historyList }}" wx:for-item="historyPage" wx:key="index">
    <block wx:for="{{ historyPage }}" wx:for-item="historyItem" wx:key="id">
      <scoped-panel class="history-item">
        <view class="history-header">
          <view hover-class="none" hover-stop-propagation="false">
            受赠人：
            <image class="history-avatar" src="{{ historyItem.mark_member.avatar }}" width="35rpx" />
            {{ historyItem.mark_member.nickname }}
          </view>
          <view hover-class="none" class="history-count" hover-stop-propagation="false">
            {{ historyItem.amount }}
          </view>
        </view>
        <view class="history-footer">
          <view hover-class="none" class="history-date" hover-stop-propagation="false">
            {{ historyItem.created_at }}
          </view>
          <view hover-class="none" hover-stop-propagation="false">
            {{ historyItem.change_name }}
          </view>
        </view>
      </scoped-panel>
    </block>
  </block>
</view>
<view class="data-empty-prompt" hover-class="none" hover-stop-propagation="false" wx:if="{{ historyDataCount<=0 }}">
  ~暂无赠送记录~ {{ historyDataCount }}
</view>