recharge_success.html
2.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!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>