<!-- 积分 -->
<view class="integra-top">
	<view class="integra-name">
		<block wx:if="{{type == 'silver'}}">白金账户余额</block>
		<!-- <block wx:elif="{{type == 'gold'}}">金卡余额数</block> -->
		<block wx:elif="{{type == 'drill'}}">钻石账户余额</block>
	</view>
	<view class="integra-info">
		<view class="integra-right">
			<view class="integra-title"><text>可用余额</text><image src="/static/icon/integra_icon00.png"></image></view>
			<view class="integra-number">{{number}}</view>
			<view class="integra-btn"><text>可用余额，入账记录</text></view>
		</view>
		<view class="integra-right">
			<view class="integra-title"><text>待发放</text><image src="/static/icon/integra_icon01.png"></image></view>
			<view class="integra-number">{{blockeds}}</view>
			<navigator hover-class="none" url="/pages/frozen/frozen?type={{type}}&blockeds={{blockeds}}" class="integra-btn integra-blue">立即查询<image src="/static/icon/rightsArrow.png"></image></navigator>
		</view>
	</view>
</view>

<view class="integra-cont" wx:if="{{accounts != ''}}">
	<view class="integra-cont-name">入账记录</view>
	<view class="integra-list" wx:for="{{accounts}}" wx:key="integras">
		<view class="integra-text">
			<view class="integra-title">
				{{item.title}}
			</view>
			<view class="integra-oints">
				{{item.variable}}
			</view>
		</view>
		<view class="integra-date">
			<view class="integra-time">
				<text>有效期：</text>
				{{item.created_at}} 至 {{item.expired_at}}
			</view>
			<!-- <view class="integra-time">
				<text>到期时间：</text>
			</view> -->
		</view>
	</view>
	<view class="pagesLoding" wx:if="{{lodingStats}}">
		<block wx:if="{{page.has_more}}">
			<image class="pagesLoding-icon" src="/static/icon/refresh_loding.gif" mode="widthFix"></image>加载中...
		</block>
		<block wx:else>
			没有更多了~
		</block>
	</view>
</view>

<!-- 暂无内容 -->
<view class="pack-center pages-hint" wx:else>
	<image src="https://storage.funnyzhibo.com/images/2020/05/06/staff_null.png"></image>
	<view>抱歉，目前暂无内容~</view>
</view>