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
3a095d04
Commit
3a095d04
authored
Dec 08, 2023
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
名人堂页面的下拉框时间修改
parent
7477279a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
59 additions
and
55 deletions
+59
-55
g2023.css
Public/Home/css/g2023.css
+1
-1
IndexAction.class.php
app/Lib/Action/Vip/IndexAction.class.php
+10
-7
PkTopAction.class.php
app/Lib/Action/Vip/PkTopAction.class.php
+16
-12
jiang.html
app/Tpl/Vip/Index/jiang.html
+31
-34
head.html
app/Tpl/Vip/PkTop/head.html
+1
-1
No files found.
Public/Home/css/g2023.css
View file @
3a095d04
...
@@ -190,7 +190,7 @@ input:-ms-input-placeholder {color: #c8c8c8;}
...
@@ -190,7 +190,7 @@ input:-ms-input-placeholder {color: #c8c8c8;}
top
:
23%
;
top
:
23%
;
}
}
.block-main
.block-center
:before
{
.block-main
.block-center
:before
{
content
:
"+"
;
/*content: "+";*/
font-size
:
18px
;
color
:
#a2a2a2
;
font-size
:
18px
;
color
:
#a2a2a2
;
position
:
absolute
;
right
:
-8%
;
position
:
absolute
;
right
:
-8%
;
top
:
23%
;
top
:
23%
;
...
...
app/Lib/Action/Vip/IndexAction.class.php
View file @
3a095d04
...
@@ -3,11 +3,14 @@
...
@@ -3,11 +3,14 @@
class
IndexAction
extends
IdentityAction
{
class
IndexAction
extends
IdentityAction
{
public
$GID
=
PRIZE_GROUP_2021
;
public
$GID
=
PRIZE_GROUP_2021
;
//测试时有2020-02
//测试时有2020-02
public
$MONTH
=
[
'2023-04'
=>
'2023年4月'
,
'2023-03'
=>
'2023年3月'
,
'2023-02'
=>
'2023年2月'
,
'2023-01'
=>
'2023年1月'
,
// 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-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月'
,
// '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-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月'
];
// '2021-07'=>'2021年7月','2021-06'=>'2021年6月','2021-05'=>'2021年5月','2021-04'=>'2021年4月'];
public
$MONTH
=
[
'2024-06'
=>
'2024年6月'
,
'2024-05'
=>
'2024年5月'
,
'2024-04'
=>
'2024年4月'
,
'2024-03'
=>
'2024年3月'
,
'2024-02'
=>
'2024年2月'
,
'2024-01'
=>
'2024年1月'
,
'2023-12'
=>
'2023年12月'
,
'2023-11'
=>
'2023年11月'
,
'2023-10'
=>
'2023年10月'
,
'2023-09'
=>
'2023年9月'
,
'2023-08'
=>
'2023年8月'
,
'2023-07'
=>
'2023年7月'
,
'2023-06'
=>
'2023年6月'
];
public
$STATUS_TXT
=
[
'1'
=>
'未开赛'
,
'2'
=>
'进行中'
,
'3'
=>
'已结束'
];
public
$STATUS_TXT
=
[
'1'
=>
'未开赛'
,
'2'
=>
'进行中'
,
'3'
=>
'已结束'
];
public
function
_initialize
()
{
public
function
_initialize
()
{
...
@@ -375,8 +378,8 @@ class IndexAction extends IdentityAction {
...
@@ -375,8 +378,8 @@ class IndexAction extends IdentityAction {
$groupInfo
=
M
(
'Group a'
)
->
join
(
'left join cofool_group_info b on a.group_id=b.group_id'
)
$groupInfo
=
M
(
'Group a'
)
->
join
(
'left join cofool_group_info b on a.group_id=b.group_id'
)
->
field
(
'a.group_id,a.web_id,a.category,a.name,startTime,endTime,wechat'
)
->
where
([
'a.group_id'
=>
$groupId
])
->
find
();
->
field
(
'a.group_id,a.web_id,a.category,a.name,startTime,endTime,wechat'
)
->
where
([
'a.group_id'
=>
$groupId
])
->
find
();
// $bmContent='您正在报名全民争霸赛,请添加陪伴老师微信加入【大赛高手交流群】,老师微信号:'.$groupInfo['wechat'];
// $bmContent='您正在报名全民争霸赛,请添加陪伴老师微信加入【大赛高手交流群】,老师微信号:'.$groupInfo['wechat'];
$bmContent
=
'您正在报名全民争霸赛,请添加陪伴老师微信加入【大赛高手交流群】,老师微信号:19144412198'
;
//
$bmContent='您正在报名全民争霸赛,请添加陪伴老师微信加入【大赛高手交流群】,老师微信号:19144412198';
$bmContent
=
'您正在报名全民炼股争霸赛,请下载简投APP联系官方客服,领取参赛福利。'
;
//大赛是否结束
//大赛是否结束
$groupStatus
=
0
;
$groupStatus
=
0
;
if
(
is_end
(
$groupInfo
[
'endTime'
])){
if
(
is_end
(
$groupInfo
[
'endTime'
])){
...
...
app/Lib/Action/Vip/PkTopAction.class.php
View file @
3a095d04
...
@@ -27,12 +27,13 @@ class PkTopAction extends IdentityAction{
...
@@ -27,12 +27,13 @@ class PkTopAction extends IdentityAction{
$groupInfo
=
M
(
'Group'
)
->
field
(
'group_id,web_id,category,name,startTime,endTime,member_quantity'
)
->
where
([
'group_id'
=>
$groupId
])
->
find
();
$groupInfo
=
M
(
'Group'
)
->
field
(
'group_id,web_id,category,name,startTime,endTime,member_quantity'
)
->
where
([
'group_id'
=>
$groupId
])
->
find
();
$groupStatus
=
$this
->
getGroupStatus
(
$groupInfo
);
$groupStatus
=
$this
->
getGroupStatus
(
$groupInfo
);
$share
=
[
'groupId'
=>
$groupId
,
'groupStatus'
=>
$groupStatus
,
'viewPage'
=>
2
,
'statusInt'
=>
$groupStatus
,
// $share = ['groupId' => $groupId, 'groupStatus' => $groupStatus, 'viewPage' => 2, 'statusInt' => $groupStatus,
'close_tips'
=>
''
,
'userID'
=>
$userId
,
'zhuangtai'
=>
$this
->
STATUS_TXT
[
$groupStatus
]];
// 'close_tips' => '','zhuangtai' => $this->STATUS_TXT[$groupStatus]];
// $share['userID']=$userId?$userId:'';
$groupInfo
=
array_merge
(
$groupInfo
,
$share
);
//
// $groupInfo = array_merge($groupInfo, $share);
// $this->assign('groupInfo', json_encode($groupInfo));
$this
->
assign
(
'groupInfo'
,
json_encode
(
$groupInfo
));
//设置分享参数
//设置分享参数
$this
->
setShare
(
$userId
,
I
(
'cfrom'
));
$this
->
setShare
(
$userId
,
I
(
'cfrom'
));
...
@@ -565,7 +566,8 @@ class PkTopAction extends IdentityAction{
...
@@ -565,7 +566,8 @@ class PkTopAction extends IdentityAction{
$group
=
M
(
'Group a'
)
->
join
(
'left join cofool_group_info b on a.group_id=b.group_id'
)
$group
=
M
(
'Group a'
)
->
join
(
'left join cofool_group_info b on a.group_id=b.group_id'
)
->
field
(
$field
)
->
where
([
'a.group_id'
=>
$groupId
])
->
find
();
->
field
(
$field
)
->
where
([
'a.group_id'
=>
$groupId
])
->
find
();
// $bmContent='您正在报名全民争霸赛,请添加陪伴老师微信加入【大赛高手交流群】,老师微信号:'.$group['wechat'];
// $bmContent='您正在报名全民争霸赛,请添加陪伴老师微信加入【大赛高手交流群】,老师微信号:'.$group['wechat'];
$bmContent
=
'您正在报名全民争霸赛,请添加陪伴老师微信加入【大赛高手交流群】,老师微信号:19144412198'
;
// $bmContent='您正在报名全民争霸赛,请添加陪伴老师微信加入【大赛高手交流群】,老师微信号:19144412198';
$bmContent
=
'您正在报名全民炼股争霸赛,请下载简投APP联系官方客服,领取参赛福利。'
;
if
(
$group
[
'is_open'
]
==
0
){
if
(
$group
[
'is_open'
]
==
0
){
return
array
(
'status'
=>
0
,
'info'
=>
'当前大赛不允许加入!'
);
return
array
(
'status'
=>
0
,
'info'
=>
'当前大赛不允许加入!'
);
...
@@ -1082,6 +1084,14 @@ class PkTopAction extends IdentityAction{
...
@@ -1082,6 +1084,14 @@ class PkTopAction extends IdentityAction{
$groupInfo
=
M
(
'Group'
)
->
field
(
'group_id,web_id,category,name,startTime,endTime,member_quantity'
)
->
where
([
'group_id'
=>
$groupId
])
->
find
();
$groupInfo
=
M
(
'Group'
)
->
field
(
'group_id,web_id,category,name,startTime,endTime,member_quantity'
)
->
where
([
'group_id'
=>
$groupId
])
->
find
();
$groupStatus
=
$this
->
getGroupStatus
(
$groupInfo
);
$groupStatus
=
$this
->
getGroupStatus
(
$groupInfo
);
$member_quantity
=
$groupInfo
[
'member_quantity'
];
$member_quantity
=
$groupInfo
[
'member_quantity'
];
$share
=
[
'groupId'
=>
$groupId
,
'groupStatus'
=>
$groupStatus
,
'viewPage'
=>
2
,
'statusInt'
=>
$groupStatus
,
'close_tips'
=>
''
,
'zhuangtai'
=>
$this
->
STATUS_TXT
[
$groupStatus
]];
$share
[
'userID'
]
=
$userId
?
$userId
:
''
;
$this
->
assign
(
'groupInfo'
,
json_encode
(
array_merge
(
$groupInfo
,
$share
)));
//用到
//用到
$ids
=
D
(
'Group'
)
->
getGroupCache
(
$userId
);
$ids
=
D
(
'Group'
)
->
getGroupCache
(
$userId
);
if
(
in_array
(
$groupId
,
$ids
))
{
if
(
in_array
(
$groupId
,
$ids
))
{
...
@@ -1121,12 +1131,6 @@ class PkTopAction extends IdentityAction{
...
@@ -1121,12 +1131,6 @@ class PkTopAction extends IdentityAction{
//总决赛列表
//总决赛列表
$_GET
[
'order'
]
=
'zongup'
;
$_GET
[
'order'
]
=
'zongup'
;
// $share = array('groupId' => $groupId, 'groupStatus' => $groupStatus, 'viewPage' => 2, 'statusInt' => $groupStatus,
// 'close_tips' => '', 'userID' => $userId, 'zhuangtai' => $this->STATUS_TXT[$groupStatus]);
// $groupInfo = array_merge($groupInfo, $share);
// $this->assign('groupInfo', json_encode($groupInfo));
//朋友圈,微信群,好友分享,分享后自己的id,作为邀请人的id,pc扫码后没有from参数
//朋友圈,微信群,好友分享,分享后自己的id,作为邀请人的id,pc扫码后没有from参数
$inviterId
=
I
(
'inviterId'
,
''
);
$inviterId
=
I
(
'inviterId'
,
''
);
if
(
in_array
(
I
(
'from'
),
array
(
'timeline'
,
'groupmessage'
,
'singlemessage'
)))
{
if
(
in_array
(
I
(
'from'
),
array
(
'timeline'
,
'groupmessage'
,
'singlemessage'
)))
{
...
...
app/Tpl/Vip/Index/jiang.html
View file @
3a095d04
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<title>
叩富全民炼股有奖大赛-2023年模拟炒股大赛-叩富简投
</title>
<title>
叩富全民炼股有奖大赛-2023年模拟炒股大赛-叩富简投
</title>
<meta
name=
"description"
content=
"叩富简投全民炼股2023模拟炒股大赛,赢10万现金大奖。自2007年开赛以来,已累积举办200多期模拟炒股大奖赛。每周、每月都有现金大奖。软件、手机APP、网页同步参赛"
>
<meta
name=
"description"
content=
"叩富简投全民炼股2023模拟炒股大赛,赢10万现金大奖。自2007年开赛以来,已累积举办200多期模拟炒股大奖赛。每周、每月都有现金大奖。软件、手机APP、网页同步参赛"
>
<meta
name=
"keywords"
content=
"2023模拟炒股大赛,模拟炒股大赛,模拟炒股,模拟股票大赛,炒股大赛,模拟炒股有奖大赛,模拟股市大赛,股票模拟大赛,股票大赛,腾讯A股大赛,凤凰炒股大赛"
>
<meta
name=
"keywords"
content=
"2023模拟炒股大赛,模拟炒股大赛,模拟炒股,模拟股票大赛,炒股大赛,模拟炒股有奖大赛,模拟股市大赛,股票模拟大赛,股票大赛,腾讯A股大赛,凤凰炒股大赛"
>
<link
rel=
"stylesheet"
href=
"__PUBLIC__/Home/css/g2023.css{$Think.config.css_version}_2023
0615
"
>
<link
rel=
"stylesheet"
href=
"__PUBLIC__/Home/css/g2023.css{$Think.config.css_version}_2023
1201
"
>
<script
type=
"text/javascript"
src=
"__PUBLIC__/js/jquery-1.8.2.min.js"
></script>
<script
type=
"text/javascript"
src=
"__PUBLIC__/js/jquery-1.8.2.min.js"
></script>
<script
type=
"text/javascript"
src=
"__PUBLIC__/js/layer/layer.min.js"
></script>
<script
type=
"text/javascript"
src=
"__PUBLIC__/js/layer/layer.min.js"
></script>
<script
type=
"text/javascript"
src=
"__PUBLIC__/js/clipboard.min.js"
></script>
<script
type=
"text/javascript"
src=
"__PUBLIC__/js/clipboard.min.js"
></script>
...
@@ -82,18 +82,18 @@
...
@@ -82,18 +82,18 @@
</div>
</div>
</div>
</div>
<div
class=
"block-side"
>
<div
class=
"side-top"
><p
class=
"num"
>
5000元
</p><p
class=
"des"
>
收益2%以上瓜分
</p></div>
<div
class=
"side-bot"
>
<p
class=
"bot-tit"
>
券商专场
</p>
<eq
name=
"dsStatus.zjStatus"
value=
"1"
>
<span
class=
"bot-btn"
>
已报名
</span>
<else/>
<a
href=
"#1"
><span
class=
"bot-btn no"
>
未报名
</span></a>
</eq>
</div>
<!-- <div class="block-side">-->
</div>
<!-- <div class="side-top"><p class="num">5000元</p><p class="des">收益2%以上瓜分</p></div>-->
<!-- <div class="side-bot">-->
<!-- <p class="bot-tit">券商专场</p>-->
<!-- <eq name="dsStatus.zjStatus" value="1">-->
<!-- <span class="bot-btn">已报名</span>-->
<!-- <else/>-->
<!-- <a href="#1" ><span class="bot-btn no">未报名</span></a>-->
<!-- </eq>-->
<!-- </div>-->
<!-- </div>-->
</div>
</div>
</div>
</div>
...
@@ -132,7 +132,9 @@
...
@@ -132,7 +132,9 @@
<div
class=
"item-cont-l"
>
<div
class=
"item-cont-l"
>
<!-- <p class="t marginT20">实盘赛场</p> <p class="s">高奖金+跟单分成+高手交流群<br>-->
<!-- <p class="t marginT20">实盘赛场</p> <p class="s">高奖金+跟单分成+高手交流群<br>-->
<!-- <p class="t marginT20">"民间"操盘手选拔赛</p> <p class="s">万元奖金+千万跟投+牛人实操<br>-->
<!-- <p class="t marginT20">"民间"操盘手选拔赛</p> <p class="s">万元奖金+千万跟投+牛人实操<br>-->
<p
class=
"t marginT20"
>
实盘高手挑战赛
</p>
<p
class=
"s"
>
跟牛人 赢奖金 赚分成
<br>
<!-- <p class="t marginT20">实盘高手挑战赛</p> <p class="s">跟牛人 赢奖金 赚分成<br>-->
<p
class=
"t marginT20"
>
“叩富杯”实盘炒股大赛
</p>
<p
class=
"s"
>
跟牛人 赢奖金 赚分成
<br>
<!-- 比赛时间:{$dsStatus.qmStartTime} ~ {$dsStatus.qmEndTime}-->
<!-- 比赛时间:{$dsStatus.qmStartTime} ~ {$dsStatus.qmEndTime}-->
</p>
</p>
</div>
</div>
...
@@ -147,27 +149,22 @@
...
@@ -147,27 +149,22 @@
</div>
</div>
<a
name=
"1"
></a>
<a
name=
"1"
></a>
<div
class=
"item-cont"
url=
"{:WWW_URL}/Zjds?aid={$Think.cookie.aid}"
style=
"cursor: pointer"
>
<!-- <div class="item-cont" url="{:WWW_URL}/Zjds?aid={$Think.cookie.aid}" style="cursor: pointer">-->
<img
class=
"gjj"
src=
"__PUBLIC__/Home/images/g2023/gjj-img.png"
alt=
""
>
<!-- <img class="gjj" src="__PUBLIC__/Home/images/g2023/gjj-img.png" alt="">-->
<div
class=
"item-cont-logo"
>
<!-- <div class="item-cont-logo">-->
<img
src=
"__PUBLIC__/Home/images/g2023/quanshang.png"
alt=
""
>
<!-- <img src="__PUBLIC__/Home/images/g2023/quanshang.png" alt="">-->
</div>
<!-- </div>-->
<div
class=
"item-cont-l"
>
<!-- <div class="item-cont-l">-->
<p
class=
"t"
>
全民炼股赛-券商专场
</p>
<p
class=
"s"
>
每月评奖,前3名或盈利2%以上瓜分
<br>
<!-- <p class="t">全民炼股赛-券商专场</p> <p class="s">每月评奖,前3名或盈利2%以上瓜分<br>-->
<a
href=
"javascript:;"
class=
"gf goLucky"
url=
'{:WWW_URL}/Zjds/lucky'
>
瓜分10万>
</a>
<!-- <a href="javascript:;" class="gf goLucky" url='{:WWW_URL}/Zjds/lucky' >瓜分10万></a>-->
<!-- 比赛时间:{$dsStatus.zjStartTime} ~ {$dsStatus.zjEndTime}-->
<!-- </p>-->
</p>
<!-- </div>-->
</div>
<!-- <div class="item-cont-r">-->
<div
class=
"item-cont-r"
>
<!-- <p class="num">5000元</p><p class="num-sub">本月奖金池</p>-->
<p
class=
"num"
>
5000元
</p><p
class=
"num-sub"
>
本月奖金池
</p>
<!-- <div class="enter-btn " >大赛已结束</div>-->
<!-- <eq name="dsStatus.zjStatus" value="1">-->
<!-- </div>-->
<!-- <div class="enter-btn goTradeBtn " gid="{:ZHONGJIN_GROUP}" >交易</div>-->
<!-- </div>-->
<!-- <else/>-->
<!-- <div class="enter-btn baoming" url="{:WWW_URL}/Zjds?clickFlag=1&aid={$Think.cookie.aid}">免费报名</div>-->
<!-- </eq>-->
<div
class=
"enter-btn "
>
大赛已结束
</div>
</div>
</div>
</div>
</div>
<!-- <div class="new-quanshang marginB20">-->
<!-- <div class="new-quanshang marginB20">-->
...
...
app/Tpl/Vip/PkTop/head.html
View file @
3a095d04
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
//为了加载效果提前
//为了加载效果提前
//点后退按钮
//点后退按钮
var
ourl
=
''
;
var
ourl
=
''
;
if
(
"{:I('key')}"
!=
''
||
"{:I('is_head',0,'intval')}"
!=
''
||
"{:I('key2')}"
!=
''
){
if
(
"{:I('key')}"
!=
''
||
"{:I('is_head',0,'intval')}"
!=
'
0
'
||
"{:I('key2')}"
!=
''
){
// if(!window.localStorage.getItem('TradeQueryPageUid')){
// if(!window.localStorage.getItem('TradeQueryPageUid')){
ourl
=
'close'
;
ourl
=
'close'
;
// }
// }
...
...
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