recharge_success.html 2.74 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"></script>
	</head>

	<body>
		<include file="public/navBall" />
		<div class="pay_success">
			<img src="__STATIC__/images/flow/c_checkbox_on.png" style="width: 40px;height: 40px;" />
			<p class="txt">充值成功</p>
			<!--<p>关注公众号:有礼派</p>-->
			<p>及时跟进订单信息哟!</p>
			<div class="btn btnRed" onclick="gotourl(1)">继续购物</div>
			<div class="btn btnPink" onclick="gotourl(2)">会员中心</div>
		</div>
	</body>
   <script type="text/javascript">
	  var stoid="<?php echo I('stoid')?>";
	  var type='{$type}';
	  if(type=="2")
	  {
$(".pay_success").html("<img src='__STATIC__/images/flow/c_checkbox_on.png' style='width: 40px;height: 40px;' />			<p class='txt'>购卡成功</p>	<p>及时跟进订单信息哟!</p>		<div class='btn btnRed' onclick='gotourl(3)'>继续购卡</div>			<div class='btn btnPink' onclick='gotourl(4)'>已购卡券</div>");
	  }
      if(type=="3")
      {
          $(".pay_success").html("<img src='__STATIC__/images/flow/c_checkbox_on.png' style='width: 40px;height: 40px;' />			<p class='txt'>购卡成功</p>	<p>及时跟进订单信息哟!</p>		<div class='btn btnRed' onclick='gotourl(1)'>购买商品</div>			<div class='btn btnPink' onclick='gotourl(2)'>会员中心</div>");
      }
	  //获取首页
      function goIndex() {
        window.location.href='/index.php/Mobile/index/index/stoid/'+stoid;
      }
      //获取订单列表
      function goOrderList(){
        window.location.href='/index.php/Mobile/User/index/stoid/'+stoid;
      }
      //跳转url
      function gotourl(t) {
		  switch (t)
		  {
			  case 1:window.location.href='/index.php/Mobile/index/index/stoid/'+stoid;
			      break;
              case 2:window.location.href='/index.php/Mobile/User/index/stoid/'+stoid;
                  break;
              case 3:window.location.href='/index.php/Mobile/User/shopping_card/stoid/'+stoid;
                  break;
              case 4:window.location.href='/index.php/Mobile/User/shopping_hascard/stoid/'+stoid;
                  break;
		  }
      }
   </script>
</html>