<!--pages/integralWater.wxml-->
<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" bindtap="handleGoMemberRulesRules">积分规则</view>
	</view>

	<view wx:if="{{!integralList.length}}" class="detail-list-no">还没有任何积分记录</view>
	<view wx:if="{{integralList.length}}">
		<view class="integral-tips">
			<view class="tips-detail">显示你最近30笔变动明细</view>
			<span class="tips-much">这么多积分</span>
			<span class="tips-gomall" bindtap="handleGoIntegralMall"> 去积分商城看看>>> </span>
		</view>
		<!--积分列表-->
		<view>
			<view
			 class="detail-integral"
			 wx:for="{{integralList}}"
			 wx:for-item="item"
			 data-memberId="{{item.memberId}}"
			 data-expandInfo="{{item.expandInfo}}"
			 wx:for-index="k"
			 wx:key="{{k}}"
			 bindtap="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 wx:if="{{noMore}}" />
		</view>
	</view>
</view>
<!--goHome-->
<go-home/>

