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
69bae24e
Commit
69bae24e
authored
Apr 16, 2024
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台加回复列表
parent
4742bf66
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
13 deletions
+50
-13
pk.js
Public/js/pk.js
+26
-12
config.php
app/Conf/config.php
+1
-1
saicheng.html
app/Tpl/Vip/Index/saicheng.html
+23
-0
No files found.
Public/js/pk.js
View file @
69bae24e
...
@@ -86,16 +86,25 @@ function submitBaoming(userType,tradeUrl){
...
@@ -86,16 +86,25 @@ function submitBaoming(userType,tradeUrl){
if
(
data
.
status
==
1
){
if
(
data
.
status
==
1
){
if
(
data
.
canLogin
==
1
){
if
(
data
.
canLogin
==
1
){
layer
.
alert
(
'登录成功'
,
1
,
function
(){
// layer.alert('登录成功', 1, function(){
// location.reload();
// if(tradeUrl==''){
// location.href='/Index/myInvite?pop=1';
// }else{
// $.cookie('denglu','/Index/saicheng');
// location.href='/Index/saicheng';
// }
// });
layer
.
msg
(
"登录成功!"
,
2
,
1
,
function
(){
if
(
tradeUrl
==
''
){
if
(
tradeUrl
==
''
){
location
.
href
=
'/Index/myInvite?pop=1'
;
location
.
href
=
'/Index/myInvite?pop=1'
;
}
else
{
}
else
{
$
.
cookie
(
'denglu'
,
'/Index/saicheng'
);
$
.
cookie
(
'denglu'
,
'/Index/saicheng'
);
location
.
href
=
'/Index/saicheng'
;
location
.
href
=
'/Index/saicheng'
;
}
}
});
});
}
else
{
}
else
{
$
(
'#baoming'
).
text
(
'进入交易'
);
$
(
'#baoming'
).
text
(
'进入交易'
);
$
(
'#pop1'
).
hide
();
$
(
'#pop1'
).
hide
();
...
@@ -110,11 +119,16 @@ function submitBaoming(userType,tradeUrl){
...
@@ -110,11 +119,16 @@ function submitBaoming(userType,tradeUrl){
location
.
href
=
'/Index/myInvite?pop=1'
;
location
.
href
=
'/Index/myInvite?pop=1'
;
}
else
{
}
else
{
//因登录窗重用,不出现下面的弹窗了
//因登录窗重用,不出现下面的弹窗了
layer
.
alert
(
'登录成功'
,
1
,
function
(){
// layer.alert('登录成功', 1, function(){
// $.cookie('denglu','/Index/saicheng');
// location.href='/Index/saicheng';
// });
layer
.
msg
(
"登录成功!"
,
2
,
1
,
function
(){
$
.
cookie
(
'denglu'
,
'/Index/saicheng'
);
$
.
cookie
(
'denglu'
,
'/Index/saicheng'
);
location
.
href
=
'/Index/saicheng'
;
location
.
href
=
'/Index/saicheng'
;
// location.reload();
});
});
return
;
return
;
var
index
=
$
.
layer
({
var
index
=
$
.
layer
({
type
:
1
,
title
:
' '
,
border
:
[
5
,
0.5
,
'#666'
],
btns
:
2
,
btn
:
[
'关闭'
,
'去交易'
],
type
:
1
,
title
:
' '
,
border
:
[
5
,
0.5
,
'#666'
],
btns
:
2
,
btn
:
[
'关闭'
,
'去交易'
],
...
...
app/Conf/config.php
View file @
69bae24e
...
@@ -169,7 +169,7 @@ return array(
...
@@ -169,7 +169,7 @@ return array(
'CD_URL'
=>
'http://cd.cofool.com/'
,
'CD_URL'
=>
'http://cd.cofool.com/'
,
'css_version'
=>
'?_=2wef112'
,
'css_version'
=>
'?_=2wef112'
,
'js_version'
=>
'?_=2
asdf
112'
,
'js_version'
=>
'?_=2112'
,
'ALIPAY'
=>
array
(
'ALIPAY'
=>
array
(
'app_id'
=>
'2021002176676106'
,
'app_id'
=>
'2021002176676106'
,
...
...
app/Tpl/Vip/Index/saicheng.html
View file @
69bae24e
...
@@ -216,6 +216,29 @@
...
@@ -216,6 +216,29 @@
</body>
</body>
<script>
<script>
// layer.alert(32);
// layer.alert(32, 8);
// layer.alert(32, -1);
// layer.alert('这是一个警告框', {closeBtn: 0});
// layer.confirm('请输入有效的11位手机号码');
// layer.open({content: '当前大赛未开始',skin: 'msg',time: 2});
// layer.msg('大部分参数都是可以公用的风格', {
// // time: 2000, //2s后自动关闭
// btn: ['明白了']
// });
// layer.msg('确认要变更状态吗?',{
// time:5000,
// shade:0.3,
// btn:['确认','取消'],
// yes:function() {
// //执行变更
//
// }
// });
//奖项及赛程1,PK挑战2,控制刷新后页面显示哪个标签
//奖项及赛程1,PK挑战2,控制刷新后页面显示哪个标签
var
view
=
1
;
var
view
=
1
;
var
userType
=
0
;
var
userType
=
0
;
...
...
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