You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

113 lines
4.6 KiB
HTML

5 years ago
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport"
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>超级签购买界面</title>
<link href="__CSS__/ssg/common.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="page-container ">
<div class="top">
<a href="javascript:history.go(-1);"></a>至尊版购买<a href="{:U('order')}" class="link">订单查询</a>
5 years ago
</div>
<style>
.interval {
height: 10px;
background-color: #f9f9f9;
}
</style>
<div class="interval"></div>
<div class="vip-game">
<div class="title-2"><a href="javascript:;" class="f-fr">
<h2 class="f-fl">苹果超级签</h2><span class="f-fr"
onclick="window.location.href='{:U(\'rule\')}'">至尊版说明</span>
</a></div>
<div class="vip-banner">
<img src="__IMG__/ssg/game/vip-banner.png">
</div>
</div>
<div class="interval"></div>
<div class="vip-announcement">
<i></i>
1.选择游戏产品同时,即选择购买超级签游戏下载链接和对应游戏礼包,无法退换哦~<br>
2.不同手机设备需要分别付费安装哦
</div>
<div class="interval"></div>
<div class="select-product">
<div class="title-2"><a href="javascript:;" class="f-fr">
5 years ago
<h2 class="f-fl">选择产品</h2><span class="f-fr" id="txtgamename">{$data_list[0]['game_name']}-超级签 </span>
5 years ago
</a></div>
<div class="product-list">
<ul>
5 years ago
<volist name="data_list" id="data">
<li onclick="handleGameID('{$data.game_id}','{$data.game_name}','{$data.pay_status}')">
5 years ago
<dl>
5 years ago
<dt><img src="{$data['icon']|get_cover='path'}"></dt>
5 years ago
<dd class="product-title">{$data.game_name}-超级签&nbsp;<i></i></dd>
<dd class="product-word">至尊特权礼包(限量)</dd>
<dd class="select-btn">
<a href="javascript:;" item-val="" class="<if condition="$i eq 1">current</if>"> </a>
</dd>
</dl>
</li>
</volist>
5 years ago
</ul>
5 years ago
<input type="hidden" id="hdGameID" value="{$data_list[0]['game_id']}">
<input type="hidden" id="orderStatus" value="{$data_list[0]['pay_status']}">
5 years ago
<script>
5 years ago
</script>
5 years ago
</div>
</div>
<div class="interval"></div>
<div class="not-arrived">
<div class="title-2">
<a href="{:U('help')}" class="f-fr">
<h2 class="f-fl">支付未到账?</h2><span class="f-fr">充值帮助</span>
</a>
</div>
</div>
<div class="interval"></div>
<div class="contact-customer">
5 years ago
<!--<div class="title-2">
5 years ago
<a href="javascript:;" onclick="handleSobot(5062225)" class="f-fr">
<h2 class="f-fl">联系客服</h2><span class="f-fr">&nbsp;</span>
</a>
5 years ago
</div>-->
5 years ago
</div>
<div class="pay-button">
<a href="javascript:;" onclick="handlePay()">确认支付 ¥10</a>
</div>
<script>
5 years ago
/*function handleSobot(userID) {
5 years ago
//联系客服
window.location.href = decodeURIComponent("https://www.sobot.com/chat/h5/index.html?sysNum=823d139047674564bfc040e60c4a1a18&color=fa8932&customerFields={'customField8':'" + userID + "'}");
5 years ago
}*/
function handleGameID(gameID, gameName,orderStatus) {
5 years ago
var hdGameID = $("#hdGameID").val();
$("#hdGameID").val(hdGameID == gameID ? 0 : gameID);
$("#orderStatus").val(orderStatus);
5 years ago
$("#txtgamename").text(gameName + "-超级签");
}
function handlePay() {
var hdGameID = $("#hdGameID").val();
var orderStatus = $("#orderStatus").val();
5 years ago
if (!hdGameID || hdGameID == 0) {
alert("请选择游戏");
} else if(orderStatus==1){
alert("亲~您已购买过了~请到【订单查询】查看订单信息哟~");
}else {
5 years ago
location.href = "/sdk.php/Ipa365/pay/game_id/"+hdGameID;
5 years ago
}
}
</script>
</div>
<script src="__JS__/jquery-1.11.1.min.js" type="text/javascript"></script>
<script src="__JS__/ssg/common.js" type="text/javascript"></script>
</body>
</html>