<!-- 积分商城 -->
<view class="integral-index">
  <view class="num-box">
    <view class="num-item">
      <view class="num">{{scoreInfo.totalRechargedPoints||0}}</view>
      <view class="desc">总充值积分</view>
    </view>
    <view class="num-item">
      <view class="num">{{scoreInfo.totalAvailablePoints||0}}</view>
      <view class="desc">当前可用积分</view>
    </view>
    <view class="num-item">
      <view class="num">{{scoreInfo.expiredPoints||0}}</view>
      <view class="desc">已过期积分</view>
    </view>
    <view class="num-item">
      <view class="num">{{scoreInfo.consumedPoints||0}}</view>
      <view class="desc">已消耗积分</view>
    </view>
  </view>
  <view class="integral-list">
      <view class="title">可用积分记录</view>
      <view class="item" wx:for="{{scoreProdList}}" wx:key="prodId" >
        <view class="title-box">
          <view class="title">{{item.pointsTypeStr}}</view>
          <view class="num {{item.variablePointsStr>0?'green':''}}">{{item.variablePointsStr}}</view>
        </view>
        <view class="time-box">
          <view class="time">{{item.creationDateStr}}</view>
          <view class="total">当前可用积分 {{item.totalAvailablePoints}}</view>
        </view>
      </view>
    <view class="empty" wx:if="{{!scoreProdList.length}}">暂无数据</view>
    <view class="empty all" wx:if="{{current==pages}}">已经到底啦~</view>
  </view>
</view>