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
ec71d990
Commit
ec71d990
authored
Nov 24, 2022
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更多大赛
parent
7039b93d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
37 deletions
+37
-37
pop.html
app/Tpl/Vip/PkTop/pop.html
+37
-37
No files found.
app/Tpl/Vip/PkTop/pop.html
View file @
ec71d990
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<input
class=
"code-input base2"
placeholder=
"请输入短信验证码"
maxlength=
"6"
>
<input
class=
"code-input base2"
placeholder=
"请输入短信验证码"
maxlength=
"6"
>
<span
class=
"part-line"
>
|
</span><input
type=
"button"
class=
"code-btn"
value=
"获取验证码"
>
<span
class=
"part-line"
>
|
</span><input
type=
"button"
class=
"code-btn"
value=
"获取验证码"
>
</div>
</div>
<input
class=
"form-info-btn bmOtherGroupStep2"
type=
"button"
value=
"立即报名"
>
<input
class=
"form-info-btn bmOtherGroupStep2
__
"
type=
"button"
value=
"立即报名"
>
</div>
</div>
</div>
</div>
...
@@ -101,42 +101,42 @@
...
@@ -101,42 +101,42 @@
<script>
<script>
var
mfrom
=
isAPP
();
var
mfrom
=
isAPP
();
//加入其他的大赛
//加入其他的大赛
$
(
".bmOtherGroupStep1"
).
click
(
function
()
{
//
$(".bmOtherGroupStep1").click(function () {
var
gid
=
$
(
this
).
attr
(
"gid"
);
//
var gid=$(this).attr("gid");
if
(
'{$user.userID}'
==
''
){
//
if('{$user.userID}'==''){
if
(
mfrom
[
1
]
>
0
){
//
if(mfrom[1]>0){
AppBridge
.
goLogin
();
//
AppBridge.goLogin();
}
else
{
//
}else{
$
(
".bmOtherGroupStep2"
).
attr
(
'gid'
,
gid
);
//
$(".bmOtherGroupStep2").attr('gid',gid);
animPop
(
'#popBase'
);
//
animPop('#popBase');
}
//
}
}
else
{
//
}else{
$
.
post
(
"/PkTop/bmOtherGroup"
,{
gid
:
gid
},
function
(
data
){
//
$.post("/PkTop/bmOtherGroup",{gid:gid},function(data){
if
(
data
.
status
==
1
){
//
if(data.status == 1){
// layer.open({content: data.info,skin: 'msg',time: 2,end:function () {location.reload();}});
//
// layer.open({content: data.info,skin: 'msg',time: 2,end:function () {location.reload();}});
layer
.
open
({
content
:
data
.
info
,
skin
:
'msg'
,
time
:
2
},
8
);
//
layer.open({content:data.info,skin: 'msg',time: 2},8);
}
else
{
//
}else{
layer
.
open
({
content
:
data
.
info
,
skin
:
'msg'
,
time
:
2
},
8
);
//
layer.open({content:data.info,skin: 'msg',time: 2},8);
return
false
;
//
return false;
}
//
}
});
//
});
}
//
}
});
//
});
//输入手机号,验证码后点击报名按钮
//输入手机号,验证码后点击报名按钮
$
(
".bmOtherGroupStep2"
).
click
(
function
()
{
//
$(".bmOtherGroupStep2").click(function () {
var
mobile
=
$
(
".base1"
).
val
();
//
var mobile=$(".base1").val();
if
(
mobile
==
''
){
layer
.
open
({
content
:
"请输入手机号"
,
skin
:
'msg'
,
time
:
2
},
8
);
return
;}
//
if(mobile==''){layer.open({content:"请输入手机号",skin: 'msg',time: 2},8);return;}
var
smsCode
=
$
(
".base2"
).
val
();
//
var smsCode=$(".base2").val();
if
(
smsCode
==
''
){
layer
.
open
({
content
:
"请输入验证码"
,
skin
:
'msg'
,
time
:
2
},
8
);
return
;}
//
if(smsCode==''){layer.open({content:"请输入验证码",skin: 'msg',time: 2},8);return;}
$
.
post
(
"/PkTop/bmOtherGroup"
,{
mobile
:
mobile
,
smsCode
:
smsCode
,
gid
:
$
(
this
).
attr
(
"gid"
)},
function
(
data
){
//
$.post("/PkTop/bmOtherGroup",{mobile:mobile,smsCode:smsCode,gid:$(this).attr("gid")},function(data){
if
(
data
.
status
==
1
){
//
if(data.status == 1){
layer
.
open
({
content
:
data
.
info
,
skin
:
'msg'
,
time
:
2
,
end
:
function
()
{
location
.
reload
();}});
//
layer.open({content: data.info,skin: 'msg',time: 2,end:function () {location.reload();}});
//
}
else
{
//
}else{
layer
.
open
({
content
:
data
.
info
,
skin
:
'msg'
,
time
:
2
},
8
);
//
layer.open({content:data.info,skin: 'msg',time: 2},8);
return
false
;
//
return false;
}
//
}
});
//
});
});
//
});
</script>
</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