<!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 content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<title>{%$lngpack.sitename%}</title>
		<meta name="keywords" content="{%$lngpack.keyword%}" />
		<meta name="description" content="{%$lngpack.description%}" />
		<script type="text/javascript" src="{%$rootdir%}js/jquery.js"></script>
		<script type="text/javascript" src="{%$rootdir%}js/basicrun.js"></script>
		<script type="text/javascript" src="{%$rootdir%}js/jquery.Slide.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/espcms_dialog.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/espcms_formvalidation.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/citydb.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/cityselect.js"></script>
		<link href="{%$rootpath%}css/espcms_public.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/espcms_v5div.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/espcms_page.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript">
			$(window).load(function () {
				$("#clickmenubotton li span").hover(function () {
					$(this).addClass("menuhover");
					$(this).parent().find("ul.subnav").slideDown('fast').show();
					$(this).parent().hover(function () {
					}, function () {
						$(this).parent().find("ul.subnav").fadeOut('fast');
						$(this).parent().find("span").removeClass("menuhover");
					});
				});
				$("#order_list").espcms_formvalidation();
			});
			var seconds = 60;
			onload = function () {
				window.setInterval(redirection, 1000);
			};
			function redirection() {
				if (seconds <= 0) {
					window.clearInterval();
					return;
				}
				seconds--;
				$('#codetime').empty().append(seconds);
				if (seconds === 0) {
					$('#codestr').empty().append('二维码已过期，请刷新页面重新获取二维码');
				}
			}
		</script>
	</head>

	<body>
		{%link file="public/head.html"%}
		<div class="espcms_page_bannpic"><img src="{%$rootpath%}images/bann/type_pic.jpg"/></div>
		<div class="espcms_page">
			<div class="espcms_member_login_center espcms_formwidth_c">
				<div class="title mb30"><div class="messageicon3"></div><div class="messtitle">微信扫码支付</div></div>
				<div class="espcms_form_group tc f14">当前支付订单为：<span class="oninage b">{%$read.ordersn%}</span></div>
				<div class="espcms_form_group tc f14 pt10">订单金额：<span class="oninage">{%$read.orderamount|espcms_format_money(3)%}</span></div>
				<div class="espcms_form_group tc f14 pt10" id="codestr">距离二维码过期还剩<span class="oninage" id="codetime">50</span>秒，过期后请刷新页面重新获取二维码。</div>
				<div class="espcms_form_group tc pt5">
					<div class="pay_code_pic">
						<img src="{%$pay_pic%}"/>
						<div class="pw-box-ft">
							<p>请使用微信扫一扫</p>
							<p>扫描二维码支付</p>
						</div>
					</div>
					<div class="code_str"><img src="{%$rootpath%}images/weixinpay.png"/></div>
				</div>
			</div>
		</div>
		{%link file="public/footer.html"%}
	</body>
</html>
