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
f0e2973b
Commit
f0e2973b
authored
Apr 07, 2023
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vip大赛
parent
66f4b81d
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
305 additions
and
692 deletions
+305
-692
PkTopAction.class.php
app/Lib/Action/Vip/PkTopAction.class.php
+19
-11
bottom.html
app/Tpl/Vip/PkTop/bottom.html
+8
-8
choujiang.html
app/Tpl/Vip/PkTop/choujiang.html
+220
-83
index.html
app/Tpl/Vip/PkTop/index.html
+22
-422
itemOther.html
app/Tpl/Vip/PkTop/itemOther.html
+3
-4
itemWeek.html
app/Tpl/Vip/PkTop/itemWeek.html
+3
-3
nav.html
app/Tpl/Vip/PkTop/nav.html
+23
-0
phbOther.html
app/Tpl/Vip/PkTop/phbOther.html
+1
-46
phbWeek.html
app/Tpl/Vip/PkTop/phbWeek.html
+6
-115
No files found.
app/Lib/Action/Vip/PkTopAction.class.php
View file @
f0e2973b
...
...
@@ -13,7 +13,14 @@ class PkTopAction extends IdentityAction{
public
$STATUS_TXT
=
array
(
'1'
=>
'未开赛'
,
'2'
=>
'进行中'
,
'3'
=>
'已结束'
);
public
function
_initialize
()
{
parent
::
_initialize
();
$userId
=
$this
->
user
[
'userID'
];
$ids
=
D
(
'Group'
)
->
getGroupCache
(
$userId
);
if
(
in_array
(
$this
->
GID
,
$ids
))
{
$this
->
assign
(
'joinStatus'
,
1
);
}
}
//首页
public
function
indexOld
()
{
//首页的排行榜等切换
...
...
@@ -1067,9 +1074,9 @@ class PkTopAction extends IdentityAction{
$userName
=
I
(
'userName'
,
''
);
$gid
=
I
(
'gid'
,
$this
->
GID
,
intval
);
if
(
!
$userId
||!
$userName
){
$this
->
ajaxReturn
(
array
(
'status'
=>
0
,
'info'
=>
'非法参数'
)
);
$this
->
ajaxReturn
(
[
'status'
=>
0
,
'info'
=>
'非法参数'
]
);
}
$gInfo
=
M
(
'Group'
)
->
field
(
'group_id,web_id,category,name,startTime,endTime'
)
->
where
(
array
(
'group_id'
=>
$gid
)
)
->
find
();
$gInfo
=
M
(
'Group'
)
->
field
(
'group_id,web_id,category,name,startTime,endTime'
)
->
where
(
[
'group_id'
=>
$gid
]
)
->
find
();
$goTradeInfo
=
[
'group_id'
=>
$gInfo
[
'group_id'
],
'web_id'
=>
$gInfo
[
'web_id'
],
'category'
=>
$gInfo
[
'category'
],
'name'
=>
$gInfo
[
'name'
]];
$goTradeInfo
[
'groupStatus'
]
=
$gInfo
[
'startTime'
]
>
time
()
?
'1'
:
(
is_end
(
$gInfo
[
'endTime'
])
?
'3'
:
'2'
);
...
...
@@ -1266,8 +1273,8 @@ class PkTopAction extends IdentityAction{
$this
->
setUcLogin
(
$userId
);
}
$gid
=
$this
->
GID
;
$groupId
=
I
(
'groupId'
,
$gid
)
;
//
$gid = $this->GID;
$groupId
=
$this
->
GID
;
$groupInfo
=
M
(
'Group'
)
->
field
(
'group_id,web_id,category,name,startTime,endTime,member_quantity'
)
->
where
([
'group_id'
=>
$groupId
])
->
find
();
$groupStatus
=
$this
->
getGroupStatus
(
$groupInfo
);
...
...
@@ -1287,7 +1294,7 @@ class PkTopAction extends IdentityAction{
$lastMonth
=
date
(
'Y-m'
,
strtotime
(
date
(
'Y-m-01'
)
.
"-1 month"
));
$lastMonthInt
=
intval
(
date
(
'm'
,
strtotime
(
date
(
'Y-m-01'
)
.
"-1 month"
)));
$rankNow
=
$this
->
rankNow
(
'local'
);
//
$rankNow = $this->rankNow('local');
//弹窗里面的pk时间段
$pkTime
=
date
(
'n月j日'
,
strtotime
(
'next Monday'
))
.
'-'
.
date
(
'n月j日'
,
strtotime
(
'next Monday'
)
+
4
*
3600
*
24
);
...
...
@@ -1300,14 +1307,16 @@ class PkTopAction extends IdentityAction{
$popData
=
null
;
//第一个页面显示的数据,公告,心得等
$firstPageData
=
[
'popType'
=>
$popData
[
'popType'
],
'popPkUserName'
=>
$popData
[
'popPkUserName'
],
'thinks'
=>
$thinks
,
'gonggao'
=>
$gonggao
];
$firstPageData
=
[
// 'popType' => $popData['popType'], 'popPkUserName' => $popData['popPkUserName'],
'thinks'
=>
$thinks
,
'gonggao'
=>
$gonggao
];
// $return = ['msg' => $msg, 'top10' => $top10,'lastMonthInt' => $lastMonthInt, 'myAllPkCount' => $myAllPkCount];
$this
->
assign
(
$firstPageData
);
$this
->
assign
(
$mingrentang
);
$this
->
assign
(
$rankNow
);
$this
->
assign
(
$return
);
//
$this->assign($mingrentang);
//
$this->assign($rankNow);
//
$this->assign($return);
//总决赛列表
$_GET
[
'order'
]
=
'zongup'
;
...
...
@@ -1362,7 +1371,6 @@ class PkTopAction extends IdentityAction{
//我的成绩
$this
->
setMyData
();
$this
->
assign
(
'gid'
,
$gid
);
$this
->
display
();
}
...
...
app/Tpl/Vip/PkTop/bottom.html
View file @
f0e2973b
<eq
name=
"hideShiPan"
value=
"0"
>
<div
class=
"bottom-j-btn bottom-btn"
>
<div
class=
"left-zx"
id=
"zixun"
><img
class=
"icon"
src=
"__PUBLIC__/Home/images/g2020/zx-icon-b.png"
/>
咨询
</div>
<div
class=
"showMoreDs"
>
...
...
@@ -16,7 +16,7 @@
</div>
</eq>
</div>
</eq>
<div
class=
"foot-fix"
>
</div>
...
...
@@ -148,12 +148,12 @@
$
(
function
(){
var
num
=
$
(
'.notice-ul'
).
find
(
'li'
).
length
;
if
(
num
>
1
){
var
time
=
setInterval
(
'timer(".notice-ul")'
,
3500
);
}
});
//
$(function(){
//
var num = $('.notice-ul').find('li').length;
//
if(num > 1){
//
var time=setInterval('timer(".notice-ul")',3500);
//
}
//
});
$
(
'.go-rule'
).
click
(
function
(){
$
(
'html,body'
).
animate
({
scrollTop
:
$
(
'.bottom'
).
offset
().
top
},
500
);
...
...
app/Tpl/Vip/PkTop/choujiang.html
View file @
f0e2973b
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,viewport-fit=cover"
>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
<meta
name=
"format-detection"
content=
"telephone=no"
>
<meta
name=
"format-detection"
content=
"email=no"
>
<eq
name=
"hideShiPan"
value=
"0"
>
<
a
href=
"javascript;"
class=
"lottery-click-a"
>
点击立即开户 瓜分10万
</a
>
</eq
>
<title>
全民炼股争霸赛-全民分赛场-瓜分十万
</title
>
<
meta
name=
"description"
content=
"叩富简投全民炼股2023模拟炒股大赛,赢10万现金大奖。自2007年开赛以来,已累积举办200多期模拟炒股大奖赛。每周、每月都有现金大奖。软件、手机APP、网页同步参赛"
>
<meta
name=
"keywords"
content=
"2023模拟炒股大赛,模拟炒股大赛,模拟炒股,模拟股票大赛,炒股大赛,模拟炒股有奖大赛,模拟股市大赛,股票模拟大赛,股票大赛,腾讯A股大赛,凤凰炒股大赛"
>
<div
class=
"lottery-num"
>
您当前还有
<span>
{$leftCjNum|default=0}
</span>
次抽奖机会
</div>
<div
class=
"lottery-line"
>
<img
class=
"left"
src=
"__PUBLIC__/Home/images/g2020/lottery-line.png"
alt=
""
>
<img
class=
"right"
src=
"__PUBLIC__/Home/images/g2020/lottery-line.png"
alt=
""
>
</div>
<div
class=
"lottery-item"
id=
"lottery"
>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
>
<tr>
<td
class=
"lottery-unit lottery-unit-0 active"
><img
src=
"__PUBLIC__/Home/images/g2020/100-item.png"
><div
class=
"unit-mask"
></div></td>
<td
class=
"lottery-unit lottery-unit-1"
><img
src=
"__PUBLIC__/Home/images/g2020/500-item.png"
><div
class=
"unit-mask"
></div></td>
<td
class=
"lottery-unit lottery-unit-2"
><img
src=
"__PUBLIC__/Home/images/g2020/300-item.png"
><div
class=
"unit-mask"
></div></td>
</tr>
<tr>
<td
class=
"lottery-unit lottery-unit-7"
><img
src=
"__PUBLIC__/Home/images/g2020/800-item.png"
><div
class=
"unit-mask"
></div></td>
<td
class=
"btn"
><img
src=
"__PUBLIC__/Home/images/g2020/cj-btn.png"
></td>
<td
class=
"lottery-unit lottery-unit-3"
><img
src=
"__PUBLIC__/Home/images/g2020/50-item.png"
><div
class=
"unit-mask"
></div></td>
</tr>
<tr>
<td
class=
"lottery-unit lottery-unit-6"
><img
src=
"__PUBLIC__/Home/images/g2020/1000-item.png"
><div
class=
"unit-mask"
></div></td>
<td
class=
"lottery-unit lottery-unit-5"
><img
src=
"__PUBLIC__/Home/images/g2020/1500-item.png"
><div
class=
"unit-mask"
></div></td>
<td
class=
"lottery-unit lottery-unit-4"
><img
src=
"__PUBLIC__/Home/images/g2020/2000-item.png"
><div
class=
"unit-mask"
></div></td>
</tr>
</table>
</div>
<!--<div class="pk-detail-block" style="margin-top: 15px;">-->
<!-- <div class="my-pk-cont marginT10">-->
<!-- <div class="no-pk">中金财富证券专属奖池,比赛期间成为中金财富证券用户, 且月赛收益为正即可<span class="red bold">瓜分10万</span>超级大奖</div>-->
<!-- <div class="no-pk">注意:只有在全民炼股大赛的专属链接(二维码)开户的才计算,通过其他途径如训练营开户的不计算在内</div>-->
<!-- </div>-->
<!--</div>-->
<div
class=
"contest-setting contest-item"
>
<div
class=
"title-p"
>
抽奖规则
</div>
<div
class=
"setting-info"
>
<div
class=
"time-contest-item paddingT0"
>
<div
class=
"item-d"
>
<p
class=
"item-p"
>
1、当月月赛收益为正,且成功开通指定证券账户的参赛选手,即可获得抽奖次数,
<span
class=
"bold"
style=
"color: #C60000"
>
100%中奖
</span>
;
</p>
</div>
<div
class=
"item-d"
>
<p
class=
"item-p"
>
2、获得获奖次数,点击下方转盘即可抽取现金大奖
<span
class=
"bold"
style=
"color: #C60000"
>
(50元-2000元不等)
</span>
;
</p>
</div>
<div
class=
"item-d"
>
<p
class=
"item-p"
>
3、保存获奖截图,发给大赛管理员领取奖励;
</p>
</div>
<link
href=
"__PUBLIC__/Home/css/g2021.css?_={:date('Y-m-d-H:i:s',filemtime('./Public/Home/css/g2021.css'))}"
rel=
"stylesheet"
>
<link
href=
"__PUBLIC__/Home/css/moreDs.css?_={:date('Y-m-d-H:i:s',filemtime('./Public/Home/css/moreDs.css'))}"
rel=
"stylesheet"
>
<link
rel=
"stylesheet"
href=
"__PUBLIC__/Home/js/slider/css/jquery.bxslider.css"
>
<script
type=
"text/javascript"
src=
"__PUBLIC__/js/jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"__PUBLIC__/js/layer_mobile/layer.js"
></script>
<script
type=
"text/javascript"
src=
"__PUBLIC__/js/clipboard.min.js"
></script>
<script
type=
"text/javascript"
src=
"__PUBLIC__/Home/js/app.js{$Think.config.js_version}"
></script>
<script
type=
"text/javascript"
src=
"__PUBLIC__/Home/js/pktop.js?_={:date('Y-m-d-H:i:s',filemtime('./Public/Home/js/pktop.js'))}"
></script>
<script
type=
"text/javascript"
src=
"__PUBLIC__/Home/js/lottery.js?_={:date('Y-m-d-H:i:s',filemtime('./Public/Home/js/lottery.js'))}"
></script>
<script
type=
"text/javascript"
src=
"__PUBLIC__/js/jquery.cookie.js"
></script>
<script
type=
"text/javascript"
src=
"__PUBLIC__/js/app_h5.js?_={:date('Y-m-d-H:i:s',filemtime('./Public/js/app_h5.js'))}"
></script>
<style>
.layui-m-layerbtn
span
[
yes
]
{
color
:
#b40000
;}
.layui-m-layerbtn
span
[
no
]
{
color
:
#b40000
;}
.layui-m-layerbtn
span
:first-child
{
color
:
#b40000
;}
.header-share
{
width
:
40px
;
height
:
48px
;
display
:
block
;
background
:
url('__PUBLIC__/Home/images/group/header-shareG.png')
no-repeat
;
background-size
:
20px
20px
;
background-position
:
0px
14px
;
line-height
:
100%
;
position
:
absolute
;
right
:
0px
;
top
:
0px
;
margin-right
:
-8px
;
}
</style>
<script
type=
"text/javascript"
>
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}');
// }
// });
// }
</script>
</head>
<body
style=
"min-height: 100%;background-color: #C60000;"
>
<if
condition=
"isH5Head() lt 1"
>
<div
class=
"header-top"
>
<div
class=
"header-hei"
></div>
<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"
>
全民炼股争霸赛-全民分赛场-排行榜
</li></ul>
</div>
</div>
<div
class=
"head-fit"
></div>
<script>
//为了加载效果提前
//点后退按钮
var
ourl
=
''
;
if
(
"{$_GET.key}"
!=
''
||
"{$_GET.is_head}"
!=
''
||
"{$_GET.key2}"
!=
''
){
// if(!window.localStorage.getItem('TradeQueryPageUid')){
ourl
=
'close'
;
// }
}
AppBridge
.
go_back
(
ourl
);
AppBridge
.
head_fit
();
</script>
</if>
<div
class=
"championship-cont warp-container"
>
<include
file=
"nav"
/>
<div
class=
"contest-body-detail"
>
<eq
name=
"hideShiPan"
value=
"0"
>
<a
href=
"javascript;"
class=
"lottery-click-a"
>
点击立即开户 瓜分10万
</a>
</eq>
<div
class=
"lottery-num"
>
您当前还有
<span>
{$leftCjNum|default=0}
</span>
次抽奖机会
</div>
<div
class=
"lottery-line"
>
<img
class=
"left"
src=
"__PUBLIC__/Home/images/g2020/lottery-line.png"
alt=
""
>
<img
class=
"right"
src=
"__PUBLIC__/Home/images/g2020/lottery-line.png"
alt=
""
>
</div>
<div
class=
"lottery-item"
id=
"lottery"
>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
>
<tr>
<td
class=
"lottery-unit lottery-unit-0 active"
><img
src=
"__PUBLIC__/Home/images/g2020/100-item.png"
><div
class=
"unit-mask"
></div></td>
<td
class=
"lottery-unit lottery-unit-1"
><img
src=
"__PUBLIC__/Home/images/g2020/500-item.png"
><div
class=
"unit-mask"
></div></td>
<td
class=
"lottery-unit lottery-unit-2"
><img
src=
"__PUBLIC__/Home/images/g2020/300-item.png"
><div
class=
"unit-mask"
></div></td>
</tr>
<tr>
<td
class=
"lottery-unit lottery-unit-7"
><img
src=
"__PUBLIC__/Home/images/g2020/800-item.png"
><div
class=
"unit-mask"
></div></td>
<td
class=
"btn"
><img
src=
"__PUBLIC__/Home/images/g2020/cj-btn.png"
></td>
<td
class=
"lottery-unit lottery-unit-3"
><img
src=
"__PUBLIC__/Home/images/g2020/50-item.png"
><div
class=
"unit-mask"
></div></td>
</tr>
<tr>
<td
class=
"lottery-unit lottery-unit-6"
><img
src=
"__PUBLIC__/Home/images/g2020/1000-item.png"
><div
class=
"unit-mask"
></div></td>
<td
class=
"lottery-unit lottery-unit-5"
><img
src=
"__PUBLIC__/Home/images/g2020/1500-item.png"
><div
class=
"unit-mask"
></div></td>
<td
class=
"lottery-unit lottery-unit-4"
><img
src=
"__PUBLIC__/Home/images/g2020/2000-item.png"
><div
class=
"unit-mask"
></div></td>
</tr>
</table>
</div>
<!--<div class="pk-detail-block" style="margin-top: 15px;">-->
<!-- <div class="my-pk-cont marginT10">-->
<!-- <div class="no-pk">中金财富证券专属奖池,比赛期间成为中金财富证券用户, 且月赛收益为正即可<span class="red bold">瓜分10万</span>超级大奖</div>-->
<!-- <div class="no-pk">注意:只有在全民炼股大赛的专属链接(二维码)开户的才计算,通过其他途径如训练营开户的不计算在内</div>-->
<!-- </div>-->
<!--</div>-->
<div
class=
"contest-setting contest-item"
>
<div
class=
"title-p"
>
抽奖规则
</div>
<div
class=
"setting-info"
>
<div
class=
"time-contest-item paddingT0"
>
<div
class=
"item-d"
>
<p
class=
"item-p"
>
1、当月月赛收益为正,且成功开通指定证券账户的参赛选手,即可获得抽奖次数,
<span
class=
"bold"
style=
"color: #C60000"
>
100%中奖
</span>
;
</p>
</div>
<div
class=
"item-d"
>
<p
class=
"item-p"
>
2、获得获奖次数,点击下方转盘即可抽取现金大奖
<span
class=
"bold"
style=
"color: #C60000"
>
(50元-2000元不等)
</span>
;
</p>
</div>
<div
class=
"item-d"
>
<p
class=
"item-p"
>
3、保存获奖截图,发给大赛管理员领取奖励;
</p>
</div>
<div
class=
"rule-bot-msg"
>
说明:
<br>
抽奖权限及奖金问题可联系大赛管理员
<br>
<div
class=
"rule-bot-msg"
>
说明:
<br>
抽奖权限及奖金问题可联系大赛管理员
<br>
<!--大赛管理员微信:<span class="red">{$weixin}</span>-->
<!--<button class="copy-code-btna copbtn copyWx" data-clipboard-action="copy" data-clipboard-text="{$weixin}" >点击复制</button>-->
<!--<img class="code" src="__PUBLIC__/Home/images/g2020/koufuchaogu.jpg" alt="">-->
<!--大赛管理员微信:<span class="red">{$weixin}</span>-->
<!--<button class="copy-code-btna copbtn copyWx" data-clipboard-action="copy" data-clipboard-text="{$weixin}" >点击复制</button>-->
<!--<img class="code" src="__PUBLIC__/Home/images/g2020/koufuchaogu.jpg" alt="">-->
管理员企微号可截图保存添加
<img
class=
"code"
src=
"__PUBLIC__/Home/images/2023ewm/vipDs.jpg"
alt=
""
>
管理员企微号可截图保存添加
<img
class=
"code"
src=
"__PUBLIC__/Home/images/2023ewm/vipDs.jpg"
alt=
""
>
<!--<p class="msg-code">保存截图,微信扫一扫</p>-->
<!--<p class="msg-code">保存截图,微信扫一扫</p>-->
</div>
</div>
</div>
</div>
</div>
</div>
<!--<div class="contest-setting contest-item">-->
<!--<div class="title-p">抽奖时间及领奖</div>-->
<!--<div class="setting-info">-->
<!--<div class="contest-setting contest-item">-->
<!--<div class="title-p">抽奖时间及领奖</div>-->
<!--<div class="setting-info">-->
<!--<div class="time-contest-item paddingT0">-->
<!--<div class="item-d"> <p class="item-p">1、每月第一周可抽奖,符合条件用户可抽取上个月奖励</p> </div>-->
<!--<div class="item-d"> <p class="item-p">2、每人只有一次抽奖机会</p> </div>-->
<!--<div class="item-d">-->
<!--<p class="item-p">抽奖奖金请联系大赛管理员领取(微信号:<span class="m-color1 bold">cofool123</span>)</p>-->
<!--</div>-->
<!--<div class="item-d"> <p class="item-p">1、每月第一周可抽奖,符合条件用户可抽取上个月奖励</p> </div>-->
<!--<div class="item-d"> <p class="item-p">2、每人只有一次抽奖机会</p> </div>-->
<!--<div class="item-d">-->
<!--<p class="item-p">抽奖奖金请联系大赛管理员领取(微信号:<span class="m-color1 bold">cofool123</span>)</p>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--<div class="contest-setting contest-item table-padding">-->
<!--<div class="title-p">获奖名单</div>-->
<!--<div class="setting-info">-->
<!--<div class="contest-setting contest-item table-padding">-->
<!--<div class="title-p">获奖名单</div>-->
<!--<div class="setting-info">-->
<!--<table cellspacing="0" cellpadding="0">-->
<!--<thead>-->
<!--<tr><th class="left">用户名</th> <th>收益率</th> <th class="right">奖金</th> </tr>-->
<!--</thead>-->
<!--<tbody>-->
<!--<notempty name="userList">-->
<!--<foreach name="luckydogs" key='key' item="vo">-->
<!--<tr><td class="left">{$vo.user_name}</td><td>{$vo.shouyi}%</td><td class="right">{$vo.prize}</td></tr>-->
<!--</foreach>-->
<!--<else/>-->
<!--<tr><td colspan="3">-->
<!--<img class="no-data-img" src="__PUBLIC__/Home/images/group/cc-nodata.png" alt="" style="width: 35%;">-->
<!--<p class="no-data-msg" style="color: #666666;">暂无获奖名单</p>-->
<!--</td>-->
<!--</tr>-->
<!--</notempty>-->
<!--</tbody>-->
<!--<thead>-->
<!--<tr><th class="left">用户名</th> <th>收益率</th> <th class="right">奖金</th> </tr>-->
<!--</thead>-->
<!--<tbody>-->
<!--<notempty name="userList">-->
<!--<foreach name="luckydogs" key='key' item="vo">-->
<!--<tr><td class="left">{$vo.user_name}</td><td>{$vo.shouyi}%</td><td class="right">{$vo.prize}</td></tr>-->
<!--</foreach>-->
<!--<else/>-->
<!--<tr><td colspan="3">-->
<!--<img class="no-data-img" src="__PUBLIC__/Home/images/group/cc-nodata.png" alt="" style="width: 35%;">-->
<!--<p class="no-data-msg" style="color: #666666;">暂无获奖名单</p>-->
<!--</td>-->
<!--</tr>-->
<!--</notempty>-->
<!--</tbody>-->
<!--</table>-->
<!--</div>-->
<!--</div>-->
\ No newline at end of file
<!--</div>-->
<!--</div>-->
</div>
</div>
<include
file=
"bottom"
/>
</div>
<div
class=
"mask mask-close"
style=
""
></div>
<include
file=
"pop"
/>
</body>
<script>
$
(
function
(){
// $(function(){
// var num = $('.notice-ul').find('li').length;
// if(num > 1){
// var time=setInterval('timer(".notice-ul")',3500);
// }
// });
// $('.go-rule').click(function(){
// $('html,body').animate({scrollTop: $('.bottom').offset().top}, 500);
// })
//当前只有两个弹窗
// $(".t-pop-close,.pop-close").click(function () {
// animPop($(this).parents('.pops'));
// });
// $("#closeBm,#closeWx").click(function () {
// animPop($(this).parents('.pops'));
// });
//弹出咨询弹框
// $("#zixun").click(function () {
// animPop('#popWx')
// });
//点关闭刷新页面取状态
// $("#closeSucc").click(function () {
// $('#popPkTopSucc').hide();
// window.location.reload();
// });
});
</script>
</html>
<!--userId:{$user.userID}-userName:{$user.userName}-gid:{$gid}-->
\ No newline at end of file
app/Tpl/Vip/PkTop/index.html
View file @
f0e2973b
...
...
@@ -75,22 +75,7 @@
</script>
</if>
<div
class=
"championship-cont warp-container"
>
<div
class=
"champ-body-top"
>
<div
class=
"top-banner"
>
<img
src=
"__PUBLIC__/images/2023/cg-banner2.png"
alt=
""
>
<!--<span class="cs-num">· {$member_quantity|default=0}人参赛 ·</span>-->
</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万
</li>
<li
class=
"en-li f-center"
style_=
"width: 24%"
>
获奖榜
</li>
<li
class=
"en-li f-right"
>
返回主赛场
<img
class=
"more"
src=
"__PUBLIC__/Home/images/g2020/gdjj.png"
style=
""
/>
</li>
</ul>
</div>
</div>
<include
file=
"nav"
/>
<div
class=
"contest-body-detail"
>
<div
class=
"b-notice"
>
<span
class=
"b-notice-icon"
></span>
...
...
@@ -209,97 +194,8 @@
</div>
</div>
<div
class=
"contest-body-detail"
style=
"display: none"
>
<!--1pk付款,2发起pk,3pk胜利,4pk失败,5胜利退钱,6失败钱归passive,7买重置卡-->
<include
file=
"choujiang"
/>
</div>
<div
class=
"contest-body-detail"
style=
"display: none"
>
<div
class=
"contest-hof"
>
<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>
<!--<div class="hof-rg hof-btn ">PK通关榜</div>-->
<!--<div class="hof-rg hof-btn active">总决赛</div>-->
</div>
<div
class=
"hof-tab-block"
style__=
"display: none"
>
<div
class=
"ranking-tab"
>
<div
data=
"{$key}"
style=
"width: 25%"
class=
"tab-btn selectNow <eq name='order' value='zongup'>active</eq> "
order=
"zongup"
>
总盈利率
</div>
<div
data=
"{$key}"
style=
"width: 25%"
class=
"tab-btn selectNow <eq name='order' value='lastmonthup'>active</eq> "
order=
"lastmonthup"
>
月盈利率
</div>
<div
data=
"{$key}"
style=
"width: 25%"
class=
"tab-btn selectNow <eq name='order' value='lastweekup'>active</eq> "
order=
"lastweekup"
>
周盈利率
</div>
<div
data=
"{$key}"
style=
"width: 25%"
class=
"tab-btn selectNow <eq name='order' value='lastdayup'>active</eq> "
order=
"lastdayup"
>
日盈利率
</div>
</div>
<div
style=
"clear: both;"
></div>
<!--当前最新月份排行,totalCount:{$totalCount}-->
<div
class=
"month-top-block current-m"
id=
"containerNow"
>
<include
file=
"itemNow"
/>
</div>
<gt
name=
"totalCount"
value=
"10"
>
<div
style=
"padding: 10px 15px 0px;text-align:center;color:#fff;font-size: 14px;"
currPage=
"1"
totalPage=
'{$pages}'
id=
"loadBtn"
>
<p
class=
"loading l_1"
style=
""
><span
class=
"txt"
>
加载中...
</span></p>
<p
class=
"loading l_2"
id=
"nextPage"
style=
"display: none;"
><span
class=
"txt"
>
加载更多
</span></p>
<p
class=
"loading l_3"
style=
"display: none;"
id=
"no_content"
><span
class=
"txt"
>
没有更多用户了
</span></p>
</div>
</gt>
</div>
<div
class=
"hof-tab-block"
style=
"display: none"
>
<div
class=
"select-box-li"
>
<div
class=
"box"
>
<form><span
class=
"select"
data-s=
""
>
{$selectMonthStart2}排行榜
</span></form>
<span
class=
"select-span"
><img
src=
"__PUBLIC__/Home/images/g2020/select-down.png"
alt=
""
></span>
<!--<div style="clear: both;"></div>-->
</div>
<ul
class=
"sub"
>
<foreach
name=
"selectMonth2"
key=
'key'
item=
"vo"
>
<li
data=
"{$key}"
class=
"selectHis"
>
{$vo}排行榜
</li>
</foreach>
</ul>
</div>
<div
style=
"clear: both;"
></div>
<!--<div class="month-top-block history-m" id="container2">-->
<!--</div>-->
<div
class=
"month-top-block current-m"
id=
"containerHis"
>
<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"
style=
"margin-top: 15px;"
>
<div
style=
"clear: both;"
></div>
<div
class=
"month-top-block year"
id=
"finalList"
>
<include
file=
"finalList"
/>
</div>
</div>
</div>
</div>
<!--更多大赛-->
<!--更多大赛-->
<div
class=
"contest-body-detail"
style=
"display: none;"
>
<div
class=
"contest-setting contest-item contest-bg"
>
<div
class=
"title-p"
>
更多大赛 更多奖金
</div>
...
...
@@ -309,23 +205,7 @@
</div>
</div>
</div>
<eq
name=
"hideShiPan"
value=
"0"
>
<div
class=
"bottom-j-btn bottom-btn"
>
<div
class=
"left-zx"
id=
"zixun"
><img
class=
"icon"
src=
"__PUBLIC__/Home/images/g2020/zx-icon-b.png"
/>
咨询
</div>
<div
class=
"showMoreDs"
>
<img
class=
"icon"
src=
"__PUBLIC__/Home/images/g2020/ds-icon-b.png"
/>
更多大赛
<img
class=
"gdjj"
src=
"__PUBLIC__/Home/images/g2020/gdjj.png"
/>
</div>
<eq
name=
"joinStatus"
value=
"1"
>
<div
class=
"bottom-j-right goTradeBtn"
style=
"width: initial;float: none;"
>
进入交易
<img
class=
"icon"
src=
"__PUBLIC__/Home/images/g2020/cs-icon-b.png"
/></div>
<else/>
<div
class=
"bottom-j-right baoming"
style=
"width: initial;float: none;"
targetUrl=
""
>
报名参加
<img
class=
"icon"
src=
"__PUBLIC__/Home/images/g2020/cs-icon-b.png"
/>
</div>
</eq>
</div>
</eq>
<include
file=
"bottom"
/>
<div
class=
"foot-fix"
>
</div>
</div>
...
...
@@ -360,75 +240,8 @@
})
}
$
(
function
(){
//app低版本隐藏h5导航
if
(
mfrom
[
0
]
>
0
){
if
(
mfrom
[
0
]
==
2
&&
mfrom
[
1
]
<
350
){
$
(
'.header-top'
).
hide
();
$
(
'.head-fit'
).
hide
();
}
else
{
if
(
mfrom
[
0
]
==
1
){
AppBridge
.
getVersion
({},
function
(
responseData
){
// alert(responseData);
if
(
responseData
<
'iOS3.5.0'
){
$
(
'.header-top'
).
hide
();
$
(
'.head-fit'
).
hide
();
}
})
}
}
}
AppBridge
.
webShareShow
(
appShareInfo
);
//一级一级返回1,隐藏导航栏2,一次性返回3
AppBridge
.
goBackStepOneOrMore
(
1
);
sendSmsAndSubmit
();
// 点报名按钮
$
(
".baoming,.sscs"
).
click
(
function
()
{
$
(
'#baomingPOP'
).
attr
(
'targetUrl'
,
$
(
this
).
attr
(
'targetUrl'
));
// alert(mfrom);
// if($(".join-btn").html()=='进入交易'){
// console.log('1点击进入交易按钮');
// $(".goTradeBtn").click();
// }else{
if
(
mfrom
[
1
]
>
0
){
checkLoginAndDo
(
mfrom
[
0
],
'{$user.userID}'
,
1
);
}
else
{
// animPop('#baomingPOP');
if
(
'{$user.userID}'
==
''
){
animPop
(
'#baomingPOP'
);
}
else
{
$
.
post
(
"/PkTop/join"
,{},
function
(
data
){
if
(
data
.
status
==
0
){
//已经参加过该大赛
if
(
data
.
flag
==
1
){
layer
.
open
({
content
:
data
.
info
,
skin
:
'msg'
,
time
:
2
,
end
:
function
()
{
var
href
=
location
.
href
;
console
.
log
(
'当前页面url:'
+
href
);
window
.
location
.
reload
();
}});
}
else
{
//可能有各种错误提示
layer
.
open
({
content
:
data
.
info
,
skin
:
'msg'
,
time
:
2
,
end
:
function
()
{
//window.location.reload();
}});
}
return
false
;
}
else
{
// animPop('#baomingPOP');
animPop
(
'#popPkTopSucc'
);
}
});
}
}
// }
});
//进入交易
$
(
".goTradeBtn,.pk-cont-info"
).
click
(
function
()
{
...
...
@@ -449,92 +262,7 @@
}
});
// $(".gotoTrade").click(function () {
// console.log('2点击进入交易按钮'+mfrom[0]);
// if(mfrom[1]>0){
// // if($('#groupStatus').val()==1){
// // layer.open({content: '当前大赛未开始',skin: 'msg',time: 2});
// // }
// // var appParam=$('#groupInfo').val();
// // appParam=appParam.replace(/XXXXXX/g, userId);
// var appParam=$(this).attr('gotoTrade');
// AppBridge.refreshMyGroup();
// AppBridge.goTrade(appParam);
//
// }else{
// location.href='http://app.jiantou8.com/jiantou.html';
// }
// });
//点击底部的更多大赛
$
(
'.showMoreDs'
).
click
(
function
(){
// $('.en-li').eq(3).click();
location
.
href
=
'{:M_URL}/Match/jiang'
;
})
//页面最上面的li标签切换
$
(
'.en-li'
).
each
(
function
(
i
,
obj
){
$
(
obj
).
click
(
function
(){
if
(
i
==
3
){
location
.
href
=
'{:M_URL}/Match/jiang'
;
return
;
}
if
(
i
==
2
){
location
.
href
=
'/PkTop/phbWeek'
;
return
;
}
$
(
this
).
siblings
().
removeClass
(
'active'
);
$
(
this
).
addClass
(
'active'
);
$
(
'.contest-body-detail'
).
hide
();
// $($('.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
]).
show
();
}
console
.
log
(
'当前外层标签序号:'
+
i
);
history
.
replaceState
({},
""
,
"?gid={$_GET.gid}&viewPage="
+
(
i
+
1
));
// if(i == 1){
// slider.reloadSlider();
// }
if
(
i
==
2
){
$
(
'.selectNow'
).
eq
(
1
).
click
();
}
//点击量统计
if
(
i
==
3
){
$
.
get
(
'/PkTop/dianjiLog'
,{},
function
(
e
){
console
.
log
(
'记录点击日志'
);
},
'json'
);
}
})
});
//点排行榜下面的几个标签,i从0开始
$
(
'.hof-title .hof-btn'
).
each
(
function
(
i
,
obj
){
$
(
obj
).
click
(
function
(){
console
.
log
(
'排行榜里面的序号:'
+
i
);
$
(
'.hof-title .hof-btn'
).
removeClass
(
'active'
);
$
(
this
).
addClass
(
'active'
);
$
(
'.hof-tab-block'
).
hide
();
$
(
$
(
'.hof-tab-block'
)[
i
]).
show
();
//
if
(
i
==
1
){
$
(
'.selectHis'
).
eq
(
0
).
click
();
}
})
});
//点击按钮挑战Ta
initPkBtn
(
mfrom
[
0
],
'{$user.userID}'
,
'{$user.userName}'
);
//开始进入支付
$
(
".go-pk-btn"
).
click
(
function
()
{
...
...
@@ -565,21 +293,7 @@
var
time
=
50
;
var
mytimer
=
setInterval
(
scrollUp
,
time
);
//打开页面时出现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
;
...
...
@@ -588,96 +302,36 @@
}
});
$
(
'.go-rule'
).
click
(
function
(){
$
(
'html,body'
).
animate
({
scrollTop
:
$
(
'.bottom'
).
offset
().
top
},
500
);
})
//
$('.go-rule').click(function(){
//
$('html,body').animate({scrollTop: $('.bottom').offset().top}, 500);
//
})
//当前只有两个弹窗
// $(".t-pop-close,.pop-close").click(function () {
// animPop($(this).parents('.pops'));
// });
$
(
"#closeBm,#closeWx"
).
click
(
function
()
{
animPop
(
$
(
this
).
parents
(
'.pops'
));
});
//
$("#closeBm,#closeWx").click(function () {
//
animPop($(this).parents('.pops'));
//
});
//弹出咨询弹框
$
(
"#zixun"
).
click
(
function
()
{
animPop
(
'#popWx'
)
});
//
$("#zixun").click(function () {
//
animPop('#popWx')
//
});
//点关闭刷新页面取状态
$
(
"#closeSucc"
).
click
(
function
()
{
$
(
'#popPkTopSucc'
).
hide
();
window
.
location
.
reload
();
});
//
$("#closeSucc").click(function () {
//
$('#popPkTopSucc').hide();
//
window.location.reload();
//
});
//根据参数显示不同的标签页
if
(
'{$_GET.viewPage}'
==
'1'
){
$
(
'.en-li'
).
eq
(
0
).
click
();
}
if
(
'{$_GET.viewPage}'
==
'2'
){
$
(
'.en-li'
).
eq
(
1
).
click
();
}
if
(
'{$_GET.viewPage}'
==
'3'
){
$
(
'.en-li'
).
eq
(
2
).
click
();
}
if
(
'{$_GET.viewPage}'
==
'4'
){
$
(
'.en-li'
).
eq
(
3
).
click
();
}
//显示月份的下拉框
$
(
'.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
();
};
});
// if('{$_GET.viewPage}'=='1'){ $('.en-li').eq(0).click(); }
// if('{$_GET.viewPage}'=='2'){ $('.en-li').eq(1).click(); }
// if('{$_GET.viewPage}'=='3'){ $('.en-li').eq(2).click(); }
// if('{$_GET.viewPage}'=='4'){ $('.en-li').eq(3).click(); }
//点击当前排行下面的几个盈利率
$
(
'.selectNow'
).
click
(
function
(){
//每次点下拉框要重置
$
(
"#loadBtn"
).
attr
(
"currPage"
,
1
);
order
=
$
(
this
).
attr
(
'order'
);
$
.
get
(
"/PkTop/rankNow"
,
{
order
:
order
,
'debug'
:
'click'
},
function
(
data
)
{
if
(
data
.
status
==
1
)
{
$
(
"#containerNow"
).
html
(
data
.
data
);
initPkBtn
(
mfrom
[
0
],
'{$user.userID}'
,
'{$user.userName}'
);
}
});
$
(
'.selectNow'
).
removeClass
(
'active'
);
$
(
this
).
addClass
(
'active'
);
});
//选月排行榜的下拉框
$
(
'.selectHis'
).
click
(
function
(){
$
.
post
(
"/PkTop/getMonthData"
,
{
month
:
$
(
this
).
attr
(
'data'
),
'type'
:
'month'
},
function
(
data
)
{
if
(
data
.
status
==
1
)
{
// $("#container2").html('');
$
(
"#containerHis"
).
html
(
''
);
if
(
data
.
type
==
'month'
||
data
.
type
==
'nowMonth'
){
$
(
"#containerHis"
).
html
(
data
.
data
);
initPkBtn
(
mfrom
[
0
],
'{$user.userID}'
,
'{$user.userName}'
);
}
}
});
});
//点击年度精英赛的月份后请求后台
$
(
'.selectPass'
).
click
(
function
(){
$
.
post
(
"/PkTop/getMonthData"
,
{
month
:
$
(
this
).
attr
(
'data'
),
'type'
:
'final'
},
function
(
data
)
{
if
(
data
.
status
==
1
)
{
$
(
"#containerPass"
).
html
(
data
.
data
)
initPkBtn
(
mfrom
[
0
],
'{$user.userID}'
,
'{$user.userName}'
);
}
});
});
//点用户名和头像跳转到该大赛的旧的交易页
flag
=
0
;
$
(
'.goTrade21'
).
click
(
function
(){
...
...
@@ -708,61 +362,7 @@
}
});
window
.
onscroll
=
function
()
{
// alert(mfrom);
var
check
;
var
scrollTop
=
$
(
this
).
scrollTop
();
//滚动条距离顶部的高度
var
scrollHeight
=
$
(
document
).
height
();
//当前页面的总高度
var
clientHeight
=
$
(
this
).
height
();
//当前可视的页面高度
var
totalHeight
=
parseFloat
(
clientHeight
)
+
parseFloat
(
scrollTop
);
if
(
scrollHeight
-
totalHeight
<
60
)
{
if
(
loading
==
false
)
{
loading
=
true
;
$
(
".loading.l_2"
).
click
();
}
else
{
return
false
;
}
}
check
=
false
;
if
(
check
){
if
(
lastPage
==
0
){
$
(
".loading.l_2"
).
click
();
}
}
};
//点加载更多按钮
$
(
".loading.l_2"
).
click
(
function
(){
// $(".l_2").hide();
var
totalPage
=
$
(
"#loadBtn"
).
attr
(
"totalPage"
);
var
currPage
=
$
(
"#loadBtn"
).
attr
(
"currPage"
);
var
nextPage
=
parseInt
(
currPage
)
+
1
;
if
(
nextPage
>
parseInt
(
totalPage
))
{
return
;
}
else
{
}
$
.
get
(
'/PkTop/rankNow'
,{
p
:
nextPage
,
'order'
:
order
,
'debug'
:
'scroll'
},
function
(
e
){
$
(
".l_1"
).
hide
();
if
(
nextPage
>=
parseInt
(
totalPage
))
{
// $(".l_2").hide();
$
(
".l_3"
).
show
();
lastPage
=
1
;
}
else
{
// $(".l_2").show();
$
(
".l_1"
).
show
();
}
if
(
e
.
status
==
0
)
{
layer
.
alert
(
e
.
info
,
8
);
return
false
;}
$
(
"#loadBtn"
).
attr
(
'currPage'
,
nextPage
);
$
(
"#containerNow"
).
append
(
e
.
data
);
setTimeout
(
function
(){
loading
=
false
;},
1000
)
},
'json'
);
});
//开户链接跳转
$
(
".lottery-click-a,.go-open"
).
click
(
function
(){
...
...
@@ -780,4 +380,4 @@
</script>
</html>
<!--userId:{$user.userID}-userName:{$user.userName}-popType:{$popType}-->
\ No newline at end of file
<!--userId:{$user.userID}-userName:{$user.userName}-->
\ No newline at end of file
app/Tpl/Vip/PkTop/itemOther.html
View file @
f0e2973b
...
...
@@ -13,14 +13,13 @@
<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
}"
>
<span
class=
"user-head
"
pId=
"{$vo.user_id}"
pName=
"{$vo.nick
}"
>
<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.nick}
</span>
<span
class=
"head-r-t
"
pId=
"{$vo.user_id}"
pName=
"{$vo.nick
}"
>
{$vo.nick}
</span>
<span
class=
"head-r-t"
>
</span>
</div>
<p
class=
"info-rank-w"
>
...
...
@@ -65,7 +64,7 @@
<script>
//点用户名和头像跳转到该大赛的旧的交易页
flag
=
0
;
$
(
'.
goTradeNow
'
).
click
(
function
(){
$
(
'.
user-head,.head-r-t
'
).
click
(
function
(){
if
(
flag
==
1
)
return
;
flag
=
1
;
$
.
post
(
"/PkTop/getGoTradeInfo"
,
{
'userId'
:
$
(
this
).
attr
(
'pId'
),
'userName'
:
$
(
this
).
attr
(
'pName'
)},
function
(
res
)
{
...
...
app/Tpl/Vip/PkTop/itemWeek.html
View file @
f0e2973b
...
...
@@ -12,10 +12,10 @@
<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
}"
>
<span
class=
"user-head"
pId=
"{$vo.user_id}"
pName=
"{$vo.
nick
}"
>
<img
src=
"{:getPortraitPath($vo['user_id'], 'small', true)}"
alt=
""
>
</span>
<span
class=
"head-r-t"
pId=
"{$vo.user_id}"
pName=
"{$vo.
user_name
}"
>
{$vo.nick}
</span>
<span
class=
"head-r-t"
pId=
"{$vo.user_id}"
pName=
"{$vo.
nick
}"
>
{$vo.nick}
</span>
</div>
<div
class=
"info-data"
>
<table
cellspacing=
"0"
cellpadding=
"0"
>
...
...
@@ -40,7 +40,7 @@
<script>
//点用户名和头像跳转到该大赛的旧的交易页
flag
=
0
;
$
(
'.
goTradeNow
'
).
click
(
function
(){
$
(
'.
user-head,.head-r-t
'
).
click
(
function
(){
if
(
flag
==
1
)
return
;
flag
=
1
;
$
.
post
(
"/PkTop/getGoTradeInfo"
,
{
'userId'
:
$
(
this
).
attr
(
'pId'
),
'userName'
:
$
(
this
).
attr
(
'pName'
)},
function
(
res
)
{
...
...
app/Tpl/Vip/PkTop/nav.html
0 → 100644
View file @
f0e2973b
<div
class=
"champ-body-top"
>
<div
class=
"top-banner"
>
<img
src=
"__PUBLIC__/images/2023/cg-banner2.png"
alt=
""
>
<!--<span class="cs-num">· {$member_quantity|default=0}人参赛 ·</span>-->
</div>
<div
class=
"top-entrance-b"
style=
"width————: 75%;margin: 0 auto;"
>
<ul
class=
"entrance-tab-ul"
>
<li
class=
'en-li f-left <eq name="ACTION_NAME" value="index">active</eq> '
style=
"width: 24%"
><a
href=
"/PkTop"
>
赛程及奖项
</a></li>
<li
class=
'en-li f-center lottery-li <eq name="ACTION_NAME" value="choujiang">active</eq> '
><a
href=
"/PkTop/choujiang"
>
瓜分10万
</a></li>
<li
class=
'en-li f-center <in name="ACTION_NAME" value="phbWeek,phbOther">active</in> '
><a
href=
"/PkTop/phbWeek"
>
获奖榜
</a></li>
<li
class=
"en-li f-right"
>
<a
href=
"{:M_URL}/Match/jiang"
>
返回主赛场
</a><img
class=
"more"
src=
"__PUBLIC__/Home/images/g2020/gdjj.png"
style=
""
/>
</li>
</ul>
</div>
</div>
app/Tpl/Vip/PkTop/phbOther.html
View file @
f0e2973b
...
...
@@ -75,22 +75,7 @@
</script>
</if>
<div
class=
"championship-cont warp-container"
>
<div
class=
"champ-body-top"
>
<div
class=
"top-banner"
>
<img
src=
"__PUBLIC__/images/2023/cg-banner2.png"
alt=
""
>
<!--<span class="cs-num">· {$member_quantity|default=0}人参赛 ·</span>-->
</div>
<div
class=
"top-entrance-b"
style=
"width————: 75%;margin: 0 auto;"
>
<ul
class=
"entrance-tab-ul"
>
<li
class=
"en-li f-left"
style=
"width: 24%"
>
赛程及奖项
</li>
<li
class=
"en-li f-center lottery-li"
style_=
"width: 24%"
>
瓜分10万
</li>
<li
class=
"en-li f-center active"
style_=
"width: 24%"
>
获奖榜
</li>
<li
class=
"en-li f-right"
>
返回主赛场
<img
class=
"more"
src=
"__PUBLIC__/Home/images/g2020/gdjj.png"
style=
""
/>
</li>
</ul>
</div>
</div>
<include
file=
"nav"
/>
<div
class=
"contest-body-detail"
>
<!--add-->
<notempty
name=
"myData"
>
...
...
@@ -193,36 +178,6 @@
$
(
function
(){
var
num
=
$
(
'.notice-ul'
).
find
(
'li'
).
length
;
if
(
num
>
1
){
var
time
=
setInterval
(
'timer(".notice-ul")'
,
3500
);
}
});
$
(
'.go-rule'
).
click
(
function
(){
$
(
'html,body'
).
animate
({
scrollTop
:
$
(
'.bottom'
).
offset
().
top
},
500
);
})
//当前只有两个弹窗
// $(".t-pop-close,.pop-close").click(function () {
// animPop($(this).parents('.pops'));
// });
$
(
"#closeBm,#closeWx"
).
click
(
function
()
{
animPop
(
$
(
this
).
parents
(
'.pops'
));
});
//弹出咨询弹框
$
(
"#zixun"
).
click
(
function
()
{
animPop
(
'#popWx'
)
});
//点关闭刷新页面取状态
$
(
"#closeSucc"
).
click
(
function
()
{
$
(
'#popPkTopSucc'
).
hide
();
window
.
location
.
reload
();
});
window
.
onscroll
=
function
()
{
// alert(11);
var
check
;
...
...
app/Tpl/Vip/PkTop/phbWeek.html
View file @
f0e2973b
...
...
@@ -75,22 +75,7 @@
</script>
</if>
<div
class=
"championship-cont warp-container"
>
<div
class=
"champ-body-top"
>
<div
class=
"top-banner"
>
<img
src=
"__PUBLIC__/images/2023/cg-banner2.png"
alt=
""
>
<!--<span class="cs-num">· {$member_quantity|default=0}人参赛 ·</span>-->
</div>
<div
class=
"top-entrance-b"
style=
"width————: 75%;margin: 0 auto;"
>
<ul
class=
"entrance-tab-ul"
>
<li
class=
"en-li f-left"
style=
"width: 24%"
><a
href=
"/PkTop"
>
赛程及奖项
</a></li>
<li
class=
"en-li f-center lottery-li"
style_=
"width: 24%"
>
瓜分10万
</li>
<li
class=
"en-li f-center active"
style_=
"width: 24%"
>
获奖榜
</li>
<li
class=
"en-li f-right"
>
返回主赛场
<img
class=
"more"
src=
"__PUBLIC__/Home/images/g2020/gdjj.png"
style=
""
/>
</li>
</ul>
</div>
</div>
<include
file=
"nav"
/>
<div
class=
"contest-body-detail"
>
<!--add-->
<notempty
name=
"myData"
>
...
...
@@ -112,8 +97,8 @@
<div
class=
"info-data"
>
<table
cellspacing=
"0"
cellpadding=
"0"
>
<tr
class=
"data-num"
>
<td
class=
"num red"
style=
"text-align: left;"
>
第
<empty
name=
"myData.phb"
>
--
<else/>
{$myData.phb}
</empty>
名
<td
class=
"num red"
style=
"text-align: left;"
>
<empty
name=
"myData.phb"
>
--
<else/>
第{$myData.phb}名
</empty>
</td>
<gt
name=
"myData.lastweekup"
value=
"0"
><td
class=
"num red"
>
{$myData.lastweekup}%
</td></gt>
<eq
name=
"myData.lastweekup"
value=
"0"
><td
class=
"num "
>
{$myData.lastweekup}%
</td></eq>
...
...
@@ -139,7 +124,7 @@
</div>
<div
class=
"award-tab-panel"
>
<span
class=
"rule-make"
>
上榜规则:当周收益为正、月周转率>0
</span>
<div
id=
"
weekC
ontainer"
>
<div
id=
"
c
ontainer"
>
<include
file=
"itemWeek"
/>
</div>
...
...
@@ -156,8 +141,6 @@
</div>
</div>
</div>
...
...
@@ -171,98 +154,6 @@
$
(
function
(){
//页面最上面的li标签切换
// $('.en-li').each(function(i,obj){
// $(obj).click(function(){
// if(i==3){
// location.href='{:M_URL}/Match/jiang';
// return;
// }
//
// $(this).siblings().removeClass('active');
// $(this).addClass('active');
// $('.contest-body-detail').hide();
//
// // $($('.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]).show();
// }
//
// console.log('当前外层标签序号:'+i);
// history.replaceState({},"","?gid={$_GET.gid}&viewPage="+(i+1));
// // if(i == 1){
// // slider.reloadSlider();
// // }
// if(i==2){
// $('.selectNow').eq(1).click();
// }
// //点击量统计
// if(i==3){
// $.get('/PkTop/dianjiLog',{},function(e){
// console.log('记录点击日志');
// },'json');
//
// }
// })
// });
//点排行榜下面的几个标签,i从0开始
$
(
'.award-tab-btn .btn'
).
each
(
function
(
i
,
obj
){
$
(
obj
).
click
(
function
(){
$
(
'.award-tab-btn .btn'
).
removeClass
(
'active'
);
$
(
this
).
addClass
(
'active'
);
$
(
'.award-tab-panel'
).
hide
();
$
(
$
(
'.award-tab-panel'
)[
i
]).
show
();
})
});
$
(
function
(){
var
num
=
$
(
'.notice-ul'
).
find
(
'li'
).
length
;
if
(
num
>
1
){
var
time
=
setInterval
(
'timer(".notice-ul")'
,
3500
);
}
});
$
(
'.go-rule'
).
click
(
function
(){
$
(
'html,body'
).
animate
({
scrollTop
:
$
(
'.bottom'
).
offset
().
top
},
500
);
})
//当前只有两个弹窗
// $(".t-pop-close,.pop-close").click(function () {
// animPop($(this).parents('.pops'));
// });
$
(
"#closeBm,#closeWx"
).
click
(
function
()
{
animPop
(
$
(
this
).
parents
(
'.pops'
));
});
//弹出咨询弹框
$
(
"#zixun"
).
click
(
function
()
{
animPop
(
'#popWx'
)
});
//点关闭刷新页面取状态
$
(
"#closeSucc"
).
click
(
function
()
{
$
(
'#popPkTopSucc'
).
hide
();
window
.
location
.
reload
();
});
window
.
onscroll
=
function
()
{
// alert(11);
var
check
;
...
...
@@ -301,8 +192,8 @@
}
else
{
}
$
.
get
(
'/PkTop/rankNow
'
,{
p
:
nextPage
,
'order'
:
order
,
'debug'
:
'scroll'
},
function
(
e
){
order
=
'{$order}'
;
$
.
post
(
'/PkTop/phbWeek
'
,{
p
:
nextPage
,
'order'
:
order
,
'debug'
:
'scroll'
},
function
(
e
){
$
(
".l_1"
).
hide
();
if
(
nextPage
>=
parseInt
(
totalPage
))
{
// $(".l_2").hide();
...
...
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