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
b65958f5
Commit
b65958f5
authored
Apr 26, 2023
by
wangjing
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
9d65ecfd
37238845
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
126 additions
and
77 deletions
+126
-77
g2023.css
Public/Home/css/g2023.css
+4
-0
check-img.png
Public/Home/images/g2023/check-img.png
+0
-0
pktop.js
Public/Home/js/pktop.js
+9
-1
IndexAction.class.php
app/Lib/Action/Vip/IndexAction.class.php
+20
-20
PkTopAction.class.php
app/Lib/Action/Vip/PkTopAction.class.php
+7
-0
saicheng.html
app/Tpl/Vip/Index/saicheng.html
+0
-1
withdraw.html
app/Tpl/Vip/Index/withdraw.html
+29
-12
index.html
app/Tpl/Vip/PkTop/index.html
+9
-19
static_price.html
app/Tpl/Vip/PkTop/static_price.html
+8
-12
static_rule.html
app/Tpl/Vip/PkTop/static_rule.html
+40
-12
No files found.
Public/Home/css/g2023.css
View file @
b65958f5
...
@@ -694,6 +694,10 @@ input:-ms-input-placeholder {color: #c8c8c8;}
...
@@ -694,6 +694,10 @@ input:-ms-input-placeholder {color: #c8c8c8;}
.withdraw-panel
table
tbody
tr
td
.green
{
.withdraw-panel
table
tbody
tr
td
.green
{
color
:
#15b661
;
color
:
#15b661
;
}
}
.withdraw-panel
table
tbody
tr
td
.status
img
{
width
:
18px
;
position
:
relative
;
top
:
3px
;
cursor
:
pointer
;
}
.no-data-c
{
.no-data-c
{
color
:
#333333
;
font-size
:
16px
;
color
:
#333333
;
font-size
:
16px
;
text-align
:
center
;
text-align
:
center
;
...
...
Public/Home/images/g2023/check-img.png
0 → 100644
View file @
b65958f5
1.47 KB
Public/Home/js/pktop.js
View file @
b65958f5
...
@@ -224,7 +224,15 @@ function sendSmsAndSubmit(){
...
@@ -224,7 +224,15 @@ function sendSmsAndSubmit(){
//可能有各种错误提示
//可能有各种错误提示
layer
.
open
({
content
:
'登录成功'
,
skin
:
'msg'
,
time
:
2
,
layer
.
open
({
content
:
'登录成功'
,
skin
:
'msg'
,
time
:
2
,
end
:
function
()
{
end
:
function
()
{
location
.
href
=
targetUrl
;
// location.href=targetUrl;
if
(
targetUrl
!=
''
){
$
.
cookie
(
'denglu'
,
targetUrl
);
location
.
href
=
'/PkTop'
;
}
else
{
window
.
location
.
reload
();
}
}});
}});
}
else
{
}
else
{
// $('#baomingPOP').hide();
// $('#baomingPOP').hide();
...
...
app/Lib/Action/Vip/IndexAction.class.php
View file @
b65958f5
...
@@ -57,28 +57,28 @@ class IndexAction extends IdentityAction {
...
@@ -57,28 +57,28 @@ class IndexAction extends IdentityAction {
//取最后获奖的18个用户
//取最后获奖的18个用户
$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';
//
$where
=
array
(
'sex'
=>
$this
->
GID
,
'new_phb'
=>
[
'gt'
,
0
],
'zt'
=>
1
,
'monthzzl'
=>
[
'gt'
,
150
]);
//
$where=array('sex'=>$this->GID,'new_phb'=>['gt',0],'zt'=>1,'monthzzl'=>['gt',150]);
//测试时不用缓存->cache(true,cacheTime())
//
//测试时不用缓存->cache(true,cacheTime())
$finalWinList
=
M
(
$table
,
" "
,
C
(
'DB_CONFIG_MNCG3'
))
->
where
(
$where
)
->
order
(
'zongup desc'
)
->
limit
(
18
)
->
cache
(
true
,
cacheTime
())
->
select
();
//
$finalWinList = M($table, " ", C('DB_CONFIG_MNCG3'))->where($where)->order('zongup desc')->limit(18)->cache(true,cacheTime())->select();
$userids
=
array
();
//
$userids = array();
foreach
(
$finalWinList
as
$key
=>
&
$w
)
{
//
foreach ($finalWinList as $key => &$w) {
$userIDs
=
explode
(
"X"
,
$w
[
'uid'
]);
//
$userIDs = explode("X", $w['uid']);
$w
[
'user_id'
]
=
$userIDs
[
1
];
//
$w['user_id'] = $userIDs[1];
$w
[
'userUrl'
]
=
tradeDetailLink
(
$this
->
GID
,
3
,
$userIDs
[
1
]);
//
$w['userUrl'] = tradeDetailLink($this->GID,3,$userIDs[1]);
$userids
[]
=
$userIDs
[
1
];
//
$userids[] = $userIDs[1];
}
//
}
//取昵称
//取昵称
$nick_name_arry
=
getUser
(
$userids
,
'nick'
);
////
//
$nick_name_arry =getUser($userids,'nick');////
foreach
(
$finalWinList
as
$key
=>
&
$value
)
{
//
foreach ($finalWinList as $key => &$value) {
$nick_name
=
$nick_name_arry
[
$value
[
'user_id'
]];
//
$nick_name = $nick_name_arry[$value['user_id']];
// $value['username'] = $nick_name?$nick_name:$value['username'];
//
//
$value['username'] = $nick_name?$nick_name:$value['username'];
$value
[
'username'
]
=
$nick_name
;
//
$value['username'] = $nick_name;
}
//
}
$this
->
assign
(
'finalWinList'
,
$finalWinList
);
//
$this->assign('finalWinList',$finalWinList);
$this
->
assign
(
$firstPageData
);
$this
->
assign
(
$firstPageData
);
$this
->
setValue
(
$userId
);
$this
->
setValue
(
$userId
);
...
...
app/Lib/Action/Vip/PkTopAction.class.php
View file @
b65958f5
...
@@ -40,6 +40,13 @@ class PkTopAction extends IdentityAction{
...
@@ -40,6 +40,13 @@ class PkTopAction extends IdentityAction{
$weixin
=
M
(
'GroupInfo'
)
->
where
([
'group_id'
=>
$groupId
])
->
getField
(
'wechat'
);
$weixin
=
M
(
'GroupInfo'
)
->
where
([
'group_id'
=>
$groupId
])
->
getField
(
'wechat'
);
$this
->
assign
(
'weixin'
,
$weixin
);
$this
->
assign
(
'weixin'
,
$weixin
);
$this
->
assign
(
'weixinUrl'
,
'https://eturl.cn/Rhq2wA?is_head=1'
);
$this
->
assign
(
'weixinUrl'
,
'https://eturl.cn/Rhq2wA?is_head=1'
);
//重置卡个数
if
(
$userId
){
$leftNum
=
M
(
'MagicboxCard'
)
->
where
([
'user_id'
=>
$userId
,
'card_type'
=>
2
,
'use_time'
=>
0
])
->
count
();
}
else
{
$leftNum
=
0
;
}
$this
->
assign
(
'resetLeftNum'
,
$leftNum
);
}
}
}
}
...
...
app/Tpl/Vip/Index/saicheng.html
View file @
b65958f5
...
@@ -228,7 +228,6 @@
...
@@ -228,7 +228,6 @@
}
}
$
(
function
(){
$
(
function
(){
//支付成功的弹窗
//支付成功的弹窗
if
(
'{$_GET.is_payok}'
==
1
){
if
(
'{$_GET.is_payok}'
==
1
){
$
(
".mask"
).
show
();
$
(
".mask"
).
show
();
$
(
"#popPaySucc"
).
show
();
$
(
"#popPaySucc"
).
show
();
...
...
app/Tpl/Vip/Index/withdraw.html
View file @
b65958f5
...
@@ -73,10 +73,19 @@
...
@@ -73,10 +73,19 @@
<tr>
<tr>
<td>
提现
</td>
<td>
提现
</td>
<td
class=
"withdraw-num green"
><span
class=
"num"
>
¥{$vo.item_money}元
</span></td>
<td
class=
"withdraw-num green"
><span
class=
"num"
>
¥{$vo.item_money}元
</span></td>
<td>
{$vo.item_time}
</td><td>
已完成
</td>
<td>
{$vo.item_time}
</td>
<td
class=
"status"
>
<eq
name=
"vo.status"
value=
"1"
>
已完成
<else/>
待审核
<img
src=
"__PUBLIC__/Home/images/g2023/check-img.png"
class=
"shenhePic"
style=
"width:7%;"
>
</eq>
</td>
</tr>
</tr>
</foreach>
</foreach>
<!--<tr>-->
<!--<td>提现</td>-->
<!--<td class="withdraw-num green"><span class="num">¥{$vo.item_money}11元</span></td>-->
<!--<td>{$vo.item_time}11</td><td class="status">待审核 <img src="__PUBLIC__/Home/images/g2023/check-img.png" alt=""></td>-->
<!--</tr>-->
</tbody>
</tbody>
</table>
</table>
...
@@ -127,16 +136,18 @@
...
@@ -127,16 +136,18 @@
<span
class=
"t-pop-close"
><img
src=
"__PUBLIC__/Home/images/g2020/trade-close.png"
alt=
""
></span>
<span
class=
"t-pop-close"
><img
src=
"__PUBLIC__/Home/images/g2020/trade-close.png"
alt=
""
></span>
</div>
</div>
<!--<div class="camp-apply-pop pops" style="display: none;" id="popZixun">-->
<!--有待审核的提现-->
<!--<div class="pop-main">-->
<div
class=
"camp-apply-pop pops"
style=
"display: none;"
id=
"popTixianShenhe"
>
<!--<p style="text-align: center;font-weight: bold;font-size: 18px;color: #ff2336;margin-top: 5px;">大赛福利及参赛问题咨询</p>-->
<div
class=
"pop-main"
>
<!--<p class="main-msg-i okTxt" style="color: #333333;margin-bottom: 15px" >加微信免费领取参赛权益、进大赛高手交流群-->
<p
style=
"text-align: center;font-weight: bold;font-size: 18px;color: #ff2336;margin-top: 5px;"
>
您有提现还未完成
</p>
<!--</p>-->
<p
class=
"main-msg-i okTxt"
style=
"color: #333333;margin-bottom: 15px;"
>
联系客服快速提取奖金
</p>
<!--<p style="margin-left: 29%;"><img style="width: 60%;" src="__PUBLIC__/Home/images/2023ewm/jiangWx.jpg"/></p>-->
<p
style=
"margin-left: 29%;"
><img
style=
"width: 60%;"
src=
"__PUBLIC__/Home/images/2023ewm/vipDs.jpg"
/></p>
<p
class=
"pop-sub1 inWx"
style=
"font-size: 14px;"
>
(微信扫一扫,添加客服)
</p>
<!--</div>-->
<p
class=
"pop-sub1"
>
<!--<span class="t-pop-close"><img src="__PUBLIC__/Home/images/g2020/trade-close.png" alt=""></span>-->
</p>
<!--</div>-->
</div>
<span
class=
"t-pop-close"
><img
src=
"__PUBLIC__/Home/images/g2020/trade-close.png"
alt=
""
></span>
</div>
<include
file=
"newPop"
/>
<include
file=
"newPop"
/>
<include
file=
"footer"
/>
<include
file=
"footer"
/>
...
@@ -176,6 +187,12 @@
...
@@ -176,6 +187,12 @@
}
}
});
});
//点击待审核图片
$
(
".shenhePic"
).
click
(
function
()
{
$
(
".mask"
).
show
();
$
(
"#popTixianShenhe"
).
show
();
});
//关闭弹窗
//关闭弹窗
$
(
".t-pop-close,.pop-close"
).
click
(
function
()
{
$
(
".t-pop-close,.pop-close"
).
click
(
function
()
{
$
(
".mask"
).
hide
();
$
(
".mask"
).
hide
();
...
...
app/Tpl/Vip/PkTop/index.html
View file @
b65958f5
...
@@ -171,15 +171,15 @@
...
@@ -171,15 +171,15 @@
</div>
</div>
<!--更多大赛-->
<!--更多大赛-->
<
div
class=
"contest-body-detail"
style=
"display: none;"
>
<
!--<div class="contest-body-detail" style="display: none;">--
>
<
div
class=
"contest-setting contest-item contest-bg"
>
<
!--<div class="contest-setting contest-item contest-bg">--
>
<
div
class=
"title-p"
>
更多大赛 更多奖金
</div
>
<
!--<div class="title-p">更多大赛 更多奖金</div>--
>
<
div
class=
"setting-info"
>
<
!--<div class="setting-info">--
>
<
img
class=
"set-info-t"
src=
"__PUBLIC__/images/h5/g2020/hycs-img.png"
alt=
""
>
<
!--<img class="set-info-t" src="__PUBLIC__/images/h5/g2020/hycs-img.png" alt="">--
>
<
include
file=
"moreDs"
/
>
<
!--<include file="moreDs"/>--
>
<
/div
>
<
!--</div>--
>
<
/div
>
<
!--</div>--
>
<
/div
>
<
!--</div>--
>
<include
file=
"bottom"
/>
<include
file=
"bottom"
/>
<div
class=
"foot-fix"
>
</div>
<div
class=
"foot-fix"
>
</div>
...
@@ -292,17 +292,7 @@
...
@@ -292,17 +292,7 @@
// });
// });
//点关闭刷新页面取状态
// $("#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(); }
//点用户名和头像跳转到该大赛的旧的交易页
//点用户名和头像跳转到该大赛的旧的交易页
...
...
app/Tpl/Vip/PkTop/static_price.html
View file @
b65958f5
...
@@ -59,20 +59,16 @@
...
@@ -59,20 +59,16 @@
<span
class=
"star-bg"
></span>
<span
class=
"star-bg"
></span>
</div>
</div>
</div>
</div>
<div
class=
"time-contest-item box-avt-msg"
>
<span
class=
"time-t"
style=
"width:100%;"
>
<img
class=
"icon"
style=
"width: 20px;height: 20px;"
src=
"__PUBLIC__/Home/images/g2020/allex_icon.png"
alt=
""
>
模拟资金重置卡
<!--<div class="time-contest-item box-avt-msg">-->
<!--<a href="{:M_URL}/Box" style="-webkit-border-radius: 20px;font-size: 12px;color: #ffffff;background-color: #F98935;padding: 0px 8px;float: right;line-height: 23px;margin-top: 2px;font-weight: normal;">立即获得重置卡</a>-->
<!--<span class="time-t" style="width:100%;">-->
<!--<img class="icon" style="width: 20px;height: 20px;" src="__PUBLIC__/Home/images/g2020/allex_icon.png" alt="">模拟资金重置卡-->
<!--<a href="javascript:;"-->
<!--style="-webkit-border-radius: 20px;font-size: 12px;color: #ffffff;background-color: #F98935;-->
<!--padding: 0px 8px;float: right;line-height: 23px;margin-top: 2px;font-weight: normal;" class="getNow">立即获得重置卡</a>-->
<!--</span>-->
<!--<p class="msg-l1">使用后,模拟金重置为初始一百万,同时收益率、持仓、交易记录等全部清除。</p>-->
<!--<p class="msg-l2">注:当个交易日使用,第二个交易日生效。<br>(交易日指早9点-下午4点开盘期间)</p>-->
<!--</div>-->
</span>
<p
class=
"msg-l1"
>
使用后,模拟金重置为初始一百万,同时收益率、持仓、交易记录等全部清除。
</p>
<p
class=
"msg-l2"
>
注:当个交易日使用,第二个交易日生效。
<br>
(交易日指早9点-下午4点开盘期间)
</p>
</div>
<div
class=
"time-contest-item box-avt-msg"
style=
"padding-top: 5px;"
>
<div
class=
"time-contest-item box-avt-msg"
style=
"padding-top: 5px;"
>
<a
href=
"{:M_URL}/Zjds"
target=
"_blank"
>
<a
href=
"{:M_URL}/Zjds"
target=
"_blank"
>
<img
src=
"__PUBLIC__/images/2022/vipBottom1.png"
alt=
""
>
<img
src=
"__PUBLIC__/images/2022/vipBottom1.png"
alt=
""
>
...
...
app/Tpl/Vip/PkTop/static_rule.html
View file @
b65958f5
...
@@ -10,6 +10,13 @@
...
@@ -10,6 +10,13 @@
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!--</div>-->
<!--</div>-->
<style>
.zjCard
{
-webkit-border-radius
:
20px
;
font-size
:
12px
;
color
:
#ffffff
;
background-color
:
#F98935
;
padding
:
3px
8px
;
}
</style>
<div
class=
"contest-setting contest-item"
>
<div
class=
"contest-setting contest-item"
>
<div
class=
"title-p"
>
大赛规则
</div>
<div
class=
"title-p"
>
大赛规则
</div>
<div
class=
"setting-info"
>
<div
class=
"setting-info"
>
...
@@ -26,20 +33,22 @@
...
@@ -26,20 +33,22 @@
<span
class=
"item-t"
><img
src=
"__PUBLIC__/Home/images/g2020/w3.png"
alt=
""
></span>
<span
class=
"item-t"
><img
src=
"__PUBLIC__/Home/images/g2020/w3.png"
alt=
""
></span>
<p
class=
"item-p1"
>
周转率需>0%(每月必须交易一次),才可参加周赛评奖。全仓买入卖出一次的周转率算作100%;
</p>
<p
class=
"item-p1"
>
周转率需>0%(每月必须交易一次),才可参加周赛评奖。全仓买入卖出一次的周转率算作100%;
</p>
</div>
</div>
<div
class=
"item-d"
>
<span
class=
"item-t"
><img
src=
"__PUBLIC__/Home/images/g2020/w4.png"
alt=
""
></span>
<p
class=
"item-p1"
>
初始资产统一为100万元虚拟资金;周赛期间如果亏损较多,可以购买“重置卡”进行重置资产到初始资金100万,
<span
class=
"red"
>
当天(交易日)使用次日(交易日)生效。
</span><br>
<!--<a href="javascript:;" class="buy-card">立即购买资金重置卡></a>-->
<!--<div class="item-d">-->
<!--<a href="{:M_URL}/Box" style="">立即获得重置卡</a>-->
<!--<span class="item-t"><img src="__PUBLIC__/Home/images/g2020/w4.png" alt=""></span>-->
<!--<p class="item-p1">初始资产统一为100万元虚拟资金;周赛期间如果亏损较多,可以购买“重置卡”进行重置资产到初始资金100万,-->
<!--<span class="red">当天(交易日)使用次日(交易日)生效。</span><br>-->
<!--<gt name="resetLeftNum" value="0">-->
<gt
name=
"resetLeftNum"
value=
"0"
>
<!--<a href="javascript:;" class="buy-card useResetCard">使用资金重置卡 X{$resetLeftNum}</a>-->
<a
href=
"{:M_URL}/Box?popFlag=5"
class=
"zjCard"
>
立即使用重置卡 X{$resetLeftNum}
</a>
<!--<else/>-->
<else/>
<!--<a href="javascript:;" class="buy-card">立即购买资金重置卡</a>-->
<a
href=
"javascript:;"
class=
"zjCard getResetCard"
>
立即获得重置卡
</a>
<!--</gt>-->
</gt>
<!--</p>-->
<!--</div>-->
</p>
</div>
</div>
</div>
<div
class=
"time-contest-item"
>
<div
class=
"time-contest-item"
>
<span
class=
"time-t"
>
<img
class=
"icon"
src=
"__PUBLIC__/Home/images/g2020/pm-icon1.png"
alt=
""
>
排名规则
</span>
<span
class=
"time-t"
>
<img
class=
"icon"
src=
"__PUBLIC__/Home/images/g2020/pm-icon1.png"
alt=
""
>
排名规则
</span>
...
@@ -85,3 +94,22 @@
...
@@ -85,3 +94,22 @@
</div>
</div>
</div>
</div>
</div>
</div>
<script
type=
"text/javascript"
>
//立即获得重置卡
$
(
'.getResetCard'
).
click
(
function
()
{
if
(
'{$user.userID}'
==
''
){
if
(
mfrom
[
1
]
>
0
){
AppBridge
.
goLogin
();
}
else
{
$
(
'#baomingPOP'
).
attr
(
'targetUrl'
,
'{:M_URL}/Box'
);
animPop
(
'#baomingPOP'
);
}
}
else
{
location
.
href
=
'{:M_URL}/Box'
;
}
});
</script>
\ No newline at end of file
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