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.

166 lines
6.0 KiB
HTML

<!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">
<script src="__JS__/ssg/flexible.min.js" type="text/javascript"></script>
</head>
<style>
.flexitem {
display: flex;
justify-content: flex-start;
align-items: center;
}
.title{
display: flex;
height:.9rem;
width: 100%;
justify-content: space-between;
align-items: center;
background-color: #21B1EB;
color: white;
font-size: .28rem;
}
.title img,
.titleright {
width: .3rem;
height: .3rem;
}
</style>
<body>
<div class="title" >
<div class="flexitem">
<img class="logout" src="__IMG__/ssg/index/logout.png" style="margin-left:.24rem;">
<div>
退出登入
</div>
</div>
<div style="font-size: .32rem;">至尊版购买</div>
<div class="titleright" style="margin-right:.24rem;"></div>
</div>
<div class="page-container ">
<div class="top">
<a href="javascript:history.go(-1);"></a>至尊版购买<a href="{:U('order')}" class="link">订单查询</a>
</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.不同手机设备需要分别付费安装哦
<br>
<span style="color: red;">3.如您已购买个人签,请到<a style="color:red;" href="{:U('order')}" class="link"><订单查询></a>重新下载安装,无需二次购买!</span>
</div>
<div class="interval"></div>
<div class="select-product">
<div class="title-2"><a href="javascript:;" class="f-fr">
<h2 class="f-fl">选择产品</h2><span class="f-fr" id="txtgamename">{$data_list[0]['game_name']}-超级签 </span>
</a></div>
<div class="product-list">
<ul>
<volist name="data_list" id="data">
<li onclick="handleGameID('{$data.game_id}','{$data.game_name}','{$data.pay_status}')">
<dl>
<dt><img src="{$data['icon']|get_cover='path'}"></dt>
<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>
</ul>
<input type="hidden" id="hdGameID" value="{$data_list[0]['game_id']}">
<input type="hidden" id="orderStatus" value="{$data_list[0]['pay_status']}">
<script>
</script>
</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">
<!--<div class="title-2">
<a href="javascript:;" onclick="handleSobot(5062225)" class="f-fr">
<h2 class="f-fl">联系客服</h2><span class="f-fr">&nbsp;</span>
</a>
</div>-->
</div>
<div class="pay-button">
<a href="javascript:;" onclick="handlePay()">确认支付 ¥10</a>
</div>
<script>
/*function handleSobot(userID) {
//联系客服
window.location.href = decodeURIComponent("https://www.sobot.com/chat/h5/index.html?sysNum=823d139047674564bfc040e60c4a1a18&color=fa8932&customerFields={'customField8':'" + userID + "'}");
}*/
function handleGameID(gameID, gameName,orderStatus) {
var hdGameID = $("#hdGameID").val();
$("#hdGameID").val(hdGameID == gameID ? 0 : gameID);
$("#orderStatus").val(orderStatus);
$("#txtgamename").text(gameName + "-超级签");
}
function handlePay() {
var hdGameID = $("#hdGameID").val();
var orderStatus = $("#orderStatus").val();
if (!hdGameID || hdGameID == 0) {
alert("请选择游戏");
} else if(orderStatus==1){
alert("亲~您已购买过了~请到【订单查询】查看订单信息哟~");
}else {
location.href = "/sdk.php/Ipa365/pay/game_id/"+hdGameID;
}
}
</script>
</div>
<script src="__JS__/jquery-1.11.1.min.js" type="text/javascript"></script>
<!--<script type="text/javascript">
var READYTOPROCESS = false;
window.onbeforeunload = function closeWindow(e)
{
if (!READYTOPROCESS)
{
//message to be returned to the popup box.
var message = '你确定要关闭吗?',
e = e || window.event;
if (e)
e.returnValue = message; // IE
return message; // Safari
}
};
</script>-->
</body>
</html>