|
|
|
<!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">
|
|
|
|
<style>
|
|
|
|
.order-search li dl .order-status{
|
|
|
|
background-image: url("__IMG__/ssg/order-status.png");
|
|
|
|
}
|
|
|
|
.order-search .no-order{
|
|
|
|
background-image: url("__IMG__/ssg/no-order.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="page-container ">
|
|
|
|
<div class="top">
|
|
|
|
<a href="javascript:history.go(-1);"></a>订单查询
|
|
|
|
</div>
|
|
|
|
<div class="order-search">
|
|
|
|
<if condition="$data_list">
|
|
|
|
<ul>
|
|
|
|
<volist name="data_list" id="data">
|
|
|
|
<li onclick="handleOrderDetail('{$data[\'order_id\']}','{$data[\'pay_status\']}','{$data[\'game_id\']}')">
|
|
|
|
<p>订单编号:{$data.order_id}</p>
|
|
|
|
<dl>
|
|
|
|
<dt><img src="{$data['icon']|get_cover='path'}"></dt>
|
|
|
|
<dd class="order-title">{$data['game_name']}</dd>
|
|
|
|
<if condition="$data['pay_status'] eq '1'">
|
|
|
|
<dd class="order-status"></dd>
|
|
|
|
<else />
|
|
|
|
<if condition="$data['pay_status'] eq '0' and $data['invalid'] eq 0">
|
|
|
|
<a href="/sdk.php/Ipa365/pay/game_id/{$data['game_id']}"><dd class="order-pay">立即支付</dd></a>
|
|
|
|
<else />
|
|
|
|
<dd class="order-pay" style="color:gray">已失效</dd>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<!--
|
|
|
|
<dd class="order-pay" style="color:gray">已失效</dd>
|
|
|
|
-->
|
|
|
|
</dl>
|
|
|
|
</li>
|
|
|
|
</volist>
|
|
|
|
</ul>
|
|
|
|
<else />
|
|
|
|
<div class="no-order">
|
|
|
|
您还没有订单哟~快去下单吧~
|
|
|
|
</div>
|
|
|
|
</if>
|
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
function handleOrderDetail(orderID, state, game_id) {
|
|
|
|
if (state == 1) {
|
|
|
|
//前往详情
|
|
|
|
window.location.href = "/sdk.php/Ipa365/install_show/order_id/"+orderID+"/game_id/"+game_id;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</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>
|