Commit ab4af143 authored by houyadong's avatar houyadong

全民赛场-成员交易页面修改

parent 284673cc
This diff is collapsed.
This diff is collapsed.
...@@ -53,19 +53,18 @@ ...@@ -53,19 +53,18 @@
<include file="myItem"/> <include file="myItem"/>
<div class="award-cont"> <div class="award-cont">
<div class="award-tab-btn"> <div class="award-tab-btn">
<div class="btn "><a href="/PkTop/phbWeek">周奖榜单</a></div> <div class="btn"><a href="/PkTop/phbWeek">周奖榜单</a></div>
<div class="btn"><a href="/PkTop/phbOther">其它排行</a></div> <div class="btn"><a href="/PkTop/phbOther">其它排行</a></div>
<div class="btn active"><a href="/PkTop/phbTrade">成员交易</a></div> <div class="btn active"><a href="/PkTop/phbTrade">成员交易</a></div>
</div> </div>
<div class="award-tab-panel">
<div class="award-tab-panel" >
<div class="item-filter"> <div class="item-filter">
<span class="">全部</span><span class="active">只看前100名</span> <span class="<eq name="order" value="0">active</eq>"><a href="/PkTop/phbTrade?order=0">全部</a></span>
<span class="<eq name="order" value="1">active</eq>"><a href="/PkTop/phbTrade?order=1">只看前100名</a></span>
</div> </div>
<div class="panel-item" id="container" > <div class="panel-item" id="container" >
<include file="itemTrade"/> <include file="itemTrade"/>
</div> </div>
<gt name="count" value="2"> <gt name="count" value="2">
<div style="padding: 10px 15px 0px;text-align:center;font-size: 14px;" <div style="padding: 10px 15px 0px;text-align:center;font-size: 14px;"
currPage="1" totalPage='{$pages}' id="loadBtn"> currPage="1" totalPage='{$pages}' id="loadBtn">
...@@ -74,16 +73,10 @@ ...@@ -74,16 +73,10 @@
<p class="loading l_3" style="display: none;" id="no_content"><span class="txt">没有更多用户了</span></p> <p class="loading l_3" style="display: none;" id="no_content"><span class="txt">没有更多用户了</span></p>
</div> </div>
</gt> </gt>
</div> </div>
</div> </div>
</div>
</div> </div>
</div>
<include file="bottom"/> <include file="bottom"/>
...@@ -121,7 +114,6 @@ ...@@ -121,7 +114,6 @@
//点加载更多按钮 //点加载更多按钮
$(".loading.l_2").click(function(){ $(".loading.l_2").click(function(){
// $(".l_2").hide();
var totalPage = $("#loadBtn").attr("totalPage"); var totalPage = $("#loadBtn").attr("totalPage");
var currPage = $("#loadBtn").attr("currPage"); var currPage = $("#loadBtn").attr("currPage");
...@@ -132,18 +124,14 @@ ...@@ -132,18 +124,14 @@
$(".l_2").hide(); $(".l_2").hide();
$(".l_3").show(); $(".l_3").show();
return; return;
} else {
} }
order='{$order}'; order='{$order}';
$.post('/PkTop/phbTrade',{p:nextPage,'order':order,'debug':'scroll'},function(e){ $.post('/PkTop/phbTrade',{p:nextPage,'order':order,'debug':'scroll'},function(e){
$(".l_1").hide(); $(".l_1").hide();
if(nextPage>=parseInt(totalPage)) { if(nextPage>=parseInt(totalPage)) {
// $(".l_2").hide();
$(".l_3").show(); $(".l_3").show();
lastPage = 1; lastPage = 1;
} else { } else {
// $(".l_2").show();
$(".l_1").show(); $(".l_1").show();
} }
if(e.status == 0) {layer.alert(e.info, 8);return false;} if(e.status == 0) {layer.alert(e.info, 8);return false;}
...@@ -156,8 +144,8 @@ ...@@ -156,8 +144,8 @@
$('.item-filter span').each(function(i,obj){ $('.item-filter span').each(function(i,obj){
$(obj).click(function(){ $(obj).click(function(){
$(this).siblings().removeClass('active'); $(this).siblings().removeClass('active')
$(this).addClass('active'); $(this).addClass('active')
}) })
}) })
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment