<!-- packageH/credit_value/activate_history/activate_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">激活ID：{{ historyItem.id }}</view> -->
          <view hover-class="none" class="history-date" hover-stop-propagation="false">
            {{ historyItem.created_at }}
          </view>
        </view>
        <view class="history-footer">
          <view hover-class="none" hover-stop-propagation="false">基数：{{ historyItem.basic }}</view>
          <view hover-class="none" hover-stop-propagation="false">比例：{{ historyItem.ratio }}%</view>
          <view hover-class="none" hover-stop-propagation="false">
            激活值：
            <span>{{ historyItem.amounts }}</span>
          </view>
        </view>
      </scoped-panel>
    </block>
  </block>
</view>
<view class="data-empty-prompt" hover-class="none" hover-stop-propagation="false" wx:if="{{ historyDataCount<=0 }}">
  ~暂无激活记录~
</view>