AmountHistory2.jsp 3.89 KB
<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<jsp:include page="${ctx }/view/common/meta.jsp" />
	<link href="${ctx }/resource/css/detail.css" rel="stylesheet" type="text/css" />
	<link href="${ctx }/resource/css/home.css" rel="stylesheet" type="text/css" />
	<link href="${ctx }/resource/css/member.css" rel="stylesheet" type="text/css" />
	<link href="${ctx }/resource/css/ration/AmountHistory.css" rel="stylesheet" type="text/css" />
	<link href="${ctx }/resource/css/page.css" rel="stylesheet" type="text/css" />
	<link href="${ctx }/resource/css/tab-slide.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="${ctx}/resource/js/pager.js"></script>
</head>

<body onload="initPager(${params.recordDetail_total},20, 'pager')">
	<jsp:include page="${ctx }/view/common/header.jsp" />
	<input type="hidden" id="page" value="${params._page}"></input> 
	<input type="hidden" id="toPage" value="recordDetail"></input>
	<input type="hidden" id="url"/>
	<div class="bigbox">
		<jsp:include page="${ctx }/view/common/menu.jsp" />
		<div class="etlist rightbox0" style="margin-top: 28px;position: relative;">
			<h2 style="text-align: left;">额度记录</h2>
			<div class="crossline"></div>
			 <ul class="tab">
				<li ><a href=" ${ctx}/user/point/record/list">额度流水</a></li>
				<li class="selected"><a href="${ctx}/user/point/record/queryDetail">获取记录</a></li>
			</ul>
			<%-- 	<div class="tab-slide bottom-border">	
				<a class="attention" href="${ctx }/user/point/record/list">额度流水</a>
				<a class="tab-seletced" href="${ctx}/user/point/record/queryDetail">获取记录</a>
			</div> --%>
			<div class="clear"></div>

			<table border="0" style="border-bottom: 1px solid #ccc;margin:10px 0 0 0 ;    width: 100%;"
				class=" etlistbg entrusttable" cellpadding="0" cellspacing="0">
				<thead>
					<tr id="head">
						<td width="5%">序号</td>
						<td width="20%">获得时间</td>
						<td width="15%">藏品名称</td>
						<td width="9%">获得数量</td>
						<td width="9%">使用数量</td>
						<td width="9%">剩余数量</td>
						<td width="15%">到期时间</td>
						<td width="10%">说明</td>
						<td width="10%">状态</td>
					</tr>
				</thead>
				<tbody>
						<c:if test="${empty recordDetail }">
							<tr>
								<td style="background:#f2f2f2;" colspan="10"><img style="width:65%" src="${ctx }/resource/images/noData.png"></img></td>	
							</tr>
						</c:if>
						<c:forEach items="${recordDetail}" var="record" varStatus="index">
						<tr style="height:35px;">
						<td>${index.index+1}</td>
						<td><fmt:formatDate value="${record.create_at}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
						<td>${record.otc_name}</td>
						<td><fmt:formatNumber value="${record.occur_count }" pattern="##.##" minFractionDigits="2" /></td>
						<td><fmt:formatNumber value="${record.user_count}" pattern="##.##" minFractionDigits="2" /></td>
						<td><fmt:formatNumber value="${record.remain_count}" pattern="##.##" minFractionDigits="2" /></td>
						<td><fmt:formatDate value="${record.end_date}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
						<td>${record.remark}</td>
						<td>${record.active_status}</td>
						</tr>
					</c:forEach>
				</tbody>
			</table>
			<c:if test="${!empty recordDetail }">
				<div class="yema" id="pager" style="width:745px;position: absolute;bottom:-100px;    right: 0; margin-right: 0;"></div>
			</c:if>
		</div>
		<div class="clear"></div>
		
	</div>

	<jsp:include page="${ctx }/view/common/bottom.jsp" />
</body>
</html>