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
e2be287e
Commit
e2be287e
authored
Apr 18, 2023
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录修改
parent
09fac69c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
pk.js
Public/js/pk.js
+9
-3
myInvite.html
app/Tpl/Vip/Index/myInvite.html
+4
-0
No files found.
Public/js/pk.js
View file @
e2be287e
...
...
@@ -86,7 +86,10 @@ function submitBaoming(userType,tradeUrl){
if
(
data
.
status
==
1
){
if
(
data
.
canLogin
==
1
){
layer
.
alert
(
'登录成功'
,
1
,
function
(){
location
.
reload
();});
layer
.
alert
(
'登录成功'
,
1
,
function
(){
// location.reload();
location
.
href
=
'/Index/myInvite?pop=1'
;
});
}
else
{
$
(
'#baoming'
).
text
(
'进入交易'
);
$
(
'#pop1'
).
hide
();
...
...
@@ -97,10 +100,13 @@ function submitBaoming(userType,tradeUrl){
if
(
data
.
joinStatus
==
1
){
//邀请页面过来的
if
(
tradeUrl
==
''
){
window
.
location
.
reload
();
// window.location.reload();
location
.
href
=
'/Index/myInvite?pop=1'
;
}
else
{
//因登录窗重用,不出现下面的弹窗了
layer
.
alert
(
'登录成功'
,
1
,
function
(){
location
.
reload
();});
layer
.
alert
(
'登录成功'
,
1
,
function
(){
location
.
reload
();
});
return
;
var
index
=
$
.
layer
({
type
:
1
,
title
:
' '
,
border
:
[
5
,
0.5
,
'#666'
],
btns
:
2
,
btn
:
[
'关闭'
,
'去交易'
],
...
...
app/Tpl/Vip/Index/myInvite.html
View file @
e2be287e
...
...
@@ -155,6 +155,10 @@ $(function(){
$
(
'#closeSucc'
).
click
(
function
(){
location
.
reload
();
});
if
(
'{$_GET.pop}'
==
1
){
$
(
".mask"
).
show
();
$
(
"#pop2weima"
).
show
();
}
})
</script>
...
...
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