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
be5d3f54
Commit
be5d3f54
authored
Mar 30, 2023
by
wangjing
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
a1138e54
364621c0
Changes
19
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
900 additions
and
317 deletions
+900
-317
cofool004.jpg
Public/Home/images/2023ewm/cofool004.jpg
+0
-0
vipDs.jpg
Public/Home/images/2023ewm/vipDs.jpg
+0
-0
zhongjinDs.jpg
Public/Home/images/g2020/2023ewm/zhongjinDs.jpg
+0
-0
header-shareG.png
Public/Home/images/group/header-shareG.png
+0
-0
cofool-kf202107.gif
Public/images/2023ewm/cofool-kf202107.gif
+0
-0
lottery.js
Public/js/lottery.js
+6
-1
config.php
app/Conf/config.php
+1
-0
IndexAction.class.php
app/Lib/Action/Vip/IndexAction.class.php
+39
-48
PkTopAction.class.php
app/Lib/Action/Vip/PkTopAction.class.php
+25
-45
NiuModel.class.php
app/Lib/Model/NiuModel.class.php
+5
-172
footer.html
app/Tpl/Vip/Index/footer.html
+3
-3
index.html
app/Tpl/Vip/Index/index.html
+2
-2
lucky.html
app/Tpl/Vip/Index/lucky.html
+3
-3
pop.html
app/Tpl/Vip/Index/pop.html
+5
-36
resetBalance.html
app/Tpl/Vip/Index/resetBalance.html
+21
-2
choujiang.html
app/Tpl/Vip/PkTop/choujiang.html
+1
-1
index.html
app/Tpl/Vip/PkTop/index.html
+10
-2
jiangxiang.html
app/Tpl/Vip/PkTop/jiangxiang.html
+777
-0
pop.html
app/Tpl/Vip/PkTop/pop.html
+2
-2
No files found.
Public/Home/images/2023ewm/cofool004.jpg
0 → 100644
View file @
be5d3f54
39.7 KB
Public/Home/images/2023ewm/vipDs.jpg
0 → 100644
View file @
be5d3f54
63.8 KB
Public/Home/images/g2020/2023ewm/zhongjinDs.jpg
0 → 100644
View file @
be5d3f54
63.8 KB
Public/Home/images/group/header-shareG.png
0 → 100644
View file @
be5d3f54
453 Bytes
Public/images/2023ewm/cofool-kf202107.gif
0 → 100644
View file @
be5d3f54
39.8 KB
Public/js/lottery.js
View file @
be5d3f54
...
...
@@ -93,7 +93,12 @@ $(function() {
$
(
"#lottery .btn"
).
on
(
'click'
,
function
(
event
)
{
$
.
get
(
"/Index/checkLucky"
,
{},
function
(
data
)
{
if
(
data
.
status
==
0
)
{
//未登录
if
(
data
.
status
==
2
)
{
$
(
".mask"
).
show
();
$
(
"#pop1"
).
show
();
}
else
if
(
data
.
status
==
0
)
{
layer
.
msg
(
data
.
info
);
}
else
{
event
.
preventDefault
();
...
...
app/Conf/config.php
View file @
be5d3f54
...
...
@@ -43,6 +43,7 @@ define('NIU_SAN_ID',24326);
define
(
'NIU_BAI_ID'
,
24327
);
define
(
'HUAXI_ID'
,
24328
);
define
(
'GUOYUAN_ID'
,
24329
);
define
(
'ZHONGXIN_ID'
,
24371
);
return
array
(
'LOG_RECORD'
=>
true
,
// 默认不记录日志
...
...
app/Lib/Action/Vip/IndexAction.class.php
View file @
be5d3f54
...
...
@@ -10,10 +10,33 @@ class IndexAction extends IdentityAction {
'2021-07'
=>
'2021年7月'
,
'2021-06'
=>
'2021年6月'
,
'2021-05'
=>
'2021年5月'
,
'2021-04'
=>
'2021年4月'
];
public
$STATUS_TXT
=
[
'1'
=>
'未开赛'
,
'2'
=>
'进行中'
,
'3'
=>
'已结束'
];
public
function
_initialize
()
{
parent
::
_initialize
();
//手机访问跳转到m站对应的页面
if
(
isMobileRequest
()){
$uriArray
=
parse_url
(
$_SERVER
[
'REQUEST_URI'
]);
$query
=
$uriArray
[
'query'
];
if
(
ACTION_NAME
==
'index'
){
header
(
'location:'
.
M_URL
.
'/Match/jiang?1=1&'
.
$query
);
}
if
(
ACTION_NAME
==
'win'
||
ACTION_NAME
==
'rule'
){
header
(
'location:/PkTop?viewPage=1&'
.
$query
);
}
if
(
ACTION_NAME
==
'lucky'
){
header
(
'location:/PkTop?viewPage=2&'
.
$query
);
}
if
(
ACTION_NAME
==
'phb'
){
header
(
'location:/PkTop?viewPage=3&'
.
$query
);
}
if
(
ACTION_NAME
==
'moreDs'
){
header
(
'location:/PkTop?viewPage=4&'
.
$query
);
}
}
}
public
function
index
(){
$gid
=
I
(
'gid'
,
$this
->
GID
);
$this
->
jumpToM
(
1
,
$gid
);
//
$this->jumpToM(1,$gid);
$userId
=
$this
->
user
[
'userID'
];
//名人堂数据的决赛名单,包括pk胜利者和月赛前10名者
...
...
@@ -262,8 +285,11 @@ class IndexAction extends IdentityAction {
//页面输入的用户名改成昵称
$userName
=
randUsername
(
'股神'
,
$mobile
);
$uc
=
uc_user_register
([
'userName'
=>
$userName
,
'password'
=>
$password
,
'ip'
=>
get_client_ip
(),
'mobile'
=>
$mobile
,
'mobile_status'
=>
1
,
'sourse'
=>
'www'
,
'nick'
=>
$nick
]);
$regData
=
[
'userName'
=>
$userName
,
'password'
=>
$password
,
'ip'
=>
get_client_ip
(),
'mobile'
=>
$mobile
,
'mobile_status'
=>
1
,
'psourse'
=>
'www'
,
'sourse'
=>
'zcguanfang'
,
'nick'
=>
$nick
];
$regData
[
'sourse'
]
=
$inviterId
?
'zcyaoqing'
:
'zcguanfang'
;
$uc
=
uc_user_register
(
$regData
);
// var_dump($uc);exit;
//status0是注册成功
if
(
$uc
[
'status'
])
{
...
...
@@ -358,21 +384,24 @@ class IndexAction extends IdentityAction {
$uc
=
uc_get_user
([
'token'
=>
$mobile
]);
$ucData
=
$uc
[
'data'
];
// var_dump($uc
Data
);exit;
// var_dump($uc);exit;
//没有该用户,开始注册,status0有该用户,111表示用户不存在
if
(
$uc
[
'status'
]
==
111
){
//页面输入的用户名改成昵称
$userName
=
randUsername
(
'股神'
,
$mobile
);
// $password = substr(md5($username), 18);
$password
=
$password
?
$password
:
substr
(
md5
(
$userName
),
18
);
//检查用户输入的用户名是否存在
// $result = uc_user_checkname($userName);
// //用户名已存在
// if($result['status']==122){
// $this->ajaxReturn(array('status' => 0, 'info' => '该用户名已存在,请更换!'));
// }
$regData
=
[
'userName'
=>
$userName
,
'password'
=>
$password
,
'ip'
=>
get_client_ip
(),
'mobile'
=>
$mobile
,
'mobile_status'
=>
1
,
'psourse'
=>
'www'
,
'nick'
=>
$nick
];
$regData
[
'sourse'
]
=
$inviterId
?
'zcyaoqing'
:
'zcguanfang'
;
$uc
=
uc_user_register
([
'userName'
=>
$userName
,
'password'
=>
$password
,
'ip'
=>
get_client_ip
(),
'mobile'
=>
$mobile
,
'mobile_status'
=>
1
,
'sourse'
=>
'www'
,
'nick'
=>
$nick
]);
$uc
=
uc_user_register
(
$regData
);
// var_dump($uc);exit;
//status0是注册成功
if
(
$uc
[
'status'
])
{
...
...
@@ -1032,7 +1061,7 @@ class IndexAction extends IdentityAction {
}
}
$key
=
md5
(
'user_id='
.
$userId
.
'abcd4321'
);
$shareUrl
=
rtrim
(
C
(
'M_URL'
),
'/'
)
.
'/PkTop/
myInvite?cfrom=pcInvitation&user_i
d='
.
$userId
.
'&key='
.
$key
;
$shareUrl
=
rtrim
(
C
(
'M_URL'
),
'/'
)
.
'/PkTop/
index?cfrom=pcInvitation&inviterI
d='
.
$userId
.
'&key='
.
$key
;
$copyUrl
=
C
(
'VIP_URL'
)
.
'?cfrom=pcInvitation&inviterId='
.
$userId
;
$return
=
array
(
'guests'
=>
$guests
,
'guestNum'
=>
count
(
$guests
),
'shareUrl'
=>
$shareUrl
,
'copyUrl'
=>
$copyUrl
);
...
...
@@ -1106,7 +1135,7 @@ class IndexAction extends IdentityAction {
public
function
checkLucky
()
{
$userId
=
$this
->
user
[
'userID'
];
if
(
$userId
==
0
){
$this
->
ajaxReturn
([
'status'
=>
0
,
'info'
=>
'请登录后再操作'
]);
$this
->
ajaxReturn
([
'status'
=>
2
,
'info'
=>
'请登录后再操作'
]);
}
//每个月1--7号可以抽奖
if
(
date
(
'd'
)
>
7
){
...
...
@@ -1187,46 +1216,8 @@ class IndexAction extends IdentityAction {
}
}
// public function bmOtherGroup(){
// $userId = $this->user['userID'];
// $userName = $this->user['userName'];
// $mobile = I('mobile', '');
// $smsCode = I('smsCode', '');
// $gid =I('gid');
//
// if($gid==ZHONGJIN_GROUP){
// $this->joinZj();
// }
// if(in_array($gid,[M2M_GROUP,NIU_BAI_ID,NIU_SAN_ID,NIU_STRONG_ID])){
// $res=D('Niu')->joinNiu($mobile,$smsCode,$userId,$userName,$gid);
// }
// $this->ajaxReturn($res);
// }
//加入中金赛
// public function joinZj(){
// $groupId=ZHONGJIN_GROUP;
// $code_type = 38;
// //报名大赛
// $mobile = I('mobile', '');
// $smsCode = I('smsCode', '');
// $kaihuSource = I('kaihuSource', '');
// $kaihuSource=$kaihuSource?$kaihuSource:cookie('kaihuSource');
//
// //通过输入手机号报名,userId变为空
//// $userId=$mobile?0:$this->user['userID'];
// $userId=$this->user['userID'];
// $res=D('Niu')->joinZjBefore($mobile,$smsCode,$userId);
// if ($res['status']==2) {
// $this->ajaxReturn(['status' =>2, 'info' =>$res['info']]);
// }
// cookie('kaihuSource',$kaihuSource);
//
// $res=D('Niu')->joinZj($mobile,$userId,$kaihuSource);
//
// $info='您提交的信息正在审核,通过后将以短信方式通知您';
// $this->ajaxReturn(['status' => 1, 'joinStatus' =>$res[0],'userId'=>$userId,'debug'=>$res[1],'info'=>$info]);
// }
}
...
...
app/Lib/Action/Vip/PkTopAction.class.php
View file @
be5d3f54
...
...
@@ -15,8 +15,13 @@ class PkTopAction extends IdentityAction{
//首页
public
function
index
()
{
public
function
index
()
{
if
(
!
I
(
'viewPage'
)){
header
(
'location:'
.
M_URL
.
'/Match/jiang'
);
exit
;
}
$userIdParam
=
I
(
'user_id'
,
''
,
intval
);
$isapp
=
I
(
'isapp'
);
if
(
$isapp
)
{
...
...
@@ -393,7 +398,7 @@ class PkTopAction extends IdentityAction{
$ucUser
=
uc_get_user
([
'token'
=>
$mobile
]);
//没有该用户,开始注册,status0有该用户,111表示用户不存在
if
(
$ucUser
[
'status'
]
==
111
){
$ucData
=
$this
->
reg2020
(
$mobile
);
$ucData
=
$this
->
reg2020
(
$mobile
,
$inviterId
);
}
else
{
$ucData
=
$ucUser
[
'data'
];
}
...
...
@@ -418,6 +423,9 @@ class PkTopAction extends IdentityAction{
}
else
{
$userId
=
$this
->
user
[
'userID'
];
}
if
(
!
$userId
){
$this
->
ajaxReturn
([
'status'
=>
0
,
'info'
=>
'请登录!'
]);
}
$uc
=
uc_get_user
(
array
(
'userId'
=>
$userId
));
$ucData
=
$uc
[
'data'
];
...
...
@@ -506,11 +514,14 @@ class PkTopAction extends IdentityAction{
}
public
function
reg2020
(
$mobile
){
public
function
reg2020
(
$mobile
,
$inviterId
){
$username
=
randUsername
(
'股神'
,
$mobile
);
$password
=
substr
(
md5
(
$username
),
18
);
$uc
=
uc_user_register
(
array
(
'userName'
=>
$username
,
'password'
=>
$password
,
'ip'
=>
get_client_ip
(),
'inviteFrom'
=>
'web'
,
'mobile'
=>
$mobile
,
'mobile_status'
=>
1
,
'sourse'
=>
'3g'
));
$regData
=
[
'userName'
=>
$username
,
'password'
=>
$password
,
'ip'
=>
get_client_ip
(),
'inviteFrom'
=>
'web'
,
'mobile'
=>
$mobile
,
'mobile_status'
=>
1
,
'psourse'
=>
'm'
];
$regData
[
'sourse'
]
=
$inviterId
?
'zcyaoqing'
:
'zcguanfang'
;
$uc
=
uc_user_register
(
$regData
);
// var_dump($uc);exit;
//status0是注册成功
if
(
$uc
[
'status'
])
{
...
...
@@ -933,7 +944,7 @@ class PkTopAction extends IdentityAction{
public
function
setShare
(
$userId
,
$cfrom
=
0
)
{
//app内的分享,参数名不能改
$shareTitle
=
'您的好友邀请您参加「全民炼股」争霸赛'
;
$shareDesc
=
'红包周周有,万元大奖月月送
,精英还可赢PK奖
'
;
$shareDesc
=
'红包周周有,万元大奖月月送'
;
$shareUrl
=
M_URL
.
"/PkTop?inviterId="
.
$userId
.
'&cfrom='
.
$cfrom
;
$appShareInfo
[
'shareTitle'
]
=
$shareTitle
;
$appShareInfo
[
'shareContent'
]
=
$shareDesc
;
...
...
@@ -948,6 +959,13 @@ class PkTopAction extends IdentityAction{
//定义在微信分享的显示
$signPackage
=
D
(
'Share'
)
->
getSignPackage
();
$this
->
assign
(
'signPackage'
,
$signPackage
);
$appParam
[
'url'
]
=
$shareUrl
;
$appParam
[
'name'
]
=
$shareTitle
;
$appParam
[
'introduction'
]
=
$shareDesc
;
;
$this
->
assign
(
'appParam'
,
json_encode
(
$appParam
));
return
$appShareInfo
;
}
//提现页面
...
...
@@ -1183,46 +1201,8 @@ class PkTopAction extends IdentityAction{
return
1
;
}
public
function
bmOtherGroup
(){
$userId
=
$this
->
user
[
'userID'
];
$userName
=
$this
->
user
[
'userName'
];
$mobile
=
I
(
'mobile'
,
''
);
$smsCode
=
I
(
'smsCode'
,
''
);
$gid
=
I
(
'gid'
);
if
(
$gid
==
ZHONGJIN_GROUP
){
$this
->
joinZj
();
}
// if($gid==PRIZE_GROUP_2021){
// $return=D('Niu')->joinVip($loginInfo,$mobile,$smsCode,$gid);
// }
if
(
in_array
(
$gid
,[
M2M_GROUP
,
NIU_BAI_ID
,
NIU_SAN_ID
,
NIU_STRONG_ID
])){
$return
=
D
(
'Niu'
)
->
joinNiu
(
$mobile
,
$smsCode
,
$userId
,
$userName
,
$gid
);
$this
->
ajaxReturn
(
$return
);
}
// $this->ajaxReturn($res);
}
//加入大赛
public
function
joinZj
(
$gid
=
ZHONGJIN_GROUP
){
$code_type
=
38
;
$mfrom
=
I
(
'mfrom'
,
0
);
$userId
=
$this
->
user
[
'userID'
];
//报名大赛
$mobile
=
I
(
'mobile'
,
''
);
$smsCode
=
I
(
'smsCode'
,
''
);
$kaihuSource
=
I
(
'kaihuSource'
,
''
);
$kaihuSource
=
$kaihuSource
?
$kaihuSource
:
cookie
(
'kaihuSource'
);
$res
=
D
(
'Niu'
)
->
joinZjBefore
(
$mobile
,
$smsCode
,
$userId
);
if
(
$res
[
'status'
]
==
2
)
{
$this
->
ajaxReturn
([
'status'
=>
2
,
'info'
=>
$res
[
'info'
]]);
}
$res
=
D
(
'Niu'
)
->
joinZj
(
$mobile
,
$userId
,
$kaihuSource
);
$info
=
'您提交的信息正在审核,通过后将以短信方式通知您'
;
$this
->
ajaxReturn
([
'status'
=>
1
,
'joinStatus'
=>
$res
[
0
],
'userId'
=>
$userId
,
'debug'
=>
$res
[
0
],
'info'
=>
$info
]);
}
public
function
dianjiLog
(){
$gid
=
$this
->
GID
;
...
...
app/Lib/Model/NiuModel.class.php
View file @
be5d3f54
This diff is collapsed.
Click to expand it.
app/Tpl/Vip/Index/footer.html
View file @
be5d3f54
...
...
@@ -24,9 +24,9 @@ footer 开始
<a
href=
"{:WWW_URL}/Zjds"
target=
"_blank"
>
<img
style=
"width: 74%"
src=
"__PUBLIC__/images/2022/contest-left1-1.png"
alt=
""
/>
</a>
<
a
href=
"{:M_URL}/Huaxi"
target=
"_blank"
>
<
img
style=
"width: 74%"
src=
"__PUBLIC__/images/2022/contest-left2-2.png"
alt=
""
/
>
<
/a
>
<
!--<a href="{:M_URL}/Huaxi" target="_blank">--
>
<
!--<img style="width: 74%" src="__PUBLIC__/images/2022/contest-left2-2.png" alt=""/>--
>
<
!--</a>--
>
<a
href=
"/"
target=
"_blank"
>
<img
style=
"width: 74%"
src=
"__PUBLIC__/images/2022/contest-left3-1.png"
alt=
""
/>
</a>
...
...
app/Tpl/Vip/Index/index.html
View file @
be5d3f54
...
...
@@ -172,7 +172,7 @@
</div>
<div
class=
"code-cont2"
>
<div
class=
"code"
>
<img
src=
"__PUBLIC__/Home/images/
g2020/2023ewm/zhongjinDs.gif
"
alt=
""
>
<img
src=
"__PUBLIC__/Home/images/
2023ewm/vipDs.jpg
"
alt=
""
>
<p
class=
"save-msg"
>
打开微信扫一扫,识别二维码
</p>
<p
class=
"save-code"
>
微信号:{$weixin}
</p>
</div>
...
...
@@ -217,7 +217,7 @@
<!--<?php $weixin___=['cofool123'];$weixin___=$weixin[rand(0,0)];?>-->
<!--<img id="code" src="{$Think.const.IMAGE_URL}/uploads/camps/weixin/{$weixin}.jpg" alt="" style="display: inline;">-->
<img
id=
"code"
src=
"
{$Think.const.IMAGE_URL}/2023ewm/vipDs.gif
"
alt=
""
style=
"display: inline;"
>
<img
id=
"code"
src=
"
__PUBLIC__/Home/images/2023ewm/vipDs.jpg
"
alt=
""
style=
"display: inline;"
>
<!--<label style="margin-top: 77px;position: absolute;margin-left: 33px;">叩富历届模拟炒股有奖大赛:</label>-->
<!--<a href='http://vip2015.jiantou8.com' target="_blank"-->
...
...
app/Tpl/Vip/Index/lucky.html
View file @
be5d3f54
...
...
@@ -15,7 +15,7 @@
<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/clipboard.min.js"
></script>
<script
type=
"text/javascript"
src=
"__PUBLIC__/js/lottery.js"
></script>
<script
type=
"text/javascript"
src=
"__PUBLIC__/js/lottery.js
?_=2356
"
></script>
<script
type=
"text/javascript"
src=
"__PUBLIC__/js/pk.js{$Think.config.js_version}3232"
></script>
</head>
...
...
@@ -80,7 +80,7 @@
<!--<p class="msg-code">打开微信,扫一扫添加好友</p>-->
<!--<p class="msg-code">大赛管理员微信:<span class="red">{$weixin}</span></p>-->
<img
class=
"code"
src=
"__PUBLIC__/Home/images/2023ewm/vipDs.
gif
"
alt=
""
>
<img
class=
"code"
src=
"__PUBLIC__/Home/images/2023ewm/vipDs.
jpg
"
alt=
""
>
<p
class=
"msg-code"
>
打开微信,扫一扫添加大赛管理员企业微信
</p>
</div>
...
...
@@ -175,7 +175,7 @@
<img
class=
"bg"
src=
"__PUBLIC__/images/h5/g2020/open-code-blockBg.png"
alt=
""
>
<div
class=
"code-cont"
style=
"left:46%;"
>
<!--<img class="code" src="__PUBLIC__/Home/images/g2020/{$weixin}.jpg" alt="">-->
<img
class=
"code"
src=
"__PUBLIC__/Home/images/2023ewm/vipDs.
gif
"
alt=
""
>
<img
class=
"code"
src=
"__PUBLIC__/Home/images/2023ewm/vipDs.
jpg
"
alt=
""
>
<!--<p class="msg-code">打开微信,扫一扫添加好友</p>-->
<!--<p class="msg-code">大赛管理员微信:<span class="red">{$weixin}</span></p>-->
...
...
app/Tpl/Vip/Index/pop.html
View file @
be5d3f54
<div
class=
"submit-info-pop pops web-pop"
style=
"display: none;"
id=
"pop1"
targetUrl=
""
>
<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"
>
<!--报名成功-->
...
...
@@ -51,7 +51,7 @@
<!--<p class="code-img"><img src="{$Think.const.IMAGE_URL}/uploads/camps/weixin/{$weixin}.jpg" alt=""></p>-->
<!--<p class="pop-sub1">复制微信号-打开微信-通讯录-添加好友</p>-->
<p
class=
"code-img"
><img
src=
"__PUBLIC__/Home/images/2023ewm/vipDs.
gif
"
alt=
""
></p>
<p
class=
"code-img"
><img
src=
"__PUBLIC__/Home/images/2023ewm/vipDs.
jpg
"
alt=
""
></p>
<p
class=
"pop-sub1"
>
打开微信,扫一扫添加大赛管理员企业微信
</p>
<!--<p class="main-msg-code" style="text-align:center">学习顾问微信:<span class="red">{$weixin}</span>-->
...
...
@@ -140,40 +140,9 @@
});
});
//加入其他的大赛
// $(".bmOtherGroupStep1__").click(function () {
// var gid=$(this).attr("gid");
// if('{$user.userID}'==''){
// $(".mask").show();
// $("#popBase").show();
// $(".bmOtherGroupStep2").attr('gid',gid);
// }else{
// $.post("/Index/bmOtherGroup",{gid:gid},function(data){
// if(data.status == 1){
// layer.alert(data.info, 1, function(){layer.close(location.reload());});
// }else{
// layer.alert(data.info, 8);
// return false;
// }
// });
// }
// });
//输入手机号,验证码后点击报名按钮
// $(".bmOtherGroupStep2").click(function () {
// var mobile=$(".base1").val();
// if(mobile==''){layer.msg('请输入手机号');return;}
// var smsCode=$(".base2").val();
// if(smsCode==''){layer.msg('请输入验证码');return;}
// $.post("/Index/bmOtherGroup",{mobile:mobile,smsCode:smsCode,gid:$(this).attr("gid")},function(data){
// if(data.status == 1){
// layer.alert(data.info, 1, function(){layer.close(location.reload());});
// }else{
// layer.alert(data.info, 8);
// return false;
// }
// });
// });
var
clipboard
=
new
Clipboard
(
'.copyBtn'
);
clipboard
.
on
(
'success'
,
function
(
e
)
{
layer
.
msg
(
'复制链接成功'
,
1
,
1
);});
...
...
app/Tpl/Vip/Index/resetBalance.html
View file @
be5d3f54
...
...
@@ -14,6 +14,8 @@
<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/clipboard.min.js"
></script>
<script
type=
"text/javascript"
src=
"__PUBLIC__/js/pk.js{$Think.config.js_version}323233"
></script>
</head>
<body
class=
"redBg"
>
...
...
@@ -34,7 +36,8 @@
</div>
<div
class=
"contact-d"
>
<p
class=
"zhu-tip"
>
如有问题可联系客服:
</p>
<img
src=
"__PUBLIC__/images/h5/g2020/kfcg-code.png"
alt=
""
>
<!--<img src="__PUBLIC__/images/h5/g2020/kfcg-code.png" alt="">-->
<img
src=
"__PUBLIC__/Home/images/2023ewm/cofool004.jpg"
alt=
""
>
<p
class=
"contact-d-sao"
>
扫一扫添加客服微信
</p>
</div>
</div>
...
...
@@ -54,13 +57,29 @@
<script>
$
(
function
()
{
baoming
(
'{$user.userID}'
,
'{$Think.config.WWW_URL}'
);
var
userType
=
0
;
//点购买按钮
$
(
".buy-card"
).
click
(
function
()
{
location
.
href
=
'{$Think.config.WWW_URL}Lesson/pay2?type=reset'
;
if
(
'{$user.userID}'
==
''
){
$
(
".mask"
).
show
();
$
(
"#pop1"
).
show
();
}
else
{
location
.
href
=
'{$Think.config.WWW_URL}Lesson/pay2?type=reset'
;
}
});
$
(
".t-pop-close,.pop-close,.mask"
).
click
(
function
()
{
if
(
$
(
this
).
attr
(
'refresh'
)
==
1
){
location
.
reload
();
}
else
{
$
(
".mask"
).
hide
();
$
(
this
).
parents
(
'.pops'
).
hide
();
}
});
//进入交易
$
(
'.pk-cont-info'
).
click
(
function
(){
location
.
href
=
"{$Think.config.WWW_URL}/Trade/Stock/index/gid/{$Think.config.PRIZE_GROUP_2021}"
;
...
...
app/Tpl/Vip/PkTop/choujiang.html
View file @
be5d3f54
...
...
@@ -51,7 +51,7 @@
<!--<img class="code" src="__PUBLIC__/Home/images/g2020/koufuchaogu.jpg" alt="">-->
管理员企微号可截图保存添加
<img
class=
"code"
src=
"
{$Think.const.IMAGE_URL}/2023ewm/vipDs.gif
"
alt=
""
>
<img
class=
"code"
src=
"
__PUBLIC__/Home/images/2023ewm/vipDs.jpg
"
alt=
""
>
<!--<p class="msg-code">保存截图,微信扫一扫</p>-->
</div>
...
...
app/Tpl/Vip/PkTop/index.html
View file @
be5d3f54
...
...
@@ -28,6 +28,14 @@
.layui-m-layerbtn
span
[
yes
]
{
color
:
#b40000
;}
.layui-m-layerbtn
span
[
no
]
{
color
:
#b40000
;}
.layui-m-layerbtn
span
:first-child
{
color
:
#b40000
;}
.header-share
{
width
:
40px
;
height
:
48px
;
display
:
block
;
background
:
url('__PUBLIC__/Home/images/group/header-shareG.png')
no-repeat
;
background-size
:
20px
20px
;
background-position
:
0px
14px
;
line-height
:
100%
;
position
:
absolute
;
right
:
0px
;
top
:
0px
;
margin-right
:
-8px
;
}
</style>
<script
type=
"text/javascript"
>
AppBridge
.
init
();
...
...
@@ -133,7 +141,7 @@
</div>
<div
class=
"code-cont2"
>
<div
class=
"code"
>
<img
src=
"__PUBLIC__/Home/images/g2020/2023ewm/zhongjinDs.
gif
"
alt=
""
>
<img
src=
"__PUBLIC__/Home/images/g2020/2023ewm/zhongjinDs.
jpg
"
alt=
""
>
<p
class=
"save-msg"
>
保存截图,使用微信扫一扫
</p>
<p
class=
"save-code"
>
微信号:{$weixin}
</p>
<button
class=
"copy-code-btna copbtn copyWx"
data-clipboard-action=
"copy"
data-clipboard-text=
"{$weixin}"
>
复制微信
</button>
...
...
@@ -182,7 +190,7 @@
<!--<button class="recognition-code copybtn" data-clipboard-action="copy" data-clipboard-text="{$weixin}">复制微信</button>-->
<span
style=
"color: #C60000;"
>
管理员企微号可截图保存添加
</span>
<img
src=
"
{$Think.const.IMAGE_URL}/2023ewm/vipDs.gif
"
alt=
""
style=
"width: 49%;margin-top: 11px;"
>
<img
src=
"
__PUBLIC__/Home/images/2023ewm/vipDs.jpg
"
alt=
""
style=
"width: 49%;margin-top: 11px;"
>
</p>
<!--<p class="contact-n f12">注:复制微信-打开微信-添加好友-粘贴</p>-->
...
...
app/Tpl/Vip/PkTop/jiangxiang.html
0 → 100644
View file @
be5d3f54
This diff is collapsed.
Click to expand it.
app/Tpl/Vip/PkTop/pop.html
View file @
be5d3f54
...
...
@@ -25,7 +25,7 @@
<p
class=
"main-msg-i"
style=
"color: initial;"
>
恭喜成功报名
</p>
<p
class=
"main-msg-i1"
style=
"color: #ff2336;font-weight: bold;font-size: 18px;"
>
加微信免费领取参赛权益
<br>
扫码进大赛高手交流群
</p>
<!--<p class="code-img"><img src="{$Think.const.IMAGE_URL}/uploads/camps/weixin/{$weixin}.jpg" alt=""></p>-->
<p
class=
"code-img"
><img
src=
"
{$Think.const.IMAGE_URL}/2023ewm/vipDs.gif
"
alt=
""
></p>
<p
class=
"code-img"
><img
src=
"
__PUBLIC__/Home/images/2023ewm/vipDs.jpg
"
alt=
""
></p>
<p
class=
"main-msg-code"
style=
"text-align:center;font-size: 13px;"
>
<!--大赛管理微信号:<span class="red">{$weixin}</span>-->
...
...
@@ -58,7 +58,7 @@
<!--复制微信</button>-->
<!--</p>-->
<p
class=
"code-img"
><img
src=
"
{$Think.const.IMAGE_URL}/2023ewm/vipDs.gif
"
alt=
""
></p>
<p
class=
"code-img"
><img
src=
"
__PUBLIC__/Home/images/2023ewm/vipDs.jpg
"
alt=
""
></p>
<p
class=
"main-msg-code"
style=
"text-align:center;font-size: 13px;margin-left:-2px;"
>
管理员企微号可截图保存添加
<br>
<button
class=
"jumpWx"
weixinUrl=
"{$weixinUrl}"
style=
"border: 0px;font-size: 14px;background-color: #ff2336;color: #ffffff;width: 76%;border-radius: 12px;margin-left: 8px;height: 33px;margin-top: 8px;"
>
...
...
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