pay_lb_error.html 2.83 KB
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
		<title>支付失败-{$tpshop_config['shop_info_store_title']}</title>
		<meta http-equiv="keywords" content="{$tpshop_config['shop_info_store_keyword']}" />
		<meta name="description" content="{$tpshop_config['shop_info_store_desc']}" />
		<link rel="stylesheet" type="text/css" href="__STATIC__/css/public.css" />
		<link rel="stylesheet" type="text/css" href="__STATIC__/css/index.css" />
		<script type="text/javascript" src="__STATIC__/js/jquery.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/global.js?v=__CSSVERSION__"></script>
		<style>
			.floor_body2 ul li { width: 47%;}
		</style>
	</head>

	<body>
		<include file="public/navBall" />
		<div class="pay_success">
			<img src="__STATIC__/images/warn.png" style="width: 50px;height: 50px;" />
			<p class="txt">支付失败</p>
			<p>{$err}</p>
			<div class="btn btnRed" onclick="repay(this)"  alt="{$orderno}">重新购买</div>
			<div class="btn btnPink" onclick="goOrderList()">我的礼包</div>
		</div>
		<div class="showpage">
			<div class="floor_body2">
				<h2>————&nbsp;猜你喜欢&nbsp;————</h2>
				<div id="J_ItemList">
					<ul class="product single_item info"></ul>
					<a href="javascript:;" class="get_more" style="text-align:center; display:block;">
						<img src='__STATIC__/images/category/loader.gif' width="12" height="12"> </a>
				</div>
				<div id="getmore" style="font-size:.24rem;text-align: center;color:#888;padding:.25rem .24rem .4rem;">
					<a href="javascript:void(0)" onClick="getGoodsList()">点击加载更多</a>
				</div>
			</div>
			<script type="text/javascript">
				var stoid="<?php echo I('stoid');?>";
				$(function() {
					//$('#J_ItemList').more({'address': url});
					getGoodsList();
				});
				var page = 1;
				function getGoodsList() {
					$('.get_more').show();
					$.ajax({
						type: "get",
						url: "/index.php?m=Mobile&c=Index&a=ajaxGetMore&p=" + page + "&stoid="+stoid,
						success: function(data) {
							if(data) {
								$("#J_ItemList>ul").append(data);
								page++;
								$('.get_more').hide();
							} else {
								$('.get_more').hide();
								$('#getmore').remove();
							}
						}
					});
				}
			</script>
		</div>
	</body>
   <script type="text/javascript">
	  //获取首页
      function goIndex() {
        window.location.href='/index.php/Mobile/index/index/stoid/'+stoid;
      }
      //获取我的礼包
      function goOrderList(){
        window.location.href="{$back_url}";
      }

      function repay(ob) {
          var sn=$(ob).attr('alt');
          window.location.href="/Mobile/Payment/getPay.html?order_sn=" + sn+ '&stoid=' + stoid+"&recharge_type=6";
      }



   </script>
</html>