<!--packageC/redPacket/red_amount/red_amount.wxml-->
<view style="padding-bottom:200rpx">
	<view class="head">
		<view class="head-img">
			<!-- <img src="../../../assets/images/bg_1@2x.png" alt=""> -->
			<image src="{{member.avatar_image}}"></image>
			<view class='span'>{{member.nickname}}</view>
		</view>
		<view class="money">
			<view class="first">
				<view class="gray span">累计额度</view>
				<view class='span'>{{language['money']}}{{tag == 'new'? receive_logs.quota_total : receive_logs.amount_sum}}</view>
			</view>
			<view class="div">
				<view class="gray span">已使用额度</view>
				<view class='span'>{{language['money']}}{{tag == 'new'? receive_logs.use_total : receive_logs.receive_amount}}</view>
			</view>
			<view class="div">
				<view class="gray span">剩余额度</view>
				<view class='span'>{{language['money']}}{{resmun}}</view>
			</view>
		</view>
	</view>
	<view class="content">
		<view class="title">
			<view class=" first">订单号</view>
			<view class='span'>订单金额({{language['元']}})</view>
			<view class='span'>额度金额({{language['元']}})</view>
		</view>
		<view class="ul">
			<view class="li" wx:for='{{quotaLogs}}' wx:key='index'>
				<view class="first ">
					<view class='span'>{{item.order_sn}}</view>
					<view class="time span">{{item.created_at}}</view>
				</view>
				<view class="div" style="line-height: 2rem;">
					{{item.amount}}
				</view>
				<view class="div" style="line-height: 2rem;color: #ff2a52;">
					{{item.receive_amount}}
				</view>
			</view>
		</view>
	</view>
</view>
