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.

140 lines
4.8 KiB
HTML

<extend name="Public/bases" />
<block name="css">
<link href="__CSS__/shop.css" rel="stylesheet" >
<style>
.withdraw-record-list .money .coin{font-size:1.1em;}
.withdraw-record-list .money .cash,.withdraw-record-list .order,.withdraw-record-list .time,.withdraw-record-list .status{font-size:.9em;}
.withdraw-record-list .money .cash {margin-left:1rem;}
.withdraw-record-list .status {float:right;}
.withdraw-record-list .not_agree {color:red;}
.withdraw-record-list .time {float:right;}
.no_data{
position:relative;
}
.nodata_content{
position: absolute;
top: 50%;
left: 50%;
margin-top: -4rem;
margin-left: -11rem;
width: 22rem;
height: 8rem;
text-align: center;
}
.nodata_img{
width:5rem;
height:5rem;
display:block;
margin:0 auto;
}
.nodata_txt{
height:3rem;
line-height:3rem;
}
</style>
</block>
<block name="body" >
<body class="ex-record">
<header class="header">
<div class="">
<a href="{:U('User/index')}" class="hbtn back"><i class="iconfont icon-drop-left"></i></a>
<h1 class="caption">消费记录</h1>
</div>
</header>
<div class="occupy"></div>
<section class="trunker">
<section class="container">
<div class="t-list2 content ex-record-list withdraw-record-list">
<empty name="lists">
<div class="no_data">
<div class="nodata_content">
<img class="nodata_img" src="__IMG__/trade/icon_shangpin@3x.png" alt="" height="" width="">
<p class="nodata_txt">暂无记录</p>
</div>
</div>
<else />
<ul class="clearfix" id="ajaxContainer" currentpage="{$page}" maxpage="{$totalpage}">
<volist name="lists" id="vo">
<li>
<div class="item">
<p class="main">
<span class="money">
<span class="coin">{$vo.pay_amount}</span>
<span class="cash">
<gt name='vo.zhekou' value='-1'>账户充值<else />
<gt name="vo.game_id" value="0">游戏消费<else />账户充值</gt>
</gt>
</span>
</span>
</p>
<p class="addtion">
<span class="order"><gt name='vo.zhekou' value='-1'>折扣充值-</gt><gt name="vo.game_id" value="0">{$vo.game_name}<else />平台币充值</gt></span>
<span class="time">{$vo.pay_time}</span>
</p>
</div>
</li>
</volist>
</ul>
</empty>
</div>
</section>
</section>
<div class="popmsg pop-dialog"></div>
<div class="space"></div>
<div class="loading ms-none hidden" id="moreBtn"><a href="javascript:" class="link"></a></div>
<script src="__JS__/ajaxload.js"></script>
<script src="__JS__/pop.lwx.min.js"></script>
<script>
$(function() {
$('.content').css({'min-height':($(window).height()-$(".header").height()-$(".foot-nav").height()-50)});
$(".no_data").css({'height':($('.content').height())});
$('.jsfunnel').click(function() {
var that = $('.jsfunnellist');
that.stop(true).fadeIn(600).find('.funnel-close').on('click',function() {
that.fadeOut(600);
});
});
var pmsg = $('.popmsg').pop();
var popmsg = $('.loading').pop();
var ac = $('#ajaxContainer');
ajaxload('{:U("ajax_useing_record")}',{},function(data) {
if (data.status == 1) {
ac.attr('currentpage',data.current);
var html = '',d = data.lists;
for (var i in d) {
var item = d[i];
html += '<li>'+
' <div class="item">'+
' <p class="main">'+
' <span class="coin">'+item.pay_amount+'</span>'+
' <span class="cash">'+(item.zhekou>-1?'账户充值':(item.game_id>0?'游戏充值':'账户充值'))+'</span>'+
' </p>'+
' <p class="addtion">'+
' <span class="order">'+(item.zhekou>-1?'折扣充值-':'')+(item.game_id>0?item.game_name:'平台币充值')+'</span>'+
' <span class="time">'+item.pay_time+'</span>'+
' </p>'+
' </div>'+
'</li>';
}
ac.append(html);
$('.loading').addClass('ms-none');
$('#moreBtn').removeClass('ms-none');loads = false;
} else {
$('.loading').removeClass("hidden").addClass('ms-none');
popmsg.msg('已经到底了~');
}
})
});
</script>
</body>
</block>
<block name="footer"></block>