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.

53 lines
1.8 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">
<style>
.order-search li dl .order-status{
background-image: url("__IMG__/ssg/order-status.png");
}
</style>
</head>
<body>
<div class="page-container ">
<div class="top">
<a href="game.html"></a>订单查询
</div>
<div class="order-search">
<ul>
<volist name="data_list" id="data">
<li onclick="handleOrderDetail('{$data[\'trade_id\']}','{$data[\'pay_status\']}')">
<p>订单编号:{$data.trade_id}</p>
<dl>
<dt><img src="__IMG__/ssg/order/190507-128fb062a9694a38a457fff6fe4a4dc3.png"></dt>
<dd class="order-title">天宫计-超级签</dd>
<if condition="$data['pay_status'] eq 1">
<dd class="order-status"></dd>
<else />
<dd class="order-pay" style="color:gray">已失效</dd>
</if>
</dl>
</li>
</volist>
</ul>
</div>
<script>
function handleOrderDetail(orderID, state) {
if (state == 1) {
//前往详情
window.location.href = "detail.html";
}
}
</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>