<!--pages/integralWater.axml-->
<view class="integral">
  <view class="integral-detail">
    <view class="integral-num">
      <view class="num-current">{{integralNum}}</view>
      <view class="num-title">当前积分</view>
    </view>
    <view class="integral-vip-rules" onTap="handleGoMemberRulesRules">积分规则</view>
  </view>
  <view a:if="{{!integralList.length}}" class="detail-list-no">还没有任何积分记录</view>
  <view a:if="{{integralList.length}}">
    <view class="integral-tips">
      <view class="tips-detail">显示你最近30笔变动明细</view>
      <view class="tips-much">
        这么多积分
        <view class="tips-gomall" catchTap="handleGoIntegralMall"> 去积分商城看看>>> </view>
      </view>
    </view>
    <!--积分列表-->
    <view>
      <view
        class="detail-integral"
        a:for="{{integralList}}"
        a:for-item="item"
        data-memberId="{{item.memberId}}"
        data-expandInfo="{{item.expandInfo}}"
        a:for-index="k"
        a:key="{{k}}"
        onTap="handleGoDetail"
      >
        <view class="detail-left">
          <view class="detail-title">{{item.changeTypeDesc}}</view>
          <view class="detail-time">{{item.changeTime}}</view>
        </view>
        <view class="detail-num {{item.operation==true ? 'add' : 'less'}}">{{item.operation == 1? '+':''}}{{item.operation*item.changeValue}}</view>
      </view>
      <no-more a:if="{{noMore}}"/>
    </view>
  </view>
</view>