Commit 9881ac4b authored by houdong's avatar houdong

更多大赛

parent 776883ba
......@@ -48,7 +48,7 @@ button{border: 0px;-webkit-appearance: none;-moz-appearance: none;}
bottom: 16%;
}
.top-entrance-b .entrance-tab-ul .en-li{
width: 18%;height: 42px;
width: 24%;height: 42px;
float: left;
background: url('../images/g2020/normal-tab.png') no-repeat;
background-size: 100% 100%;
......
......@@ -236,6 +236,9 @@ class PkTopAction extends IdentityAction{
}
$this->assign('hideShiPan',$hideShiPan);
//更多大赛
$gList=D('Niu')->getMoreDs($userId);
$this->assign('gList',$gList);
$this->display();
}
......@@ -1169,12 +1172,12 @@ class PkTopAction extends IdentityAction{
}
//官方有奖赛列表页
public function moreDs(){
$userId=$this->user['userID'];
$gList=D('Niu')->getMoreDs($userId);
$this->assign('gList',$gList);
$this->display();
}
// public function moreDs(){
// $userId=$this->user['userID'];
// $gList=D('Niu')->getMoreDs($userId);
// $this->assign('gList',$gList);
// $this->display();
// }
}
?>
......
......@@ -84,12 +84,9 @@
<!--</li>-->
<li class="en-li f-center lottery-li" style_="width: 24%">瓜分10万 </li>
<li class="en-li f-center" style_="width: 24%">排行榜</li>
<li class="en-li f-center" style_="width: 24%">赛制介绍</li>
<!--<li class="en-li f-center" style_="width: 24%">赛制介绍</li>-->
<li class="en-li f-right" >
<a href="{:M_URL}/Public/officialList" style="color:#f8bb8e" >更多大赛
<img src="__PUBLIC__/images/2022/zjHot.png"
style="width: 52px;position: absolute;right: 0%;top: -17px;"/>
</a>
更多大赛<img src="__PUBLIC__/images/2022/zjHot.png" style="width: 52px;position: absolute;right: 0%;top: -17px;"/>
</li>
</ul>
</div>
......@@ -261,19 +258,20 @@
</div>
</div>
<!--更多大赛-->
<div class="contest-body-detail" style="display: none;">
<include__ file="static_rule"/>
<include file="moreDs"/>
</div>
<eq name="hideShiPan" value="0">
<div class="bottom-j-btn bottom-btn">
<!--<div style="width: 25%;background-color: #fdfdfd;float: left" id="zixun">福利咨询</div>-->
<div style="width: 33.3%;background-color: #fdfdfd;float: left" id="zixun">咨询</div>
<div class="bottom-j-left" style="width: 33.3%">
<div class="showMoreDs" style="width: 33.3%;float: left;background-color: #FDF5D0">
<!--<img class="icon" src="__PUBLIC__/Home/images/g2020/bottom-icon.png" alt="">资金重置卡-->
更多大赛
<img src="__PUBLIC__/images/2022/zjHot.png"
style="width: 52px;position: absolute;right: 39%;top: -17px;"/>
</a>
</div>
<eq name="joinStatus" value="1">
<div class="bottom-j-right goTradeBtn" style="width: initial;float: none;">进入交易</div>
......@@ -390,7 +388,10 @@
}
});
//点击底部的更多大赛
$('.showMoreDs').click(function(){
$('.en-li').eq(3).click();
})
//页面最上面的li标签切换
$('.en-li').each(function(i,obj){
......
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