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
09fac69c
Commit
09fac69c
authored
Apr 17, 2023
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重置卡支付
parent
df556564
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
244 additions
and
134 deletions
+244
-134
IndexAction.class.php
app/Lib/Action/Vip/IndexAction.class.php
+38
-1
jiang.html
app/Tpl/Vip/Index/jiang.html
+1
-32
myItemPc.html
app/Tpl/Vip/Index/myItemPc.html
+14
-5
newPop.html
app/Tpl/Vip/Index/newPop.html
+96
-0
pop.html
app/Tpl/Vip/Index/pop.html
+15
-52
saicheng.html
app/Tpl/Vip/Index/saicheng.html
+80
-44
No files found.
app/Lib/Action/Vip/IndexAction.class.php
View file @
09fac69c
...
...
@@ -49,7 +49,7 @@ class IndexAction extends IdentityAction {
//刷新页面后获取弹出的消息
// $popData=$this->getPopData($userId);
$firstPageData
=
array
(
'popType'
=>
$popData
[
'popType'
],
'popPkUserName'
=>
$popData
[
'popPkUserName'
])
;
$firstPageData
=
[]
;
$firstPageData
[
'gonggao'
]
=
$this
->
getGonggao
();
//获奖心得
$thinks
=
M
(
'PktopUserphb'
)
->
where
(
array
(
'think'
=>
array
(
'exp'
,
'is not null'
)))
->
order
(
'month desc'
)
->
limit
(
10
)
->
select
();
...
...
@@ -91,6 +91,13 @@ class IndexAction extends IdentityAction {
$myData
=
$this
->
getMyData
();
$this
->
assign
(
'myData'
,
$myData
);
}
//重置卡个数
if
(
$userId
){
$leftNum
=
M
()
->
db
(
10
,
C
(
'DB_CONFIG_DEMO'
))
->
table
(
'cofool_magicbox_card'
)
->
where
([
'user_id'
=>
$userId
,
'card_type'
=>
2
,
'use_time'
=>
0
])
->
count
();
}
else
{
$leftNum
=
0
;
}
$this
->
assign
(
'resetLeftNum'
,
$leftNum
);
$this
->
display
();
...
...
@@ -1394,6 +1401,36 @@ class IndexAction extends IdentityAction {
$this
->
display
();
}
//百宝箱首页使用翻倍卡和资金重置卡时调用该方法
public
function
saveCardConfig
(){
$userId
=
$this
->
user
[
'userID'
];
//3练习区重置卡,4有奖大赛重置卡,5中金大赛的重置
$useType
=
I
(
'use_type'
,
0
,
'intval'
);
//1翻倍卡,2重置卡,先找出最先购买的未使用的卡
$cardType
=
$useType
<=
2
?
1
:
2
;
$where
=
[
'user_id'
=>
$userId
,
'use_time'
=>
0
,
'card_type'
=>
$cardType
];
$cardId
=
M
(
"MagicboxCard"
)
->
where
(
$where
)
->
order
(
'add_time asc'
)
->
getField
(
'id'
);
$saveData
=
[
'use_time'
=>
time
(),
'use_type'
=>
$useType
];
M
(
"MagicboxCard"
)
->
where
([
'user_id'
=>
$userId
,
'id'
=>
$cardId
])
->
save
(
$saveData
);
//如果配置的是资金重置卡,还要写到表resetbalance
if
(
$useType
==
3
){
$testId
=
D
(
'Group'
)
->
getPractice
(
$userId
);
M
(
"PkResetbalance"
)
->
add
([
'uid'
=>
$testId
.
'X'
.
$userId
,
'add_time'
=>
time
(),
'reset_type'
=>
3
]);
}
if
(
$useType
==
4
){
M
(
"PkResetbalance"
)
->
add
([
'uid'
=>
PRIZE_GROUP_2021
.
'X'
.
$userId
,
'add_time'
=>
time
(),
'reset_type'
=>
4
]);
}
if
(
$useType
==
5
){
M
(
"PkResetbalance"
)
->
add
([
'uid'
=>
ZHONGJIN_GROUP
.
'X'
.
$userId
,
'add_time'
=>
time
(),
'reset_type'
=>
5
]);
}
$this
->
ajaxReturn
([
'status'
=>
1
,
'info'
=>
'使用成功'
]);
}
}
...
...
app/Tpl/Vip/Index/jiang.html
View file @
09fac69c
...
...
@@ -354,38 +354,7 @@
}
});
//输入手机号验证码后提交
$
(
"#submitLogin"
).
click
(
function
()
{
var
mobile
=
$
(
"#mobile"
).
val
();
var
smsCode
=
$
(
"#smsCode"
).
val
();
if
(
mobile
==
''
){
layer
.
msg
(
'请输入手机号'
);
return
;}
if
(
smsCode
==
''
){
layer
.
msg
(
'请输入验证码'
);
return
;}
var
targetUrl
=
$
(
'#popLogin'
).
attr
(
'targetUrl'
);
// var referer='{$_GET.referer}';
var
param
=
{
mobile
:
mobile
,
smsCode
:
smsCode
,
targetUrl
:
targetUrl
};
$
.
post
(
"/Index/telLogin"
,
param
,
function
(
data
){
// alert();
if
(
data
.
status
==
2
){
layer
.
msg
(
data
.
info
);
}
if
(
data
.
status
==
1
){
$
(
".mask"
).
hide
();
$
(
"#popLogin"
).
hide
();
if
(
typeof
(
targetUrl
)
==
"undefined"
||
targetUrl
==
''
){
layer
.
msg
(
'登录成功'
,
2
,
1
,
function
(){
location
.
reload
();
});
}
else
{
layer
.
msg
(
'登录成功'
,
2
,
1
,
function
(){
$
.
cookie
(
'denglu'
,
targetUrl
);
location
.
reload
();
});
}
}
});
});
//进入交易
$
(
".goTradeBtn"
).
click
(
function
()
{
window
.
event
.
stopPropagation
();
...
...
app/Tpl/Vip/Index/myItemPc.html
View file @
09fac69c
...
...
@@ -11,11 +11,20 @@
</div>
<div
class=
"info-data"
>
<div
class=
"data"
><span
class=
"title"
>
周盈利率:
</span>
<empty
name=
"myData.lastweekup"
>
<span
class=
"num "
>
--
</span>
<else/>
<gt
name=
"myData.lastweekup"
value=
"0"
><span
class=
"num red"
>
{$myData.lastweekup}%
</span></gt>
<eq
name=
"myData.lastweekup"
value=
"0"
><span
class=
"num "
>
{$myData.lastweekup}
%
</span></eq>
<eq
name=
"myData.lastweekup"
value=
"0"
><span
class=
"num "
>
0.00
%
</span></eq>
<lt
name=
"myData.lastweekup"
value=
"0"
><span
class=
"num green"
>
{$myData.lastweekup}%
</span></lt>
</empty>
</div>
<div
class=
"data"
><span
class=
"title"
>
月周转率:
</span>
<span
class=
"num"
><empty
name=
"myData.monthzzl"
>
--
<else/>
{$myData.monthzzl}%
</empty></span>
</div>
<div
class=
"data"
><span
class=
"title"
>
月周转率:
</span><span
class=
"num"
>
{$myData.monthzzl}%
</span></div>
</div>
<!--<if condition="empty($myData['monthzzl']) or $myData['monthzzl'] eq 0">-->
...
...
@@ -62,7 +71,7 @@
<empty
name=
"myData.lastweekup"
>
<span
class=
"num "
>
--
</span>
<else/>
<gt
name=
"myData.lastweekup"
value=
"0"
><span
class=
"num red"
>
{$myData.lastweekup}%
</span></gt>
<eq
name=
"myData.lastweekup"
value=
"0"
><span
class=
"num "
>
{$myData.lastweekup}
%
</span></eq>
<eq
name=
"myData.lastweekup"
value=
"0"
><span
class=
"num "
>
0.00
%
</span></eq>
<lt
name=
"myData.lastweekup"
value=
"0"
><span
class=
"num green"
>
{$myData.lastweekup}%
</span></lt>
</empty>
...
...
app/Tpl/Vip/Index/newPop.html
View file @
09fac69c
...
...
@@ -45,6 +45,50 @@
<span
class=
"t-pop-close"
><img
src=
"__PUBLIC__/Home/images/g2020/trade-close.png"
alt=
""
></span>
</div>
<!--资金重置卡-->
<div
class=
"issue-class-pop box pops box-reset dialog-pop"
style=
"display: none;"
id=
"popChoose"
>
<span
class=
"t-pop-close"
><img
src=
"__PUBLIC__/Home/images/g2020/trade-close.png"
alt=
""
></span>
<div
class=
"underway-name-b"
>
<div
class=
"b-title"
>
您正在使用资金重置卡
<span
class=
"sub"
>
(余{$resetLeftNum|default=0}张)
</span></div>
<div
class=
"underway-name"
><span
class=
"bold"
>
训练区
</span>
<input
type=
"radio"
value=
"3"
name=
"resetRadio"
checked
class=
"check-in"
><p
class=
"c9 f12"
>
当日使用,第二个交易日重置资金
</p>
</div>
<div
class=
"underway-name"
><span
class=
"bold"
>
全民炼股争霸赛-全民分赛场
</span>
<input
type=
"radio"
value=
"4"
name=
"resetRadio"
class=
"check-in"
><p
class=
"c9 f12"
>
当日使用,第二个交易日重置资金
</p>
</div>
<div
class=
"underway-name"
><span
class=
"bold"
>
全民炼股争霸赛-中金分赛场
</span>
<input
type=
"radio"
value=
"5"
name=
"resetRadio"
class=
"check-in"
><p
class=
"c9 f12"
>
当月使用,下月1号重置资金
</p>
</div>
</div>
<input
type=
"button"
value=
"确定使用"
class=
"issue-confirm"
id=
"useReset"
>
<div
class=
"reset-msg"
>
使用后,模拟金重置为初始值,
<br>
同时交易记录等全部清除,请谨慎使用
</div>
</div>
<!--使用成功-->
<div
class=
"buy-success-pop pops dialog-pop"
style=
"display: none;"
id=
"popUseSucc"
>
<span
class=
"t-pop-close"
refresh=
"1"
><img
src=
"__PUBLIC__/Home/images/g2020/trade-close.png"
alt=
""
></span>
<div
class=
"pop-main"
>
<div
class=
"pop-main-img"
><br>
<img
class=
"use-img"
src=
"__PUBLIC__/images/2023/use-img.png"
alt=
""
>
</div>
<div
class=
"pop-main-msg red msg"
>
使用成功
</div>
<p
class=
"pop-main-img1"
>
您的模拟金将重置为初始状态
</p>
<p
class=
"pop-main-img2"
id=
"resetGroupName"
></p>
</div>
</div>
<!--购买成功-->
<div
class=
"buy-success-pop pops dialog-pop"
style=
"display: none"
id=
"popPaySucc"
>
<span
class=
"t-pop-close"
><img
src=
"__PUBLIC__/Home/images/g2020/trade-close.png"
alt=
""
></span>
<div
class=
"pop-main bold"
>
<div
class=
"pop-main-img"
><br>
<img
class=
"card-img"
src=
"__PUBLIC__/Home/images/g2020/cz-card.png"
alt=
""
>
</div>
<div
class=
"pop-main-msg red msg"
>
资金重置卡购买成功
</div>
<a
href=
"javascript:;"
class=
"box-go-buy useResetCard"
>
立即使用
</a>
</div>
</div>
<script>
$
(
function
()
{
...
...
@@ -68,6 +112,58 @@
});
});
//输入手机号验证码后提交
$
(
"#submitLogin"
).
click
(
function
()
{
var
mobile
=
$
(
"#mobile"
).
val
();
var
smsCode
=
$
(
"#smsCode"
).
val
();
if
(
mobile
==
''
){
layer
.
msg
(
'请输入手机号'
);
return
;}
if
(
smsCode
==
''
){
layer
.
msg
(
'请输入验证码'
);
return
;}
var
targetUrl
=
$
(
'#popLogin'
).
attr
(
'targetUrl'
);
// var referer='{$_GET.referer}';
var
param
=
{
mobile
:
mobile
,
smsCode
:
smsCode
,
targetUrl
:
targetUrl
};
$
.
post
(
"/Index/telLogin"
,
param
,
function
(
data
){
// alert();
if
(
data
.
status
==
2
){
layer
.
msg
(
data
.
info
);
}
if
(
data
.
status
==
1
){
$
(
".mask"
).
hide
();
$
(
"#popLogin"
).
hide
();
if
(
typeof
(
targetUrl
)
==
"undefined"
||
targetUrl
==
''
){
layer
.
msg
(
'登录成功'
,
2
,
1
,
function
(){
location
.
reload
();
});
}
else
{
layer
.
msg
(
'登录成功'
,
2
,
1
,
function
(){
$
.
cookie
(
'denglu'
,
targetUrl
);
location
.
reload
();
});
}
}
});
});
//点击弹框里面的确定使用
$
(
'#useReset'
).
click
(
function
(){
var
use_type
=
$
(
'input[name="resetRadio"]:checked'
).
val
();
console
.
log
(
'使用类型:'
+
use_type
);
$
.
post
(
"/Index/saveCardConfig"
,
{
use_type
:
use_type
},
function
(
data
)
{
if
(
data
.
status
==
1
)
{
if
(
use_type
==
3
||
use_type
==
4
||
use_type
==
5
){
var
obj
=
{
3
:
'【训练区】'
,
4
:
'【全民炼股争霸赛-全民分赛场】'
,
5
:
'【全民炼股争霸赛-中金分赛场】'
};
$
(
'#resetGroupName'
).
html
(
obj
[
use_type
]);
$
(
"#popChoose"
).
hide
();
$
(
"#popUseSucc"
).
show
();
}
else
{
layer
.
msg
(
data
.
info
,
2
,
1
,
function
(){
location
.
href
=
'/Box'
;
});
}
}
else
{
layer
.
msg
(
data
.
info
,
1
,
1
);
}
});
});
...
...
app/Tpl/Vip/Index/pop.html
View file @
09fac69c
...
...
@@ -2,9 +2,8 @@
<div
class=
"submit-info-pop pops web-pop"
style=
"display: none;z-index: 1112"
id=
"pop1"
targetUrl=
""
>
<span
class=
"t-pop-close"
><img
src=
"__PUBLIC__/images/h5/g2020/pop-close.png"
alt=
""
></span>
<div
class=
"p-msg"
>
<!--报名成功-->
</div>
<div
class=
"p-msg"
>
</div>
<div
class=
"form-info-box"
>
<div
class=
"form-info-input"
>
<input
type=
"tel"
class=
"phone-input"
placeholder=
"请输入手机号"
maxlength=
"11"
>
...
...
@@ -61,72 +60,37 @@
<!--</p>-->
<p
class=
"main-code-img"
>
<!--<button class="camp-copyBtn copyBtn" data-clipboard-action="copy" data-clipboard-text="{$weixin}" >一键复制</button>-->
<a
href=
"{:WWW_URL}/Zjds"
target=
"_blank"
>
<button
class=
"camp-copyBtn"
>
参加更高奖金官方大赛 >
</button>
</a>
<a
href=
"{:WWW_URL}/Zjds"
target=
"_blank"
><button
class=
"camp-copyBtn"
>
参加更高奖金官方大赛 >
</button></a>
</p>
</div>
<span
class=
"t-pop-close"
refresh=
"1"
><img
src=
"__PUBLIC__/images/h5/g2020/pop-close.png"
alt=
""
></span>
</div>
<!--购买成功-->
<div
class=
"buy-success-pop pops dialog-pop"
style=
"display: none"
id=
"popPaySucc"
>
<span
class=
"t-pop-close"
><img
src=
"__PUBLIC__/Home/images/g2020/trade-close.png"
alt=
""
></span>
<div
class=
"pop-main bold"
>
<div
class=
"pop-main-img"
>
<br>
<img
class=
"card-img"
src=
"__PUBLIC__/Home/images/g2020/cz-card.png"
alt=
""
>
</div>
<div
class=
"pop-main-msg red msg"
>
资金重置卡购买成功
</div>
<a
href=
"javascript:;"
class=
"box-go-buy"
month=
"1"
>
立即购买
</a>
</div>
</div>
<!--资金重置卡-->
<div
class=
"issue-class-pop box pops box-reset dialog-pop"
style=
"display: none;"
>
<span
class=
"t-pop-close"
><img
src=
"__PUBLIC__/Home/images/g2020/trade-close.png"
alt=
""
></span>
<div
class=
"underway-name-b"
>
<div
class=
"b-title"
>
您正在使用资金重置卡
<span
class=
"sub"
>
(余1张)
</span></div>
<div
class=
"underway-name"
><span
class=
"bold"
>
训练区
</span>
<input
type=
"radio"
value=
"3"
name=
"resetRadio"
checked
class=
"check-in"
><p
class=
"c9 f12"
>
当日使用,第二个交易日重置资金
</p>
</div>
<div
class=
"underway-name"
><span
class=
"bold"
>
全民炼股争霸赛-全民分赛场
</span>
<input
type=
"radio"
value=
"4"
name=
"resetRadio"
class=
"check-in"
><p
class=
"c9 f12"
>
当日使用,第二个交易日重置资金
</p>
</div>
<div
class=
"underway-name"
><span
class=
"bold"
>
全民炼股争霸赛-中金分赛场
</span>
<input
type=
"radio"
value=
"5"
name=
"resetRadio"
class=
"check-in"
><p
class=
"c9 f12"
>
当月使用,下月1号重置资金
</p>
</div>
</div>
<input
type=
"button"
value=
"确定使用"
class=
"issue-confirm"
id=
"useReset"
>
<div
class=
"reset-msg"
>
使用后,模拟金重置为初始值,
<br>
同时交易记录等全部清除,请谨慎使用
</div>
</div>
<!--使用成功-->
<div
class=
"buy-success-pop pops dialog-pop"
style=
"display: none;"
>
<span
class=
"t-pop-close"
><img
src=
"__PUBLIC__/Home/images/g2020/trade-close.png"
alt=
""
></span>
<div
class=
"pop-main"
>
<div
class=
"pop-main-img"
>
<br>
<img
class=
"use-img"
src=
"__PUBLIC__/images/2023/use-img.png"
alt=
""
>
</div>
<div
class=
"pop-main-msg red msg"
>
使用成功
</div>
<p
class=
"pop-main-img1"
>
您的模拟金将重置为初始状态
</p>
<p
class=
"pop-main-img2"
>
【全民炼股争霸赛-全民分赛场】
</p>
</div>
</div>
<script>
$
(
function
()
{
//点击重置卡图片
//点击右边侧边栏的重置卡图片
$
(
".left-card1"
).
click
(
function
()
{
if
(
'{$user.userID}'
==
''
){
$
(
".mask"
).
show
();
$
(
"#pop1"
).
show
();
// $("#pop1").show();
$
(
"#popLogin"
).
show
();
}
else
{
// location.href="/index/resetBalance";
location
.
href
=
"{$Think.config.M_URL}/Box"
;
if
(
'{$resetLeftNum}'
>
0
){
$
(
".mask"
).
show
();
$
(
"#popChoose"
).
show
();
}
else
{
location
.
href
=
'{$Think.config.WWW_URL}Lesson/pay2?type=reset'
;
}
}
});
//点击右侧的 邀请好友分钱 图片
$
(
".right4"
).
click
(
function
()
{
location
.
href
=
"/index/myInvite"
;
...
...
@@ -137,7 +101,6 @@
// $('#password').parent().show();
var
mobileNumber
=
$
(
".phone-input"
).
val
();
if
(
mobileNumber
==
''
){
layer
.
msg
(
'请输入手机号'
);
return
;}
// var reg = /^(((13[0-9]{1})|(14[0-9]{1})|(15[0-9]{1})|(16[0-9]{1})|(17[0-9]{1})|(18[0-9]{1})|(19[0-9]{1}))+\d{8})$/ ;
var
reg
=
/^
((
1
[
2-9
]{1}[
0-9
]{1})
+
\d{8})
$/
;
if
(
!
reg
.
test
(
mobileNumber
)){
layer
.
msg
(
'请输入有效的11位手机号码'
);
return
;}
...
...
app/Tpl/Vip/Index/saicheng.html
View file @
09fac69c
...
...
@@ -18,6 +18,8 @@
<script
type=
"text/javascript"
src=
"__PUBLIC__/js/clipboard.min.js"
></script>
<script
type=
"text/javascript"
src=
"__PUBLIC__/js/slider/js/jquery.bxslider.js"
></script>
<script
type=
"text/javascript"
src=
"__PUBLIC__/js/pk.js{$Think.config.js_version}66"
></script>
<script
type=
"text/javascript"
src=
"__PUBLIC__/js/jquery.cookie.js"
></script>
</head>
<body>
<div
class=
"championship-cont-web"
>
...
...
@@ -32,11 +34,7 @@
<ul>
<foreach
name=
"gonggao"
item=
"vo"
>
<li
class=
"notice-li"
style=
"white-space: nowrap;overflow: hidden;text-overflow: ellipsis;max-width: 490px;display: block;"
>
<notempty
name=
"vo.url"
>
<a
href=
"{$vo.url}"
style=
"color:#C60000;"
>
{$vo.title}
</a>
<else/>
{$vo.title}
</notempty>
<notempty
name=
"vo.url"
><a
href=
"{$vo.url}"
style=
"color:#C60000;"
>
{$vo.title}
</a><else/>
{$vo.title}
</notempty>
</li>
</foreach>
</ul>
...
...
@@ -76,8 +74,7 @@
<div
class=
"bei-note"
>
<div
class=
"time-contest-item note-new"
>
<div
class=
"item-d"
>
<span
class=
"item-t1"
>
1
</span>
<p
class=
"item-p1"
>
周收益率为正
<span
class=
"red"
>
(≥0%)
</span></p>
<span
class=
"item-t1"
>
1
</span><p
class=
"item-p1"
>
周收益率为正
<span
class=
"red"
>
(≥0%)
</span></p>
</div>
<div
class=
"item-d"
>
<span
class=
"item-t1"
>
2
</span>
...
...
@@ -111,7 +108,12 @@
<div
class=
"bei-note"
>
<p
class=
"msg-l1"
>
使用后,模拟金重置为初始一百万,同时收益率、持仓、交易记录等全部清除。
</p>
<p
class=
"msg-l2"
>
注:当个交易日使用,第二个交易日生效。
<br>
(交易日指早9点-下午4点开盘期间)
</p>
<a
href=
"{:M_URL}/Box"
class=
"reset-btn"
>
立即获得重置卡
</a>
<gt
name=
"resetLeftNum"
value=
"0"
>
<a
href=
"javascript:;"
class=
"reset-btn useResetCard"
>
使用资金重置卡 X{$resetLeftNum}
</a>
<else/>
<a
href=
"javascript:;"
class=
"reset-btn buy-card"
>
立即获得重置卡
</a>
</gt>
<span
class=
"bei-note-bg"
></span>
</div>
</div>
...
...
@@ -131,8 +133,9 @@
<div
class=
"time-contest-item paddingT6"
>
<div
class=
"item-d"
>
<span
class=
"item-t1"
>
1
</span>
<p
class=
"item-p1"
>
每周一下午六点前会将所瓜分的奖金打入叩富简投大赛专用奖金钱包(节假日顺延),钱包金额超过 20元即可申请提现。
<a
href=
"/"
class=
"check-qb"
>
立即查看我的奖金钱包>>
</a></p>
<p
class=
"item-p1"
>
每周一下午六点前会将所瓜分的奖金打入叩富简投大赛专用奖金钱包(节假日顺延),钱包金额超过 20元即可申请提现。
<a
href=
"/"
class=
"check-qb"
>
立即查看我的奖金钱包>>
</a>
</p>
</div>
<div
class=
"code-cont2"
>
<div
class=
"code"
>
...
...
@@ -143,7 +146,8 @@
</div>
<div
class=
"item-d"
>
<span
class=
"item-t1"
>
2
</span>
<p
class=
"item-p1"
>
获奖信息将会通过叩富简投app系统消息、知识分享、微信、电话、短信等方式通知,并同步在叩富简投app、“叩富简投全民炼股争霸赛”微信公众号、“叩富简投全民炼股争霸赛”微博等平台发布;
</p>
<p
class=
"item-p1"
>
获奖信息将会通过叩富简投app系统消息、知识分享、微信、电话、短信等方式通知,
并同步在叩富简投app、“叩富简投全民炼股争霸赛”微信公众号、“叩富简投全民炼股争霸赛”微博等平台发布;
</p>
</div>
</div>
</div>
...
...
@@ -173,8 +177,7 @@
<span
class=
"bold"
>
叩富『全民炼股』争霸赛
</span><br>
自2007年开赛以来,已累积举办200多期模拟炒股大奖赛,不管牛市熊市从未间断,累积派发现金奖励近百万。
<br>
2023年全新赛季,五大分赛场同时开赛,可同时报名,同时拿奖。每周,每月都有奖金派发,有正收益率即可瓜分奖金,奖金覆盖面更宽,更广。
<br>
<span
class=
"bold"
>
拿奖金,练技巧,以赛促学,以股会友!
</span><br>
叩富十年赛场,让学习炒股更简单,更有趣!
<span
class=
"bold"
>
拿奖金,练技巧,以赛促学,以股会友!
</span><br>
叩富十年赛场,让学习炒股更简单,更有趣!
</div>
<div
class=
"step-cont-r"
>
<img
id=
"code"
src=
"__PUBLIC__/Home/images/2023ewm/vipDs.jpg"
alt=
""
style=
"display: inline;"
>
...
...
@@ -207,14 +210,6 @@
<input
id=
"referer"
value=
"{$referer}"
type=
"hidden"
/>
<!--发起成功-->
<!--挑战通知-->
<!--pk获胜-->
<!--pk失败-->
<include
file=
"newPop"
/>
<include
file=
"pop"
/>
<include
file=
"footer"
/>
...
...
@@ -232,6 +227,12 @@
})
}
$
(
function
(){
//支付成功的弹窗
if
(
'{$_GET.is_payok}'
==
1
){
$
(
".mask"
).
show
();
$
(
"#popPaySucc"
).
show
();
}
//获奖感言滚动显示
var
area
=
$
(
'.message-block'
)[
0
];
var
con1
=
$
(
'.message-block-ul'
)[
0
];
...
...
@@ -248,8 +249,14 @@
var
mytimer
=
setInterval
(
scrollUp
,
time
);
$
(
".t-pop-close,.pop-close,.mask"
).
click
(
function
()
{
if
(
$
(
this
).
attr
(
'refresh'
)
==
1
){
// location.reload();
location
.
href
=
location
.
href
.
replace
(
"is_payok="
,
'x='
);
}
else
{
$
(
".mask"
).
hide
();
$
(
this
).
parents
(
'.pops'
).
hide
();
}
});
$
(
".mask"
).
click
(
function
()
{
$
(
".mask"
).
hide
();
...
...
@@ -267,26 +274,47 @@
//关闭报名成功的弹框
$
(
'#closeSucc'
).
click
(
function
(){
// location.href="/?view="+view;
location
.
reload
();
});
//进入交易
$
(
'.pk-cont-info'
).
click
(
function
(){
location
.
href
=
"{$Think.config.WWW_URL}/Trade/Stock/index/gid/20202}"
;
// location.href="{$Think.config.WWW_URL}/Trade/Stock/index/gid/20202}";
location
.
href
=
"{$Think.config.WWW_URL}/Trade/Stock/index}"
;
});
baoming
(
'{$user.userID}'
,
'{$Think.config.WWW_URL}'
);
//点击重置卡图片
$
(
".left-card1"
).
click
(
function
()
{
// $(".left-card1").click(function () {
// if('{$user.userID}'==''){
// $(".mask").show();
// $("#pop1").show();
// }else{
// location.href="/index/resetBalance";
// }
// });
//点购买资金重置卡
$
(
".buy-card"
).
click
(
function
()
{
if
(
'{$user.userID}'
==
''
){
$
(
".mask"
).
show
();
$
(
"#pop1"
).
show
();
// $("#pop1").show();
$
(
"#popLogin"
).
show
();
$
(
'#popLogin'
).
attr
(
'targetUrl'
,
'{$Think.config.WWW_URL}Lesson/pay2?type=reset'
);
}
else
{
location
.
href
=
"/index/resetBalance"
;
location
.
href
=
'{$Think.config.WWW_URL}Lesson/pay2?type=reset'
;
}
});
//使用资金重置卡
$
(
".useResetCard"
).
click
(
function
()
{
$
(
"#popPaySucc"
).
hide
();
$
(
".mask"
).
show
();
$
(
"#popChoose"
).
show
();
});
submitBaoming
(
userType
,
'{$Think.config.WWW_URL}'
);
...
...
@@ -298,21 +326,21 @@
});
//打开页面时出现pk消息的弹框
if
(
'{$popType}'
==
2
){
$
(
'#pop2'
).
show
();
$
(
".mask"
).
show
();
}
if
(
'{$popType}'
==
3
){
var
text
=
$
(
'#pop3'
).
children
(
'.result-msg-s'
).
text
();
text
=
text
.
replace
(
/【】/
,
"【{$popPkUserName}】"
);
$
(
'#pop3'
).
children
(
'.result-msg-s'
).
text
(
text
);
$
(
'#pop3'
).
show
();
$
(
".mask"
).
show
();
}
if
(
'{$popType}'
==
4
){
var
text
=
$
(
'#pop4'
).
children
(
'.result-msg-s'
).
text
();
text
=
text
.
replace
(
/【】/
,
"【{$popPkUserName}】"
);
$
(
'#pop4'
).
children
(
'.result-msg-s'
).
text
(
text
);
$
(
'#pop4'
).
show
();
$
(
".mask"
).
show
();
}
//
if('{$popType}'==2){$('#pop2').show();$(".mask").show(); }
//
if('{$popType}'==3){
//
var text=$('#pop3').children('.result-msg-s').text();
//
text=text.replace(/【】/, "【{$popPkUserName}】");
//
$('#pop3').children('.result-msg-s').text(text);
//
$('#pop3').show();
//
$(".mask").show();
//
}
//
if('{$popType}'==4){
//
var text=$('#pop4').children('.result-msg-s').text();
//
text=text.replace(/【】/, "【{$popPkUserName}】");
//
$('#pop4').children('.result-msg-s').text(text);
//
$('#pop4').show();
//
$(".mask").show();
//
}
//点击年度精英赛的月份后请求后台
$
(
'.select1'
).
click
(
function
(){
...
...
@@ -328,6 +356,14 @@
if
(
'{$_GET.clickFlag}'
==
1
){
$
(
"#baoming"
).
click
();
}
//跳转
var
denglu
=
$
.
cookie
(
'denglu'
);
if
(
denglu
!=
''
&&
denglu
!=
null
){
$
.
cookie
(
'denglu'
,
''
);
location
.
href
=
denglu
;
}
});
...
...
@@ -335,4 +371,4 @@
</html>
<script
type=
"text/javascript"
src=
"__PUBLIC__/js/popad_mini_pk.js{$Think.config.js_version}"
></script>
<!--userId:{$user.userID}-userName:{$user.userName}-
popType:{$popType}-
->
<!--userId:{$user.userID}-userName:{$user.userName}-->
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