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.
58 lines
2.0 KiB
HTML
58 lines
2.0 KiB
HTML
<extend name="Public/baseso" />
|
|
<block name="body" >
|
|
<link href="__CSS__/user.css" rel="stylesheet" >
|
|
<body class="user">
|
|
<header class="header userheader">
|
|
<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 user-bindcoin-list">
|
|
<ul class="clearfix" id="ajaxContainer" currentpage="{$page}">
|
|
<li class="t-tabpan-item t-caption"><div class="tci1">游戏名称</div><div class="tci2">绑币余额</div></li>
|
|
<foreach name="data" item="v">
|
|
<li class="t-tabpan-item"><div>{$v['game_name']}</div><div>{$v['bind_balance']}</div></li>
|
|
</foreach>
|
|
</ul>
|
|
</div>
|
|
</section>
|
|
</section>
|
|
<div class="pop pop-window">
|
|
<div class="pop-box pop-sign">
|
|
<div class="pop-wrap"></div>
|
|
</div>
|
|
</div>
|
|
<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();
|
|
<?php if(!$data){?>
|
|
pmsg.msg('暂无数据');
|
|
<?php }?>
|
|
var ac = $('#ajaxContainer');
|
|
ajaxload('{:U("ajaxcoin")}',{},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.game_name+'</div><div>'+item.bind_balance+'</div></li>';
|
|
}
|
|
|
|
ac.append(html);
|
|
$('.loading').addClass('ms-none');
|
|
$('#moreBtn').removeClass('ms-none');loads=false;
|
|
} else {
|
|
pmsg.msg('已经到底了~');
|
|
}
|
|
});
|
|
</script>
|
|
</body>
|
|
|
|
</block>
|