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.

156 lines
4.6 KiB
HTML

<extend name="Public/tradebases" />
<block name="css">
<link rel="stylesheet" href="__CSS__/xg_common.css">
<style>
html {
overflow: hidden;
}
.xg-main {
bottom: 0px;
overflow: auto;
}
.xg-container {
margin-bottom: 0;
background-color: #fff;
}
.cash-record-list{}
.cash-record-item{
display: block;
text-decoration: none;
color: #000;
padding: 0.4rem 0.5rem;
border-bottom: 1px solid #f1f1f1;
}
.cash-record-item .state{
float: right;
color: #ff4343;
font-size: 0.35rem;
}
.cash-record-item .price{
float: left;
font-size: 0.4rem;
color: #1c1c1c;
margin-bottom: 0.3rem;
}
.cash-record-item .price>.cash{
margin-right: 0.24rem;
}
.cash-record-item .price>.actual{
font-size: 0.38rem;
}
.cash-record-item .cash-info{
font-size: 0.3rem;
color: #888e9c;
}
.cash-record-item .cash-info>.order{
float: left;
}
.cash-record-item .cash-info>.date{
float: right;
}
.no_data{
position:relative;
}
.nodata_content{
position: absolute;
top: 50%;
left: 50%;
margin-top: -1rem;
margin-left: -3rem;
width: 6rem;
height: 3rem;
text-align: center;
}
.nodata_img{
width:2rem;
height:2rem;
display:block;
margin:0 auto;
}
.nodata_txt{
height:1rem;
line-height:1rem;
}
</style>
</block>
<block name="body">
<script src="__JS__/xg_mobile.js"></script>
<header class="header">
<a class="xg-back" href="javascript:history.go(-1);"></a>
<h1 class="xg-title">交易记录</h1>
</header>
<main class="xg-main">
<div class="xg-container">
<div class="cash-record-list content">
<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 />
<div class="clearfix" id="ajaxContainer" currentpage="{$page}" maxpage="{$totalpage}">
<volist name="lists" id="vo">
<a href="javascript:;" class="cash-record-item clf">
<eq name="vo.status" value="2"><div class="state">已驳回</div></eq>
<div class="price"><strong class="cash">{$vo.coin}</strong><span class="actual">实际到账{$vo.money}</span></div>
<div class="cash-info clf">
<span class="order">提现单号:{$vo.order_number}</span>
<span class="date">{$vo.audit_time}</span>
</div>
</a>
</volist>
</div>
</empty>
</div>
</div>
</main>
<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>
</block>
<block name="script">
<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())});
var pmsg = $('.popmsg').pop();
var popmsg = $('.loading').pop();
var ac = $('#ajaxContainer');
ajaxload('{:U("ajax_withdraw_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 += ''+
' <a href="javascript:;" class="cash-record-item clf">'+
(parseInt(item.status)==2?(' <div class="state">已驳回</div>'):'')+
' <div class="price"><strong class="cash">'+item.coin+'</strong><span class="actual">实际到账'+item.money+'</span></div>'+
' <div class="cash-info clf">'+
' <span class="order">提现单号:'+item.order_number+'</span>'+
' <span class="date">'+item.audit_time+'</span>'+
' </div>'+
' </a>'+
'';
}
ac.append(html);
$('.loading').addClass('ms-none');
$('#moreBtn').removeClass('ms-none');loads = false;
} else {
$('.loading').removeClass("hidden").addClass('ms-none');
popmsg.msg('已经到底了~');
}
})
});
</script>
</block>