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.

59 lines
2.3 KiB
HTML

<extend name="Public/baseso" />
<block name="body" >
<link href="__CSS__/user.css" rel="stylesheet" >
<body class="user">
<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="banner user-invitation-banner">
<div class="wrap">
<ul class="invitation-info clearfix" >
<li><p>累计奖励(平台币)</p><span style="padding-top:0px;">{$total_data['award_coin']}</span></li>
<li><p>成功邀请好友(人)</p><span style="padding-top:0px;">{$total_data['invite_num']}</span></li>
</ul>
</div>
</div>
<div class="t-list2 user-invitation-list">
<ul class="clearfix" id="ajaxContainer" currentpage="{$page}">
<li class="t-tabpan-item t-caption">
<div class="tci1">好友账号</div>
<div class="tci2">注册时间</div>
<div class="tci3">我获得的奖励</div>
</li>
<volist name="data" id="vo">
<li class="t-tabpan-item"><div>{$vo.user_account}</div><div>{$vo.create_time}</div><div class="blue">{$vo.award_coin}</div></li>
</volist>
</ul>
</div>
</section>
</section>
<div class="popmsg pop-dialog"></div>
<script src="__JS__/ajaxload.js"></script>
<script src="__JS__/pop.lwx.min.js"></script>
<script>
var pmsg = $('.popmsg').pop();
var ac = $('#ajaxContainer');
ajaxload('{:U("ajaxComment")}',{},function(data) {
if (data.status == 1) {
ac.attr('currentpage',data.page);
var html = '',d = data.lists;
for (var i in d) {
var item = d[i];
html += '<li class="t-tabpan-item"><div>'+item.user_account+'</div><div>'+item.create_time+'</div><div class="blue">'+item.award_coin+'</div></li>';
}
ac.append(html);
$('.loading').addClass('ms-none');
$('#moreBtn').removeClass('ms-none');loads = false;
} else {
pmsg.msg('已经到底了~');
}
});
</script>
</body>
</block>