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
666b77e3
Commit
666b77e3
authored
Oct 11, 2022
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改下拉框日期
parent
6a8a15b4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
11 deletions
+23
-11
PkTopAction.class.php
app/Lib/Action/Vip/PkTopAction.class.php
+10
-5
index.html
app/Tpl/Vip/Index/index.html
+6
-3
static_price.html
app/Tpl/Vip/PkTop/static_price.html
+7
-3
No files found.
app/Lib/Action/Vip/PkTopAction.class.php
View file @
666b77e3
...
@@ -5,9 +5,12 @@
...
@@ -5,9 +5,12 @@
class
PkTopAction
extends
IdentityAction
{
class
PkTopAction
extends
IdentityAction
{
public
$GID
=
PRIZE_GROUP_2021
;
public
$GID
=
PRIZE_GROUP_2021
;
//测试时有2020-02
//测试时有2020-02
public
$MONTH
=
array
(
'2022-05'
=>
'5月'
,
'2022-04'
=>
'4月'
,
'2022-03'
=>
'3月'
,
'2022-02'
=>
'2月'
,
'2022-01'
=>
'1月'
,
// public $MONTH =array('2022-05'=>'5月','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-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月'
,
'2021-03'
=>
'3月'
);
// '2021-06'=>'6月','2021-05'=>'5月','2021-04'=>'4月','2021-03'=>'3月');
public
$MONTH
=
array
(
'2023-04'
=>
'2023-04'
,
'2023-03'
=>
'2023-03'
,
'2023-02'
=>
'2023-02'
,
'2023-01'
=>
'2023-01'
,
'2022-12'
=>
'2022-12'
,
'2022-11'
=>
'2022-11'
,
'2022-10'
=>
'2022-10'
,
'2022-09'
=>
'2022-09'
);
public
$STATUS_TXT
=
array
(
'1'
=>
'未开赛'
,
'2'
=>
'进行中'
,
'3'
=>
'已结束'
);
public
$STATUS_TXT
=
array
(
'1'
=>
'未开赛'
,
'2'
=>
'进行中'
,
'3'
=>
'已结束'
);
...
@@ -313,9 +316,11 @@ class PkTopAction extends IdentityAction{
...
@@ -313,9 +316,11 @@ class PkTopAction extends IdentityAction{
$selectMonth1
=
$selectMonth2
=
array
();
$selectMonth1
=
$selectMonth2
=
array
();
foreach
(
$this
->
MONTH
as
$k
=>
$value
)
{
foreach
(
$this
->
MONTH
as
$k
=>
$value
)
{
$nowMonth
=
date
(
'Y-m'
,
strtotime
(
date
(
'Y-m-01'
)));
$nowMonth
=
date
(
'Y-m'
,
strtotime
(
date
(
'Y-m-01'
)));
if
(
$k
<
$nowMonth
){
// if($k<$nowMonth){
$selectMonth1
[
$k
]
=
$selectMonth2
[
$k
]
=
$value
;
$selectMonth1
[
$k
]
=
$selectMonth2
[
$k
]
=
$value
;
}
// }
//月排行榜显示当前的月份
//月排行榜显示当前的月份
// if($k==$nowMonth){
// if($k==$nowMonth){
// $selectMonth2[$k]=$value;
// $selectMonth2[$k]=$value;
...
...
app/Tpl/Vip/Index/index.html
View file @
666b77e3
...
@@ -70,7 +70,8 @@
...
@@ -70,7 +70,8 @@
<div
class=
"panel-list-position"
>
<div
class=
"panel-list-position"
>
<span
class=
"no-img"
><img
src=
"__PUBLIC__/images/h5/g2020/bei1.png"
alt=
""
></span>
<span
class=
"no-img"
><img
src=
"__PUBLIC__/images/h5/g2020/bei1.png"
alt=
""
></span>
<!--<p class="list-money">1000元</p>-->
<!--<p class="list-money">1000元</p>-->
<p
class=
"list-money"
>
500元
</p>
<!--<p class="list-money">500元</p>-->
<p
class=
"list-money"
>
300元
</p>
<p
class=
"list-sub"
style=
"line-height:20px;"
><span>
现金奖励
</span></p>
<p
class=
"list-sub"
style=
"line-height:20px;"
><span>
现金奖励
</span></p>
<p
class=
"list-sub"
style=
"line-height: 5px;font-size: 13px;"
><span>
月度精英证书
</span></p>
<p
class=
"list-sub"
style=
"line-height: 5px;font-size: 13px;"
><span>
月度精英证书
</span></p>
</div>
</div>
...
@@ -79,7 +80,8 @@
...
@@ -79,7 +80,8 @@
<div
class=
"panel-list-position"
>
<div
class=
"panel-list-position"
>
<span
class=
"no-img"
><img
src=
"__PUBLIC__/images/h5/g2020/bei2.png"
alt=
""
></span>
<span
class=
"no-img"
><img
src=
"__PUBLIC__/images/h5/g2020/bei2.png"
alt=
""
></span>
<!--<p class="list-money">500元</p>-->
<!--<p class="list-money">500元</p>-->
<p
class=
"list-money"
>
300元
</p>
<!--<p class="list-money">300元</p>-->
<p
class=
"list-money"
>
150元
</p>
<p
class=
"list-sub"
style=
"line-height:20px;"
><span>
现金奖励
</span></p>
<p
class=
"list-sub"
style=
"line-height:20px;"
><span>
现金奖励
</span></p>
<p
class=
"list-sub"
style=
"line-height: 5px;font-size: 13px;"
><span>
月度精英证书
</span></p>
<p
class=
"list-sub"
style=
"line-height: 5px;font-size: 13px;"
><span>
月度精英证书
</span></p>
</div>
</div>
...
@@ -87,7 +89,8 @@
...
@@ -87,7 +89,8 @@
<li
class=
"panel-list third-user"
>
<li
class=
"panel-list third-user"
>
<div
class=
"panel-list-position"
>
<div
class=
"panel-list-position"
>
<span
class=
"no-img"
><img
src=
"__PUBLIC__/images/h5/g2020/bei3.png"
alt=
""
></span>
<span
class=
"no-img"
><img
src=
"__PUBLIC__/images/h5/g2020/bei3.png"
alt=
""
></span>
<p
class=
"list-money"
>
200元
</p>
<!--<p class="list-money">200元</p>-->
<p
class=
"list-money"
>
50元
</p>
<p
class=
"list-sub"
style=
"line-height:20px;"
><span>
现金奖励
</span></p>
<p
class=
"list-sub"
style=
"line-height:20px;"
><span>
现金奖励
</span></p>
<p
class=
"list-sub"
style=
"line-height: 5px;font-size: 13px;"
><span>
月度精英证书
</span></p>
<p
class=
"list-sub"
style=
"line-height: 5px;font-size: 13px;"
><span>
月度精英证书
</span></p>
</div>
</div>
...
...
app/Tpl/Vip/PkTop/static_price.html
View file @
666b77e3
...
@@ -9,7 +9,8 @@
...
@@ -9,7 +9,8 @@
<div
class=
"panel-list-position month-c"
>
<div
class=
"panel-list-position month-c"
>
<span
class=
"no-img"
><img
src=
"__PUBLIC__/Home/images/g2020/bei1.png"
alt=
""
></span>
<span
class=
"no-img"
><img
src=
"__PUBLIC__/Home/images/g2020/bei1.png"
alt=
""
></span>
<!--<p class="list-money">1000元</p>-->
<!--<p class="list-money">1000元</p>-->
<p
class=
"list-money"
>
500元
</p>
<!--<p class="list-money">500元</p>-->
<p
class=
"list-money"
>
300元
</p>
<p
class=
"list-sub"
><span
class=
"f11"
>
现金奖励
</span></p>
<p
class=
"list-sub"
><span
class=
"f11"
>
现金奖励
</span></p>
<p
class=
"list-sub"
style=
"line-height: 10px;"
><span
class=
"f11"
>
月度精英证书
</span></p>
<p
class=
"list-sub"
style=
"line-height: 10px;"
><span
class=
"f11"
>
月度精英证书
</span></p>
</div>
</div>
...
@@ -18,7 +19,8 @@
...
@@ -18,7 +19,8 @@
<div
class=
"panel-list-position month-c"
>
<div
class=
"panel-list-position month-c"
>
<span
class=
"no-img"
><img
src=
"__PUBLIC__/Home/images/g2020/bei2.png"
alt=
""
></span>
<span
class=
"no-img"
><img
src=
"__PUBLIC__/Home/images/g2020/bei2.png"
alt=
""
></span>
<!--<p class="list-money">500元</p>-->
<!--<p class="list-money">500元</p>-->
<p
class=
"list-money"
>
300元
</p>
<!--<p class="list-money">300元</p>-->
<p
class=
"list-money"
>
150元
</p>
<p
class=
"list-sub"
><span
class=
"f11"
>
现金奖励
</span></p>
<p
class=
"list-sub"
><span
class=
"f11"
>
现金奖励
</span></p>
<p
class=
"list-sub"
style=
"line-height: 10px;"
><span
class=
"f11"
>
月度精英证书
</span></p>
<p
class=
"list-sub"
style=
"line-height: 10px;"
><span
class=
"f11"
>
月度精英证书
</span></p>
</div>
</div>
...
@@ -26,7 +28,9 @@
...
@@ -26,7 +28,9 @@
<li
class=
"panel-list third-user"
>
<li
class=
"panel-list third-user"
>
<div
class=
"panel-list-position month-c"
>
<div
class=
"panel-list-position month-c"
>
<span
class=
"no-img"
><img
src=
"__PUBLIC__/Home/images/g2020/bei3.png"
alt=
""
></span>
<span
class=
"no-img"
><img
src=
"__PUBLIC__/Home/images/g2020/bei3.png"
alt=
""
></span>
<p
class=
"list-money"
>
200元
</p><p
class=
"list-sub"
><span
class=
"f11"
>
现金奖励
</span></p>
<!--<p class="list-money">200元</p>-->
<p
class=
"list-money"
>
50元
</p>
<p
class=
"list-sub"
><span
class=
"f11"
>
现金奖励
</span></p>
<p
class=
"list-sub"
style=
"line-height: 10px;"
><span
class=
"f11"
>
月度精英证书
</span></p>
<p
class=
"list-sub"
style=
"line-height: 10px;"
><span
class=
"f11"
>
月度精英证书
</span></p>
</div>
</div>
</li>
</li>
...
...
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