Commit f2bf0bcc authored by houdong's avatar houdong

修改有奖赛首页

parent 9c20db14
......@@ -48,11 +48,11 @@ button{border: 0px;-webkit-appearance: none;-moz-appearance: none;}
bottom: 16%;
}
.top-entrance-b .entrance-tab-ul .en-li{
width: 24%;height: 42px;
width: 18%;height: 42px;
float: left;
background: url('../images/g2020/normal-tab.png') no-repeat;
background-size: 100% 100%;
color: #f8bb8e;font-size: 13px;
color: #f8bb8e;font-size: 12px;
text-align: center;padding: 8px 0px;
line-height: 26px;
}
......
......@@ -49,7 +49,7 @@ input:-ms-input-placeholder {color: #c8c8c8;}
overflow: hidden;
}
.top-three-panel .panel-list{
width: 25%;
width: 23%;
position: relative;
height: 200px;
float: left;
......@@ -408,14 +408,14 @@ input:-ms-input-placeholder {color: #c8c8c8;}
height: 100%;
}
.top-entrance-web .white-tab a{
display: block;padding: 14px 42px;
display: block;padding: 14px 20px;
height: 72px;
font-size: 20px;
line-height: 41px;text-align: center;
float: left;cursor: pointer;
}
.top-entrance-web .white-tab.active a{
display: block;padding: 14px 42px;
display: block;padding: 14px 23px;
color: #FFF8E8;
background-color: #DB0000;
/*border-bottom: 1px solid #Db0000;*/
......@@ -1838,7 +1838,7 @@ input:-ms-input-placeholder {color: #c8c8c8;}
}
.hof-tab-block .select-box-li{
height:40px;position:relative;
width: 200px;margin: 20px 0px 15px;
width: 211px;margin: 20px 0px 15px;
float: right;
top: -60px;
}
......@@ -1847,7 +1847,7 @@ input:-ms-input-placeholder {color: #c8c8c8;}
border-radius: 5px;
}
.hof-tab-block .select-box-li form{
width: 150px;float: left;
width: 161px;float: left;
padding:8px 10px;
text-align: center;position: relative;
}
......
......@@ -625,7 +625,8 @@ var AppBridge = {
// if(isapp || isMatch) {
if (isIphonexWx()) {//小于3.50版本兼容会略有影响,但是由于交易区广告位、大赛区广告位、大赛不可见,所以小于3.50的版本只影响首页广告位和推送的链接
// $('.header-hei').css({'height': '20px'});
$('.head-fit').css({'height': '68px'});
//去掉了
// $('.head-fit').css({'height': '68px'});
//大赛创建顶部修正
if ($('.warp-choose-city').length > 0) {
$('.fix-fit').css({'height': '20px'})
......
......@@ -14,6 +14,7 @@ _popadstr += ' <div style="display: none;width: 160px" class="kf-code
_popadstr += ' <a href="javascript:;"><img src="/Public/images/222/right-kf202107.png?_2020" width="150"></a>';
_popadstr += ' </div>';
_popadstr += ' </div></li>';
_popadstr += ' <li class="right-two right-li">' +
'<a href="http://vip.cofool.com?hFrom=pc3" class="li-a"><img src="/Public/images/popad/right_icon2.png" alt=""></a>';
......
This diff is collapsed.
......@@ -3,10 +3,12 @@
class IndexAction extends IdentityAction {
public $GID = PRIZE_GROUP_2021;
//测试时有2020-02
public $MONTH =array('2022-04'=>'4月','2022-03'=>'3月','2022-02'=>'2月','2022-01'=>'1月',
'2021-12'=>'12月','2021-11'=>'11月','2021-10'=>'10月','2021-09'=>'9月','2021-08'=>'8月',
'2021-07'=>'7月','2021-06'=>'6月','2021-05'=>'5月','2021-04'=>'4月');
public $STATUS_TXT =array('1'=>'未开赛','2'=>'进行中','3'=>'已结束');
public $MONTH =['2023-04'=>'2023年4月','2023-03'=>'2023年3月','2023-02'=>'2023年2月','2023-01'=>'2023年1月',
'2022-12'=>'2022年12月','2022-11'=>'2022年11月','2022-10'=>'2022年10月','2022-09'=>'2022年9月','2022-08'=>'2022年8月','2022-07'=>'2022年7月',
'2022-06'=>'2022年6月','2022-05'=>'2022年5月','2022-04'=>'2022年4月','2022-03'=>'2022年3月','2022-02'=>'2022年2月','2022-01'=>'2022年1月',
'2021-12'=>'2021年12月','2021-11'=>'2021年11月','2021-10'=>'2021年10月','2021-09'=>'2021年9月','2021-08'=>'2021年8月',
'2021-07'=>'2021年7月','2021-06'=>'2021年6月','2021-05'=>'2021年5月','2021-04'=>'2021年4月'];
public $STATUS_TXT =['1'=>'未开赛','2'=>'进行中','3'=>'已结束'];
public function index(){
......
......@@ -115,6 +115,16 @@
<span class="bei-note-bg"></span>
</div>
</div>
<div class="time-contest-item">
<span class="time-t">
<img class="icon" src="__PUBLIC__/images/h5/g2020/nd-p.png" alt="">更高奖金及福利可参加官方有奖争霸赛-中金赛场
</span>
<div class="bei-note" style="padding: 24px;">
<a href="{:WWW_URL}/Zjds" target="_blank"
style="-webkit-border-radius: 20px;font-size: 14px;color: #ffffff;background-color: #E1503E;padding: 11px 18px;line-height: 23px;">立即报名参赛,领更多奖金</a>
<span class="bei-note-bg"></span>
</div>
</div>
<!--<div class="time-contest-item web-b">-->
......
......@@ -12,6 +12,9 @@
<div class="white-tab <eq name='viewFlag' value='1'>active</eq> ">
<a href="/">奖项及赛程</a>
</div>
<div class="white-tab lottery-tab " >
<a href="{:WWW_URL}/Zjds" target="_blank">中金赛场</a>
</div>
<div class="white-tab lottery-tab <eq name='viewFlag' value='2'>active</eq> " >
<a href="/index/lucky">瓜分10万 <span class="hot"></span></a>
</div>
......
......@@ -74,10 +74,11 @@
</div>
<div class="top-entrance-b" style="width————: 75%;margin: 0 auto;">
<ul class="entrance-tab-ul">
<li class="en-li f-left active" style="width: 24%">赛程及奖项</li>
<li class="en-li f-center lottery-li" style="width: 24%">瓜分10万 <img src="__PUBLIC__/Home/images/g2020/hot.png" alt=""></li>
<li class="en-li f-center" style="width: 24%">排行榜</li>
<li class="en-li f-right" style="width: 24%">赛制介绍</li>
<li class="en-li f-left active" style="width: 20%">赛程及奖项</li>
<li class="en-li f-center" ><a href="{:M_URL}/Zjds" style="color:#f8bb8e" target="_blank">中金赛场</a></li>
<li class="en-li f-center lottery-li" style_="width: 24%">瓜分10万 <img src="__PUBLIC__/Home/images/g2020/hot.png" alt=""></li>
<li class="en-li f-center" style_="width: 24%">排行榜</li>
<li class="en-li f-right" style_="width: 24%">赛制介绍</li>
</ul>
</div>
</div>
......@@ -367,13 +368,26 @@
$(this).siblings().removeClass('active');
$(this).addClass('active');
$('.contest-body-detail').hide();
$($('.contest-body-detail')[i]).show();
// $($('.contest-body-detail')[i-1]).show();
//1是中金大赛,调到别的链接
if(i==1){
// location.href='{:M_URL}/Zjds';
return;
}
if(i==0){
$($('.contest-body-detail')[0]).show();
}else{
$($('.contest-body-detail')[i-1]).show();
}
console.log('当前外层标签序号:'+i);
history.replaceState({},"","?gid={$_GET.gid}&viewPage="+(i+1));
// if(i == 1){
// slider.reloadSlider();
// }
if(i==2){
if(i==3){
$('.selectNow').eq(1).click();
}
......
......@@ -78,6 +78,15 @@
<p class="msg-l1">购买百宝箱的用户,可获得奖金翻倍卡,获得月现金奖励即可翻倍注领取奖金。</p>
<p class="msg-l2">注:当月获得的翻倍卡,下月才可使用,详情可查看百宝箱</p>
</div>
<div class="time-contest-item box-avt-msg">
<span class="time-t" style="width:100%;">
<img class="icon" src="__PUBLIC__/Home/images/g2020/allex_icon.png" alt="">更高奖金及福利可参加官方有奖争霸赛-中金赛场
</span><br>
<a href="{:M_URL}/Zjds" style="-webkit-border-radius: 20px;font-size: 12px;color: #ffffff;background-color: #E1503E;
padding: 6px 8px;line-height: 23px;">立即报名参赛,领更多奖金</a>
</div>
<p style="color:#666;font-size: 12px;text-align: center;">注:本大赛的所有奖品与苹果公司无关!</p>
</div>
</div>
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