Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cof_vip
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
houdong
cof_vip
Commits
9881ac4b
Commit
9881ac4b
authored
Nov 11, 2022
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更多大赛
parent
776883ba
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
16 deletions
+20
-16
g2021.css
Public/Home/css/g2021.css
+1
-1
PkTopAction.class.php
app/Lib/Action/Vip/PkTopAction.class.php
+9
-6
index.html
app/Tpl/Vip/PkTop/index.html
+10
-9
No files found.
Public/Home/css/g2021.css
View file @
9881ac4b
...
@@ -48,7 +48,7 @@ button{border: 0px;-webkit-appearance: none;-moz-appearance: none;}
...
@@ -48,7 +48,7 @@ button{border: 0px;-webkit-appearance: none;-moz-appearance: none;}
bottom
:
16%
;
bottom
:
16%
;
}
}
.top-entrance-b
.entrance-tab-ul
.en-li
{
.top-entrance-b
.entrance-tab-ul
.en-li
{
width
:
18
%
;
height
:
42px
;
width
:
24
%
;
height
:
42px
;
float
:
left
;
float
:
left
;
background
:
url('../images/g2020/normal-tab.png')
no-repeat
;
background
:
url('../images/g2020/normal-tab.png')
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
...
...
app/Lib/Action/Vip/PkTopAction.class.php
View file @
9881ac4b
...
@@ -236,6 +236,9 @@ class PkTopAction extends IdentityAction{
...
@@ -236,6 +236,9 @@ class PkTopAction extends IdentityAction{
}
}
$this
->
assign
(
'hideShiPan'
,
$hideShiPan
);
$this
->
assign
(
'hideShiPan'
,
$hideShiPan
);
//更多大赛
$gList
=
D
(
'Niu'
)
->
getMoreDs
(
$userId
);
$this
->
assign
(
'gList'
,
$gList
);
$this
->
display
();
$this
->
display
();
}
}
...
@@ -1169,12 +1172,12 @@ class PkTopAction extends IdentityAction{
...
@@ -1169,12 +1172,12 @@ class PkTopAction extends IdentityAction{
}
}
//官方有奖赛列表页
//官方有奖赛列表页
public
function
moreDs
(){
//
public function moreDs(){
$userId
=
$this
->
user
[
'userID'
];
//
$userId=$this->user['userID'];
$gList
=
D
(
'Niu'
)
->
getMoreDs
(
$userId
);
//
$gList=D('Niu')->getMoreDs($userId);
$this
->
assign
(
'gList'
,
$gList
);
//
$this->assign('gList',$gList);
$this
->
display
();
//
$this->display();
}
//
}
}
}
?>
?>
...
...
app/Tpl/Vip/PkTop/index.html
View file @
9881ac4b
...
@@ -84,12 +84,9 @@
...
@@ -84,12 +84,9 @@
<!--</li>-->
<!--</li>-->
<li
class=
"en-li f-center lottery-li"
style_=
"width: 24%"
>
瓜分10万
</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-center" style_="width: 24%">赛制介绍</li>--
>
<li
class=
"en-li f-right"
>
<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;"
/>
<img
src=
"__PUBLIC__/images/2022/zjHot.png"
style=
"width: 52px;position: absolute;right: 0%;top: -17px;"
/>
</a>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -261,19 +258,20 @@
...
@@ -261,19 +258,20 @@
</div>
</div>
</div>
</div>
<!--更多大赛-->
<div
class=
"contest-body-detail"
style=
"display: none;"
>
<div
class=
"contest-body-detail"
style=
"display: none;"
>
<include
__
file=
"static_rule
"
/>
<include
file=
"moreDs
"
/>
</div>
</div>
<eq
name=
"hideShiPan"
value=
"0"
>
<eq
name=
"hideShiPan"
value=
"0"
>
<div
class=
"bottom-j-btn bottom-btn"
>
<div
class=
"bottom-j-btn bottom-btn"
>
<!--<div style="width: 25%;background-color: #fdfdfd;float: left" id="zixun">福利咨询</div>-->
<!--<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
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 class="icon" src="__PUBLIC__/Home/images/g2020/bottom-icon.png" alt="">资金重置卡-->
更多大赛
更多大赛
<img
src=
"__PUBLIC__/images/2022/zjHot.png"
<img
src=
"__PUBLIC__/images/2022/zjHot.png"
style=
"width: 52px;position: absolute;right: 39%;top: -17px;"
/>
style=
"width: 52px;position: absolute;right: 39%;top: -17px;"
/>
</a>
</div>
</div>
<eq
name=
"joinStatus"
value=
"1"
>
<eq
name=
"joinStatus"
value=
"1"
>
<div
class=
"bottom-j-right goTradeBtn"
style=
"width: initial;float: none;"
>
进入交易
</div>
<div
class=
"bottom-j-right goTradeBtn"
style=
"width: initial;float: none;"
>
进入交易
</div>
...
@@ -390,7 +388,10 @@
...
@@ -390,7 +388,10 @@
}
}
});
});
//点击底部的更多大赛
$
(
'.showMoreDs'
).
click
(
function
(){
$
(
'.en-li'
).
eq
(
3
).
click
();
})
//页面最上面的li标签切换
//页面最上面的li标签切换
$
(
'.en-li'
).
each
(
function
(
i
,
obj
){
$
(
'.en-li'
).
each
(
function
(
i
,
obj
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment