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
6e8d1669
Commit
6e8d1669
authored
Apr 06, 2023
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vip排行榜页面
parent
109ede1b
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
182 additions
and
233 deletions
+182
-233
PkTopAction.class.php
app/Lib/Action/Vip/PkTopAction.class.php
+13
-10
itemOther.html
app/Tpl/Vip/PkTop/itemOther.html
+90
-0
itemWeek.html
app/Tpl/Vip/PkTop/itemWeek.html
+57
-0
phb.html
app/Tpl/Vip/PkTop/phb.html
+22
-223
No files found.
app/Lib/Action/Vip/PkTopAction.class.php
View file @
6e8d1669
...
...
@@ -1360,13 +1360,7 @@ class PkTopAction extends IdentityAction{
$this
->
assign
(
'weixinUrl'
,
'https://eturl.cn/Rhq2wA?is_head=1'
);
//我的成绩
if
(
$userId
){
$myData
=
M
(
"userinfo"
,
" "
,
C
(
'DB_CONFIG_MNCG3'
))
->
where
([
'uid'
=>
$this
->
GID
.
'X'
.
$userId
])
->
cache
(
true
,
300
)
->
find
();
$myData
[
'userName'
]
=
$this
->
user
[
'userName'
];
$myData
[
'userId'
]
=
$userId
;
$this
->
assign
(
'myData'
,
$myData
);
}
$this
->
setMyData
();
$this
->
assign
(
'gid'
,
$gid
);
$this
->
display
();
...
...
@@ -1432,12 +1426,11 @@ class PkTopAction extends IdentityAction{
$weekPhb
=
$this
->
getWeekPhb
();
$this
->
assign
(
'weekPhb'
,
$weekPhb
[
0
]);
$this
->
assign
(
'otherPhb'
,
$weekPhb
[
0
]);
if
(
$p
==
1
){
//我的排名
$myData
=
M
(
"userinfo"
,
" "
,
C
(
'DB_CONFIG_MNCG3'
))
->
where
([
'uid'
=>
$this
->
GID
.
'X'
.
$userId
])
->
cache
(
true
,
300
)
->
find
();
$this
->
assign
(
'myData'
,
$myData
);
$this
->
setMyData
();
$this
->
display
();
...
...
@@ -1518,6 +1511,16 @@ class PkTopAction extends IdentityAction{
}
}
public
function
setMyData
(){
$userId
=
$this
->
user
[
'userID'
];
if
(
$userId
){
$myData
=
M
(
"userinfo"
,
" "
,
C
(
'DB_CONFIG_MNCG3'
))
->
where
([
'uid'
=>
$this
->
GID
.
'X'
.
$userId
])
->
cache
(
true
,
300
)
->
find
();
$myData
[
'userName'
]
=
$this
->
user
[
'userName'
];
$myData
[
'userId'
]
=
$userId
;
$this
->
assign
(
'myData'
,
$myData
);
}
}
}
?>
...
...
app/Tpl/Vip/PkTop/itemOther.html
0 → 100644
View file @
6e8d1669
<notempty
name=
"otherPhb"
>
<foreach
name=
"otherPhb"
key=
'key'
item=
"vo"
>
<div
class=
"top-item <eq name='key' value='0'>top1</eq> <eq name='key' value='1'>top2</eq> <eq name='key' value='2'>top3</eq> "
>
<div
class=
"top-item-info"
>
<div
class=
"user-pk"
>
<div
class=
"head-r-num"
>
<span
class=
"head-ranking"
>
<eq
name=
"p"
value=
"1"
>
<eq
name=
'key'
value=
'0'
><img
src=
"__PUBLIC__/Home/images/g2020/crown1.png"
alt=
""
></eq>
<eq
name=
'key'
value=
'1'
><img
src=
"__PUBLIC__/Home/images/g2020/crown2.png"
alt=
""
></eq>
<eq
name=
'key'
value=
'2'
><img
src=
"__PUBLIC__/Home/images/g2020/crown3.png"
alt=
""
></eq>
</eq>
</span>
<span
class=
"user-head goTradeNow"
pId=
"{$vo.user_id}"
pName=
"{$vo.user_name}"
>
<img
src=
"{:getPortraitPath($vo['user_id'], 'small', true)}"
alt=
""
>
</span>
</div>
<span
class=
"head-r-t goTradeNow"
pId=
"{$vo.user_id}"
pName=
"{$vo.user_name}"
>
{$vo.user_name}111
</span>
<span
class=
"head-r-t"
>
<eq
name=
"vo.robot_user"
value=
"1"
>
<a
href=
"{$vo.robot_url}"
>
<img
src=
"__PUBLIC__/Home/images/robot/robot.png"
style=
"width: 15px;"
alt=
""
>
</a>
</eq>
</span>
</div>
<p
class=
"info-rank-w"
>
<eq
name=
"order"
value=
"zongup"
>
<span
class=
"l"
>
总排行
<span
class=
"y"
>
第{$key+($p-1)*10+1}名
</span></span>
<span
class=
"w"
>
月收益率
<span
class=
"y"
<
egt
name=
'vo.lastmonthup'
value=
'0'
>
style='color:#d80000'
<else/>
style='color:#008E00'
</egt>
>{$vo.lastmonthup}%
</span>
</span>
</eq>
<eq
name=
"order"
value=
"lastmonthup"
>
<span
class=
"l"
>
月排行
<span
class=
"y"
>
第{$key+($p-1)*10+1}名
</span></span>
<span
class=
"w"
>
月收益率
<span
class=
"y"
<
egt
name=
'vo.lastmonthup'
value=
'0'
>
style='color:#d80000'
<else/>
style='color:#008E00'
</egt>
>{$vo.lastmonthup}%
</span>
</span>
</eq>
<eq
name=
"order"
value=
"lastweekup"
>
<span
class=
"l"
>
周排行
<span
class=
"y"
>
第{$key+($p-1)*10+1}名
</span></span>
<span
class=
"w"
>
周收益率
<span
class=
"y"
<
egt
name=
'vo.lastweekup'
value=
'0'
>
style='color:#d80000'
<else/>
style='color:#008E00'
</egt>
>{$vo.lastweekup}%
</span>
</span>
</eq>
<eq
name=
"order"
value=
"lastdayup"
>
<span
class=
"l"
>
日排行
<span
class=
"y"
>
第{$key+($p-1)*10+1}名
</span></span>
<span
class=
"w"
>
日收益率
<span
class=
"y"
<
egt
name=
'vo.lastdayup'
value=
'0'
>
style='color:#d80000'
<else/>
style='color:#008E00'
</egt>
>{$vo.lastdayup}%
</span>
</span>
</eq>
</p>
<p
class=
"info-rank-w"
>
<span
class=
"l"
>
选股成功率
<span
class=
"y"
>
{$vo.successup}%
</span></span>
<span
class=
"w"
>
总收益率
<span
class=
"y"
<
egt
name=
'vo.zongup'
value=
'0'
>
style='color:#d80000'
<else/>
style='color:#008E00'
</egt>
>{$vo.zongup}%
</span>
</span>
</p>
</div>
</div>
</foreach>
<else/>
<div
class=
"no-data"
>
<img
class=
"no-data-img"
src=
"__PUBLIC__/Home/images/group/cc-nodata.png"
alt=
""
>
<p
class=
"no-data-msg"
>
当前没有盈利率排行
</p>
</div>
</notempty>
<script>
//点用户名和头像跳转到该大赛的旧的交易页
flag
=
0
;
$
(
'.goTradeNow'
).
click
(
function
(){
if
(
flag
==
1
)
return
;
flag
=
1
;
$
.
post
(
"/PkTop/getGoTradeInfo"
,
{
'userId'
:
$
(
this
).
attr
(
'pId'
),
'userName'
:
$
(
this
).
attr
(
'pName'
)},
function
(
res
)
{
if
(
res
.
status
==
1
)
{
flag
=
0
;
// alert(res.data);
if
(
mfrom
[
1
]
>
0
){
AppBridge
.
goTrade
(
res
.
data
);
}
}
});
});
</script>
app/Tpl/Vip/PkTop/itemWeek.html
0 → 100644
View file @
6e8d1669
<notempty
name=
"weekPhb"
>
<foreach
name=
"weekPhb"
key=
'key'
item=
"vo"
>
<div
class=
"award-tab-list"
>
<div
class=
"head-r-num"
>
<span
class=
"head-ranking"
>
<eq
name=
"p"
value=
"1"
>
<eq
name=
'key'
value=
'0'
><img
src=
"__PUBLIC__/Home/images/g2020/crown1.png"
alt=
""
></eq>
<eq
name=
'key'
value=
'1'
><img
src=
"__PUBLIC__/Home/images/g2020/crown2.png"
alt=
""
></eq>
<eq
name=
'key'
value=
'2'
><img
src=
"__PUBLIC__/Home/images/g2020/crown3.png"
alt=
""
></eq>
</eq>
</span>
<span
class=
"user-head"
pId=
"{$vo.user_id}"
pName=
"{$vo.user_name}"
>
<img
src=
"{:getPortraitPath($vo['user_id'], 'small', true)}"
alt=
""
>
</span>
<span
class=
"head-r-t"
pId=
"{$vo.user_id}"
pName=
"{$vo.user_name}"
>
{$vo.user_name}股神03-07
</span>
</div>
<div
class=
"info-data"
>
<table
cellspacing=
"0"
cellpadding=
"0"
>
<tr
class=
"data-num"
>
<td
class=
"num red"
style=
"text-align: left;"
>
第1名
</td>
<td
class=
"num red"
>
19.15%
</td>
<td
class=
"num"
style=
"text-align: right;"
>
0%
</td>
</tr>
<tr
class=
"data-title"
>
<td
class=
"title"
style=
"text-align: left;"
>
周排行
</td>
<td
class=
"title"
>
周盈利率
</td>
<td
class=
"title"
style=
"text-align: right;"
>
月周转率
</td>
</tr>
</table>
</div>
</div>
</foreach>
</notempty>
<script>
//点用户名和头像跳转到该大赛的旧的交易页
flag
=
0
;
$
(
'.goTradeNow'
).
click
(
function
(){
if
(
flag
==
1
)
return
;
flag
=
1
;
$
.
post
(
"/PkTop/getGoTradeInfo"
,
{
'userId'
:
$
(
this
).
attr
(
'pId'
),
'userName'
:
$
(
this
).
attr
(
'pName'
)},
function
(
res
)
{
if
(
res
.
status
==
1
)
{
flag
=
0
;
// alert(res.data);
if
(
mfrom
[
1
]
>
0
){
AppBridge
.
goTrade
(
res
.
data
);
}
}
});
});
</script>
app/Tpl/Vip/PkTop/
awardList
.html
→
app/Tpl/Vip/PkTop/
phb
.html
View file @
6e8d1669
...
...
@@ -8,8 +8,7 @@
<meta
name=
"format-detection"
content=
"telephone=no"
>
<meta
name=
"format-detection"
content=
"email=no"
>
<!--<title>2022模拟炒股大赛,全民炼股有奖大赛赛程及奖项安排</title>-->
<title>
叩富全民炼股争霸赛-首页
</title>
<title>
全民炼股争霸赛-全民分赛场-排行榜
</title>
<meta
name=
"description"
content=
"叩富简投全民炼股2023模拟炒股大赛,赢10万现金大奖。自2007年开赛以来,已累积举办200多期模拟炒股大奖赛。每周、每月都有现金大奖。软件、手机APP、网页同步参赛"
>
<meta
name=
"keywords"
content=
"2023模拟炒股大赛,模拟炒股大赛,模拟炒股,模拟股票大赛,炒股大赛,模拟炒股有奖大赛,模拟股市大赛,股票模拟大赛,股票大赛,腾讯A股大赛,凤凰炒股大赛"
>
...
...
@@ -41,14 +40,14 @@
AppBridge
.
init
();
//页面默认刷新
var
userId
=
"{$user.userID}"
;
//这个userid 一定是从session或者cookie里验证后获取到的。
if
(
!
userId
){
AppBridge
.
refreshPage
({},
function
(
userId
,
key
)
{
if
(
'{$refresh}'
==
'1'
){
// location.href='/Allex?user_id='+userId+'&key2='+key+'&viewPage='+'{$viewPage}';
location
.
replace
(
'/PkTop?user_id='
+
userId
+
'&key2='
+
key
+
'&viewPage='
+
'{$viewPage}'
);
}
});
}
//
if(!userId){
//
AppBridge.refreshPage({},function (userId,key) {
//
if('{$refresh}'=='1'){
//
// location.href='/Allex?user_id='+userId+'&key2='+key+'&viewPage='+'{$viewPage}';
//
location.replace('/PkTop?user_id='+userId+'&key2='+key+'&viewPage='+'{$viewPage}');
//
}
//
});
//
}
</script>
</head>
<body
style=
"min-height: 100%;background-color: #C60000;"
>
...
...
@@ -58,7 +57,7 @@
<div
class=
"header-h"
>
<a
href=
"javascript:;"
class=
"header-h-a"
><span
class=
"back-btn back-btn-a"
></span></a>
<span
class=
"header-share"
></span>
<ul
class=
"header-title"
>
<li
class=
"one-li"
>
全民炼股争霸赛
(2023)
</li></ul>
<ul
class=
"header-title"
>
<li
class=
"one-li"
>
全民炼股争霸赛
-全民分赛场-排行榜
</li></ul>
</div>
</div>
<div
class=
"head-fit"
></div>
...
...
@@ -133,93 +132,11 @@
</div>
<div
class=
"award-tab-panel"
>
<span
class=
"rule-make"
>
上榜规则:当周收益为正、月周转率>0
</span>
<div
class=
"award-tab-list"
>
<div
class=
"head-r-num"
>
<span
class=
"head-ranking"
>
<eq
name=
"p"
value=
"1"
>
<eq
name=
'key'
value=
'0'
><img
src=
"__PUBLIC__/Home/images/g2020/crown1.png"
alt=
""
></eq>
<eq
name=
'key'
value=
'1'
><img
src=
"__PUBLIC__/Home/images/g2020/crown2.png"
alt=
""
></eq>
<eq
name=
'key'
value=
'2'
><img
src=
"__PUBLIC__/Home/images/g2020/crown3.png"
alt=
""
></eq>
</eq>
</span>
<span
class=
"user-head"
pId=
"{$vo.user_id}"
pName=
"{$vo.user_name}"
>
<img
src=
"{:getPortraitPath($vo['user_id'], 'small', true)}"
alt=
""
>
</span>
<span
class=
"head-r-t"
pId=
"{$vo.user_id}"
pName=
"{$vo.user_name}"
>
{$vo.user_name}股神03-07
</span>
</div>
<div
class=
"info-data"
>
<table
cellspacing=
"0"
cellpadding=
"0"
>
<tr
class=
"data-num"
>
<td
class=
"num red"
style=
"text-align: left;"
>
第1名
</td>
<td
class=
"num red"
>
19.15%
</td>
<td
class=
"num"
style=
"text-align: right;"
>
0%
</td>
</tr>
<tr
class=
"data-title"
>
<td
class=
"title"
style=
"text-align: left;"
>
周排行
</td>
<td
class=
"title"
>
周盈利率
</td>
<td
class=
"title"
style=
"text-align: right;"
>
月周转率
</td>
</tr>
</table>
</div>
</div>
<div
class=
"award-tab-list"
>
<div
class=
"head-r-num"
>
<span
class=
"head-ranking"
>
<eq
name=
"p"
value=
"1"
>
<eq
name=
'key'
value=
'0'
><img
src=
"__PUBLIC__/Home/images/g2020/crown1.png"
alt=
""
></eq>
<eq
name=
'key'
value=
'1'
><img
src=
"__PUBLIC__/Home/images/g2020/crown2.png"
alt=
""
></eq>
<eq
name=
'key'
value=
'2'
><img
src=
"__PUBLIC__/Home/images/g2020/crown3.png"
alt=
""
></eq>
</eq>
</span>
<span
class=
"user-head"
pId=
"{$vo.user_id}"
pName=
"{$vo.user_name}"
>
<img
src=
"{:getPortraitPath($vo['user_id'], 'small', true)}"
alt=
""
>
</span>
<span
class=
"head-r-t"
pId=
"{$vo.user_id}"
pName=
"{$vo.user_name}"
>
{$vo.user_name}股神03-07
</span>
</div>
<div
class=
"info-data"
>
<table
cellspacing=
"0"
cellpadding=
"0"
>
<tr
class=
"data-num"
>
<td
class=
"num red"
style=
"text-align: left;"
>
第1名
</td>
<td
class=
"num red"
>
19.15%
</td>
<td
class=
"num"
style=
"text-align: right;"
>
0%
</td>
</tr>
<tr
class=
"data-title"
>
<td
class=
"title"
style=
"text-align: left;"
>
周排行
</td>
<td
class=
"title"
>
周盈利率
</td>
<td
class=
"title"
style=
"text-align: right;"
>
月周转率
</td>
</tr>
</table>
</div>
</div>
<div
class=
"award-tab-list"
>
<div
class=
"head-r-num"
>
<span
class=
"head-ranking"
>
<eq
name=
"p"
value=
"1"
>
<eq
name=
'key'
value=
'0'
><img
src=
"__PUBLIC__/Home/images/g2020/crown1.png"
alt=
""
></eq>
<eq
name=
'key'
value=
'1'
><img
src=
"__PUBLIC__/Home/images/g2020/crown2.png"
alt=
""
></eq>
<eq
name=
'key'
value=
'2'
><img
src=
"__PUBLIC__/Home/images/g2020/crown3.png"
alt=
""
></eq>
</eq>
</span>
<span
class=
"user-head"
pId=
"{$vo.user_id}"
pName=
"{$vo.user_name}"
>
<img
src=
"{:getPortraitPath($vo['user_id'], 'small', true)}"
alt=
""
>
</span>
<span
class=
"head-r-t"
pId=
"{$vo.user_id}"
pName=
"{$vo.user_name}"
>
{$vo.user_name}股神03-07
</span>
</div>
<div
class=
"info-data"
>
<table
cellspacing=
"0"
cellpadding=
"0"
>
<tr
class=
"data-num"
>
<td
class=
"num red"
style=
"text-align: left;"
>
第1名
</td>
<td
class=
"num red"
>
19.15%
</td>
<td
class=
"num"
style=
"text-align: right;"
>
0%
</td>
</tr>
<tr
class=
"data-title"
>
<td
class=
"title"
style=
"text-align: left;"
>
周排行
</td>
<td
class=
"title"
>
周盈利率
</td>
<td
class=
"title"
style=
"text-align: right;"
>
月周转率
</td>
</tr>
</table>
</div>
<div
id=
"weekContainer"
>
<include
file=
"itemWeek"
/>
</div>
</div>
<div
class=
"award-tab-panel"
style=
"display: none;"
>
<div
class=
"panel-btns"
>
...
...
@@ -227,72 +144,17 @@
<span
class=
"panel-btn center"
>
月盈利率
</span>
<span
class=
"panel-btn"
>
日盈利率
</span>
</div>
<div
class=
"top-item <eq name='key' value='0'>top1</eq> <eq name='key' value='1'>top2</eq> <eq name='key' value='2'>top3</eq> "
>
<div
class=
"top-item-info"
>
<div
class=
"user-pk"
>
<div
class=
"head-r-num"
>
<span
class=
"head-ranking"
>
<eq
name=
"p"
value=
"1"
>
<eq
name=
'key'
value=
'0'
><img
src=
"__PUBLIC__/Home/images/g2020/crown1.png"
alt=
""
></eq>
<eq
name=
'key'
value=
'1'
><img
src=
"__PUBLIC__/Home/images/g2020/crown2.png"
alt=
""
></eq>
<eq
name=
'key'
value=
'2'
><img
src=
"__PUBLIC__/Home/images/g2020/crown3.png"
alt=
""
></eq>
</eq>
</span>
<span
class=
"user-head goTradeNow"
pId=
"{$vo.user_id}"
pName=
"{$vo.user_name}"
>
<img
src=
"{:getPortraitPath($vo['user_id'], 'small', true)}"
alt=
""
>
</span>
</div>
<span
class=
"head-r-t goTradeNow"
pId=
"{$vo.user_id}"
pName=
"{$vo.user_name}"
>
{$vo.user_name}111
</span>
<span
class=
"head-r-t"
>
<eq
name=
"vo.robot_user"
value=
"1"
>
<a
href=
"{$vo.robot_url}"
>
<img
src=
"__PUBLIC__/Home/images/robot/robot.png"
style=
"width: 15px;"
alt=
""
>
</a>
</eq>
</span>
</div>
<p
class=
"info-rank-w"
>
<eq
name=
"order"
value=
"zongup"
>
<span
class=
"l"
>
总排行
<span
class=
"y"
>
第{$key+($p-1)*10+1}名
</span></span>
<span
class=
"w"
>
月收益率
<span
class=
"y"
<
egt
name=
'vo.lastmonthup'
value=
'0'
>
style='color:#d80000'
<else/>
style='color:#008E00'
</egt>
>{$vo.lastmonthup}%
</span>
</span>
</eq>
<eq
name=
"order"
value=
"lastmonthup"
>
<span
class=
"l"
>
月排行
<span
class=
"y"
>
第{$key+($p-1)*10+1}名
</span></span>
<span
class=
"w"
>
月收益率
<span
class=
"y"
<
egt
name=
'vo.lastmonthup'
value=
'0'
>
style='color:#d80000'
<else/>
style='color:#008E00'
</egt>
>{$vo.lastmonthup}%
</span>
</span>
</eq>
<eq
name=
"order"
value=
"lastweekup"
>
<span
class=
"l"
>
周排行
<span
class=
"y"
>
第{$key+($p-1)*10+1}名
</span></span>
<span
class=
"w"
>
周收益率
<span
class=
"y"
<
egt
name=
'vo.lastweekup'
value=
'0'
>
style='color:#d80000'
<else/>
style='color:#008E00'
</egt>
>{$vo.lastweekup}%
</span>
</span>
</eq>
<eq
name=
"order"
value=
"lastdayup"
>
<span
class=
"l"
>
日排行
<span
class=
"y"
>
第{$key+($p-1)*10+1}名
</span></span>
<span
class=
"w"
>
日收益率
<span
class=
"y"
<
egt
name=
'vo.lastdayup'
value=
'0'
>
style='color:#d80000'
<else/>
style='color:#008E00'
</egt>
>{$vo.lastdayup}%
</span>
</span>
</eq>
</p>
<p
class=
"info-rank-w"
>
<span
class=
"l"
>
选股成功率
<span
class=
"y"
>
{$vo.successup}%
</span></span>
<span
class=
"w"
>
总收益率
<span
class=
"y"
<
egt
name=
'vo.zongup'
value=
'0'
>
style='color:#d80000'
<else/>
style='color:#008E00'
</egt>
>{$vo.zongup}%
</span>
</span>
</p>
</div>
<div
id=
"containerNew"
>
<include
file=
"itemOther"
/>
</div>
<div
class=
"no-data"
>
<img
class=
"no-data-img"
src=
"__PUBLIC__/Home/images/group/cc-nodata.png"
alt=
""
>
<p
class=
"no-data-msg"
>
当前没有盈利率排行
</p>
<!--<div class="no-data">-->
<!--<img class="no-data-img" src="__PUBLIC__/Home/images/group/cc-nodata.png" alt="">-->
<!--<p class="no-data-msg">当前没有盈利率排行</p>-->
<!--</div>-->
</div>
</div>
</div>
<div
class=
"contest-hof"
>
<div
class=
"contest-hof"
style=
"display: none"
>
<div
class=
"hof-title"
>
<div
class=
"hof-lf hof-btn active"
style=
"width: 49%"
>
当前排行
</div>
<div
class=
"hof-lf hof-btn"
style=
"width: 49%"
>
历史排行
</div>
...
...
@@ -338,35 +200,7 @@
<include
____
file=
"item2"
/>
</div>
</div>
<div
class=
"hof-tab-block"
style=
"display: none"
>
<div
class=
"select-box-li"
>
<div
class=
"box"
>
<form>
<span
class=
"select"
data-s=
""
>
{$selectMonthStart1}PK通关榜
</span>
</form>
<span
class=
"select-span"
><img
src=
"__PUBLIC__/Home/images/g2020/select-down.png"
alt=
""
></span>
</div>
<!--<div style="clear: both;"></div>-->
<ul
class=
"sub"
>
<foreach
name=
"selectMonth1"
key=
'key'
item=
"vo"
>
<li
data=
"{$key}"
class=
"selectPass"
>
{$vo}PK通关榜
</li>
</foreach>
</ul>
</div>
<div
style=
"clear: both;"
></div>
<div
class=
"month-top-block year"
id=
"containerPass"
>
<!--<div style="clear: both;"></div>-->
<include
file=
"itemPass"
/>
</div>
</div>
<!--现在用不到-->
<div
class=
"hof-tab-block"
style=
"display: none;margin-top: 15px;"
>
<div
style=
"clear: both;"
></div>
<div
class=
"month-top-block year"
id=
"finalList"
>
<include
file=
"finalList"
/>
</div>
</div>
</div>
</div>
...
...
@@ -564,21 +398,7 @@
})
});
//打开页面时出现pk消息的弹框
if
(
'{$popType}'
==
2
){
animPop
(
'#pop2'
);
}
if
(
'{$popType}'
==
3
){
var
text
=
$
(
'#pop3'
).
children
(
'.result-msg-s'
).
text
();
text
=
text
.
replace
(
/【】/
,
"【{$popPkUserName}】"
);
$
(
'#pop3'
).
children
(
'.result-msg-s'
).
text
(
text
);
animPop
(
'#pop3'
);
}
if
(
'{$popType}'
==
4
){
var
text
=
$
(
'#pop4'
).
children
(
'.result-msg-s'
).
text
();
text
=
text
.
replace
(
/【】/
,
"【{$popPkUserName}】"
);
$
(
'#pop4'
).
children
(
'.result-msg-s'
).
text
(
text
);
animPop
(
'#pop3'
);
}
$
(
function
(){
var
num
=
$
(
'.notice-ul'
).
find
(
'li'
).
length
;
...
...
@@ -610,28 +430,7 @@
window
.
location
.
reload
();
});
//显示月份的下拉框
$
(
'.select-box-li .box'
).
each
(
function
(
i
,
obj
){
var
oSelect
=
$
(
obj
);
var
oSub
=
oSelect
.
parents
(
'.select-box-li'
).
find
(
'.sub'
);
var
aLi
=
oSelect
.
parents
(
'.select-box-li'
).
find
(
'.sub li'
);
var
i
=
0
;
oSelect
[
0
].
onclick
=
function
(
event
){
oSub
.
toggle
();
//阻止事件冒泡
(
event
||
window
.
event
).
cancelBubble
=
true
;
};
for
(
i
=
0
;
i
<
aLi
.
length
;
i
++
){
//鼠标划过
aLi
[
i
].
onclick
=
function
(){
$
(
oSelect
).
find
(
'.select'
).
html
(
$
(
this
).
html
());
};
}
document
.
onclick
=
function
()
{
$
(
'.select-box-li .sub'
).
hide
();
};
});
//点击当前排行下面的几个盈利率
$
(
'.selectNow'
).
click
(
function
(){
...
...
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