<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" /><meta http-equiv="X-UA-Compatible" content="IE=9" />
<title>支付详情</title>
<link href="<c:url value='/resources/css/header.css' />" rel="stylesheet" type="text/css" />
<link href="<c:url value='/resources/css/home.css' />" rel="stylesheet" type="text/css" />
<link href="<c:url value='/resources/css/bxcp.css' />" rel="stylesheet" type="text/css" />
<link href="<c:url value='/resources/css/footer.css' />" rel="stylesheet" type="text/css" />

<!--[if IE 6]>
<script type="text/javascript" src="js/Png.js"></script>
<script type="text/javascript">
EvPNG.fix('div, ul, ol, li, img, input, a, span, b, em, p, h1, h2, h3, h4, h5, h6');
</script>
<![endif]-->
</head>

<body>
<div id="box">
    <div class="main">
    <div class=" bxcp_main">
     	<div class="banner_area_b">
        	<div class="banner_b">
            	<img src="<c:url value='/resources/images/bxcp_banner.jpg'/>" />
            </div>
           
        </div>
         <div class="banner_txt">
            	<ul>
                	<li class="<c:choose><c:when test="${productGroupType.name eq  'accident'}">ywbx_a</c:when><c:otherwise>jnly_a</c:otherwise></c:choose>"><a href="<c:url value='/product/accident?ACCESS_TOKEN=${ACCESS_TOKEN}' />">意外保险</a></li>
                    <li class="<c:choose><c:when test="${productGroupType.name eq  'trip'}">ywbx_a</c:when><c:otherwise>jnly_a</c:otherwise></c:choose>"><a href="<c:url value='/product/trip?ACCESS_TOKEN=${ACCESS_TOKEN}' />">境内旅游保险</a></li>
                    <li class="<c:choose><c:when test="${productGroupType.name eq  'medical'}">ywbx_a</c:when><c:otherwise>jnly_a</c:otherwise></c:choose>"><a href="<c:url value='/product/medical?ACCESS_TOKEN=${ACCESS_TOKEN}' />">高端医疗</a></li>
                    <li class="<c:choose><c:when test="${productGroupType.name eq  'overseasTrip'}">ywbx_a</c:when><c:otherwise>jnly_a</c:otherwise></c:choose>"><a href="<c:url value='/product/overseasTrip?ACCESS_TOKEN=${ACCESS_TOKEN}' />">境外旅游保险</a></li>
	             </ul>
            </div>
          <div class="main_content main_success">
          	<div class="success">
            	<div class="success_top">
            	<c:choose>
					<c:when test="${pay_result }">
	                	<div class="success_img">
	                    	<img src="<c:url value='/resources/images/pay_success.png'/>" />
	                    </div>
	                    <div class="success_txt1">
	                    	<div class="gx">
	                        	<p>恭喜您，支付成功！</p>
	                        </div>
	                        
	                        <div class="zf">
	                        	<p>您已成功支付<span>￥{pay_amount}</span>元</p>
	                        </div>
	                        
	                    </div>
	                  </c:when>
	                  <c:otherwise>  
	                    <div class="success_img">
	                    	<img src="<c:url value='/resources/images/pay_failure.png'/>" />
	                    </div>
	                    <div class="success_txt1">
	                    	<div class="gx">
	                        	<p>对不起，您支付未成功！</p>
	                        </div>
	                    </div>
	                  </c:otherwise>  
                  </c:choose>
                    <div class="clear"></div>
                </div>
                <div class="success_middle"></div>
                <div class="success_bottom">
                	<p>您还可以<a href="<c:url value='/product/accident?ACCESS_TOKEN=${ACCESS_TOKEN}' />">继续购物</a><a href="<c:url value='/policy/policyList/init?ACCESS_TOKEN=${ACCESS_TOKEN}'/>">查看我的保单</a></p>
                </div>
            </div>
          
            
          </div>
        
      </div>
  </div>
    
</div>
<script src="<c:url value='/resources/script/jquery.js' />" type="text/javascript"></script>
<script src="<c:url value='/resources/script/changePic.js' />" type="text/javascript"></script>
<script language="javascript" src="js/public.js"></script>
</body>
</html>
