<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<script src="<c:url value='/resources/js/Details_page02.js' />" type="text/javascript"></script>

<div class="dems_limit">
<div class="dlimit1"><strong>额度：</strong></div>
   <div class="dlimit2">
   		<ul>
	   	<c:forEach items="${planList }" var="list" varStatus="index">
			<li<c:if test="${index.count == 1 }"> class="checked"</c:if><c:if test="${index.count != 1 }"> class="default"</c:if> onclick="planCheckID('${list.oid}','${context.oid}','${context.logoName}')">额度<c:if test="${index.count == 1 }">一</c:if><c:if test="${index.count == 2 }">二</c:if><c:if test="${index.count == 3 }">三</c:if></li>
		</c:forEach>
        </ul>
    </div>
</div>
<div class="clear"></div>
<div id="planSelect">
<p><strong>保障项目：</strong>${product.name }（${product.productClass.name}）</p>
<c:forEach items="${planList[0].amountSpec }" var="list" varStatus="index">
<p><strong>保障额度：</strong>${list.description }</p>
</c:forEach>
<div class="dmes_price">
	<p class="pr1">价格：<b>￥${planList[0].premium }</b><strong>元</strong></p>
	<p class="pr2"><a href="<c:url value='/product/sale/${product.oid }/${planList[0].oid }?ACCESS_TOKEN=${ACCESS_TOKEN}'/>">购买</a></p>
</div>
</div>