@ -11,6 +11,10 @@
.order-search li dl .order-status{
.order-search li dl .order-status{
background-image: url("__IMG__/ssg/order-status.png");
background-image: url("__IMG__/ssg/order-status.png");
}
}
.order-search .no-order{
background-image: url("__IMG__/ssg/no-order.png");
}
< / style >
< / style >
< / head >
< / head >
< body >
< body >
@ -19,26 +23,30 @@
< a href = "javascript:history.go(-1);" > < / a > 订单查询
< a href = "javascript:history.go(-1);" > < / a > 订单查询
< / div >
< / div >
< div class = "order-search" >
< div class = "order-search" >
< ul >
< if condition = "$data_list" >
< volist name = "data_list" id = "data" >
< ul >
< li onclick = "handleOrderDetail('{$data[\'order_id\']}','{$data[\'pay_status\']}','{$data[\'game_id\']}')" >
< volist name = "data_list" id = "data" >
< p > 订单编号:{$data.order_id}< / p >
< li onclick = "handleOrderDetail('{$data[\'order_id\']}','{$data[\'pay_status\']}','{$data[\'game_id\']}')" >
< dl >
< p > 订单编号:{$data.order_id}< / p >
< dt > < img src = "{$data['icon']|get_cover='path'}" > < / dt >
< dl >
< dd class = "order-title" > {$data['game_name']}< / dd >
< dt > < img src = "{$data['icon']|get_cover='path'}" > < / dt >
< if condition = "$data['pay_status'] eq '1'" >
< dd class = "order-title" > {$data['game_name']}< / dd >
< dd class = "order-status" > < / dd >
< if condition = "$data['pay_status'] eq '1'" >
< / if >
< dd class = "order-status" > < / dd >
< if condition = "$data['pay_status'] eq '0'" >
< / if >
< a href = "/sdk.php/Ipa365/pay/game_id/{$data['game_id']}" > < dd class = "order-pay" > 立即支付< / dd > < / a >
< if condition = "$data['pay_status'] eq '0'" >
< / if >
< a href = "/sdk.php/Ipa365/pay/game_id/{$data['game_id']}" > < dd class = "order-pay" > 立即支付< / dd > < / a >
<!--
< / if >
< dd class = "order-pay" style = "color:gray" > 已失效< / dd >
<!--
-->
< dd class = "order-pay" style = "color:gray" > 已失效< / dd >
< / dl >
-->
< / li >
< / dl >
< / volist >
< / li >
< / ul >
< / volist >
< / ul >
< else / >
< div class = "no-order" > < / div >
< / if >
< / div >
< / div >
< script >
< script >
function handleOrderDetail(orderID, state, game_id) {
function handleOrderDetail(orderID, state, game_id) {