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
fdbbc318
Commit
fdbbc318
authored
May 17, 2023
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
抽奖修改
parent
bab85a5e
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
24 additions
and
7 deletions
+24
-7
35-item1.png
Public/images/2023/35-item1.png
+0
-0
35-item2.png
Public/images/2023/35-item2.png
+0
-0
cj-btn1.png
Public/images/2023/cj-btn1.png
+0
-0
IndexAction.class.php
app/Lib/Action/Vip/IndexAction.class.php
+2
-1
PkTopAction.class.php
app/Lib/Action/Vip/PkTopAction.class.php
+3
-1
lucky.html
app/Tpl/Vip/Index/lucky.html
+8
-2
choujiang.html
app/Tpl/Vip/PkTop/choujiang.html
+11
-3
No files found.
Public/images/2023/35-item1.png
0 → 100644
View file @
fdbbc318
13.2 KB
Public/images/2023/35-item2.png
0 → 100644
View file @
fdbbc318
10.5 KB
Public/images/2023/cj-btn1.png
0 → 100644
View file @
fdbbc318
13.7 KB
app/Lib/Action/Vip/IndexAction.class.php
View file @
fdbbc318
...
@@ -1194,7 +1194,8 @@ class IndexAction extends IdentityAction {
...
@@ -1194,7 +1194,8 @@ class IndexAction extends IdentityAction {
//检查是否开户
//检查是否开户
$kaihuStatus
=
M
(
'PktopKaihu'
)
->
where
([
'user_id'
=>
$userId
])
->
find
();
$kaihuStatus
=
M
(
'PktopKaihu'
)
->
where
([
'user_id'
=>
$userId
])
->
find
();
if
(
empty
(
$kaihuStatus
)){
if
(
empty
(
$kaihuStatus
)){
$this
->
ajaxReturn
([
'status'
=>
0
,
'info'
=>
'您还未开户,不能抽奖,请点击链接开户'
]);
// $this->ajaxReturn(['status' =>0,'info'=>'您还未开户,不能抽奖,请点击链接开户']);
$this
->
ajaxReturn
([
'status'
=>
0
,
'info'
=>
'请联系管理员获取抽奖次数'
]);
}
}
$suffix
=
D
(
'Userinfo'
)
->
getTable
(
$this
->
GID
);
$suffix
=
D
(
'Userinfo'
)
->
getTable
(
$this
->
GID
);
$table
=
$suffix
?
'mncg_archive.userinfo'
.
$suffix
:
'mncg.userinfo'
;
$table
=
$suffix
?
'mncg_archive.userinfo'
.
$suffix
:
'mncg.userinfo'
;
...
...
app/Lib/Action/Vip/PkTopAction.class.php
View file @
fdbbc318
...
@@ -1169,7 +1169,9 @@ class PkTopAction extends IdentityAction{
...
@@ -1169,7 +1169,9 @@ class PkTopAction extends IdentityAction{
//检查是否开户
//检查是否开户
$kaihuStatus
=
M
(
'PktopKaihu'
)
->
where
([
'user_id'
=>
$userId
])
->
find
();
$kaihuStatus
=
M
(
'PktopKaihu'
)
->
where
([
'user_id'
=>
$userId
])
->
find
();
if
(
empty
(
$kaihuStatus
)){
if
(
empty
(
$kaihuStatus
)){
$this
->
ajaxReturn
([
'status'
=>
0
,
'info'
=>
'您还未开户,不能抽奖,请点击链接开户'
]);
// $this->ajaxReturn(['status' =>0,'info'=>'您还未开户,不能抽奖,请点击链接开户']);
$this
->
ajaxReturn
([
'status'
=>
0
,
'info'
=>
'请联系管理员获取抽奖次数'
]);
}
}
$suffix
=
D
(
'Userinfo'
)
->
getTable
(
$this
->
GID
);
$suffix
=
D
(
'Userinfo'
)
->
getTable
(
$this
->
GID
);
$table
=
$suffix
?
'mncg_archive.userinfo'
.
$suffix
:
'mncg.userinfo'
;
$table
=
$suffix
?
'mncg_archive.userinfo'
.
$suffix
:
'mncg.userinfo'
;
...
...
app/Tpl/Vip/Index/lucky.html
View file @
fdbbc318
...
@@ -112,7 +112,13 @@
...
@@ -112,7 +112,13 @@
<div
class=
"lottery-main"
>
<div
class=
"lottery-main"
>
<div
class=
"item-block"
style=
"width: 500px;margin: 0 auto;float: none;"
>
<div
class=
"item-block"
style=
"width: 500px;margin: 0 auto;float: none;"
>
<div
class=
"lottery-num"
>
<div
class=
"lottery-num"
>
您当前还有
<span>
{$leftCjNum}
</span>
次抽奖机会
<!-- 您当前还有 <span>{$leftCjNum}</span> 次抽奖机会-->
<gt
name=
"leftCjNum"
value=
"0"
>
您当前还有
<span>
{$leftCjNum}
</span>
次抽奖机会
<else/>
请联系管理员获取抽奖次数
</gt>
</div>
</div>
<div
class=
"lottery-line"
>
<div
class=
"lottery-line"
>
<img
class=
"left"
src=
"__PUBLIC__/images/h5/g2020/lottery-line.png"
alt=
""
>
<img
class=
"left"
src=
"__PUBLIC__/images/h5/g2020/lottery-line.png"
alt=
""
>
...
@@ -128,7 +134,7 @@
...
@@ -128,7 +134,7 @@
<tr>
<tr>
<td
class=
"lottery-unit lottery-unit-7"
><img
src=
"__PUBLIC__/images/h5/g2020/800-item.png"
><div
class=
"unit-mask"
></div></td>
<td
class=
"lottery-unit lottery-unit-7"
><img
src=
"__PUBLIC__/images/h5/g2020/800-item.png"
><div
class=
"unit-mask"
></div></td>
<td
class=
"btn"
><img
src=
"__PUBLIC__/images/h5/g2020/cj-btn.png"
></td>
<td
class=
"btn"
><img
src=
"__PUBLIC__/images/h5/g2020/cj-btn.png"
></td>
<td
class=
"lottery-unit lottery-unit-3"
><img
src=
"__PUBLIC__/images/
h5/g2020/35-item
.png"
><div
class=
"unit-mask"
></div></td>
<td
class=
"lottery-unit lottery-unit-3"
><img
src=
"__PUBLIC__/images/
2023/35-item2
.png"
><div
class=
"unit-mask"
></div></td>
</tr>
</tr>
<tr>
<tr>
<td
class=
"lottery-unit lottery-unit-6"
><img
src=
"__PUBLIC__/images/h5/g2020/1000-item.png"
><div
class=
"unit-mask"
></div></td>
<td
class=
"lottery-unit lottery-unit-6"
><img
src=
"__PUBLIC__/images/h5/g2020/1000-item.png"
><div
class=
"unit-mask"
></div></td>
...
...
app/Tpl/Vip/PkTop/choujiang.html
View file @
fdbbc318
...
@@ -120,7 +120,15 @@
...
@@ -120,7 +120,15 @@
<!-- <a href="javascript;" class="lottery-click-a">点击立即开户 瓜分10万 </a>-->
<!-- <a href="javascript;" class="lottery-click-a">点击立即开户 瓜分10万 </a>-->
<!-- </eq>-->
<!-- </eq>-->
<div
class=
"lottery-num"
>
您当前还有
<span>
{$leftCjNum|default=0}
</span>
次抽奖机会
</div>
<div
class=
"lottery-num"
>
<!-- 您当前还有 <span>{$leftCjNum|default=0}</span> 次抽奖机会-->
<gt
name=
"leftCjNum"
value=
"0"
>
您当前还有
<span>
{$leftCjNum}
</span>
次抽奖机会
<else/>
请联系管理员获取抽奖次数
</gt>
</div>
<div
class=
"lottery-line"
>
<div
class=
"lottery-line"
>
<img
class=
"left"
src=
"__PUBLIC__/Home/images/g2020/lottery-line.png"
alt=
""
>
<img
class=
"left"
src=
"__PUBLIC__/Home/images/g2020/lottery-line.png"
alt=
""
>
<img
class=
"right"
src=
"__PUBLIC__/Home/images/g2020/lottery-line.png"
alt=
""
>
<img
class=
"right"
src=
"__PUBLIC__/Home/images/g2020/lottery-line.png"
alt=
""
>
...
@@ -134,8 +142,8 @@
...
@@ -134,8 +142,8 @@
</tr>
</tr>
<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=
"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-btn1.png"
></td>
<td
class=
"btn"
><img
src=
"__PUBLIC__/
images/2023
/cj-btn1.png"
></td>
<td
class=
"lottery-unit lottery-unit-3"
><img
src=
"__PUBLIC__/
Home/images/g2020/35-item
.png"
><div
class=
"unit-mask"
></div></td>
<td
class=
"lottery-unit lottery-unit-3"
><img
src=
"__PUBLIC__/
images/2023/35-item1
.png"
><div
class=
"unit-mask"
></div></td>
</tr>
</tr>
<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-6"
><img
src=
"__PUBLIC__/Home/images/g2020/1000-item.png"
><div
class=
"unit-mask"
></div></td>
...
...
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