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.

135 lines
4.7 KiB
HTML

5 years ago
<extend name="Public/bases" />
<block name="css">
<link href="__CSS__/shop.css" rel="stylesheet" >
<style>
.withdraw-record-list .money {color:#333;}
.withdraw-record-list .money .cash,.withdraw-record-list .money .coin{font-size:1.1em;}
.withdraw-record-list .order,.withdraw-record-list .time,.withdraw-record-list .status{font-size:.8em;}
.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="javascript:history.go(-1);" 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">{:add_zero_on_number($vo['coin'])}</span><span class="cash">实际到账{$vo.money}</span></span>
<eq name="vo.status" value="2"><span class="status not_agree">已驳回</span></eq>
<eq name="vo.status" value="0"><span class="status not_agree">待审核</span></eq>
</p>
<p class="addtion">
<span class="order">提现单号:{$vo.order_number}</span>
<span class="time">{$vo.audit_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_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 += '<li>'+
' <div class="item">'+
' <p class="main">'+
' <span class="money"><span class="coin">'+item.coin+'</span><span class="cash">实际到账'+item.money+'</span></span>'+
(parseInt(item.status)==2?(' <span class="status not_agree">已驳回</span>'):'')+
' </p>'+
' <p class="addtion">'+
' <span class="order">提现单号:'+item.order_number+'</span>'+
' <span class="time">'+item.audit_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>