Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
s_ibanshou
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋林
s_ibanshou
Commits
0adf0565
Commit
0adf0565
authored
Apr 27, 2018
by
wangjj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调用红包接口
parent
a8b53bb2
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
725 additions
and
31 deletions
+725
-31
indexloginstatus.php
e/member/login/indexloginstatus.php
+20
-27
index_dev.html
index_dev.html
+8
-4
index_prod.html
index_prod.html
+456
-0
index_test.html
index_test.html
+241
-0
No files found.
e/member/login/indexloginstatus.php
View file @
0adf0565
...
@@ -6,36 +6,29 @@ require(__DIR__ . "/../../class/q_functions.php");
...
@@ -6,36 +6,29 @@ require(__DIR__ . "/../../class/q_functions.php");
$iscas
=
getcvar
(
'mlcas'
);
$iscas
=
getcvar
(
'mlcas'
);
if
(
$iscas
)
{
if
(
$iscas
)
{
$link
=
db_connect
();
$link
=
db_connect
();
$empire
=
new
mysqlquery
();
$empire
=
new
mysqlquery
();
$user
=
islogin
();
$user
=
islogin
();
$ucid
=
$user
[
'ucid'
];
$ucid
=
$user
[
'ucid'
];
}
?>
<?php
$isShow
=
false
;
if
(
time
()
>
strtotime
(
'2018-05-01 00:00:00'
)
&&
time
()
<=
strtotime
(
'2018-05-10 23:59:59'
))
{
$isShow
=
true
;
}
}
?>
?>
<?php
if
(
!
$iscas
)
{
?>
<?php
if
(
!
$iscas
)
{
?>
$(function(){
$(function(){
<!-- $(".books").attr("href", "/e/member/login");-->
<!-- $(".books").attr("href", "/e/member/login");-->
<?php
if
(
$isShow
)
{
?>
<?php
if
(
time
()
>
1525104000
)
{
?>
showRedpack();$("#invite-main").attr("style", "display:block;");
showRedpack();
<?php
}
?>
$("#invite-main").attr("style", "display:block;");
$("#loginGits").attr("style", "display:block;");});
<?php
}
?>
<?php
}
else
{
?><?php
if
(
$isShow
)
{
?>
$("#loginGits").attr("style", "display:block;");
showRedpack("
<?=
$ucid
?>
");$("#invite-main").attr("style", "display:block;");
});
<?php
}
?>
<?php
}
else
{
?>
<?php
if
(
time
()
>
1525104000
)
{
?>
showRedpack("
<?=
$ucid
?>
");
$("#invite-main").attr("style", "display:block;");
<?php
}
?>
var zhugeCheckRunHandler = false;
var zhugeCheckRunHandler = false;function zhugeCheckRun(){if(!window.zhuge){zhugeCheckRunHandler = setTimeout(zhugeCheckRun,500);}else{clearTimeout(zhugeCheckRunHandler);window.zhuge.identify("
<?=
$ucid
?>
");}}zhugeCheckRun();
function zhugeCheckRun(){
if(!window.zhuge){
zhugeCheckRunHandler = setTimeout(zhugeCheckRun,500);
}else{
clearTimeout(zhugeCheckRunHandler);
window.zhuge.identify("
<?=
$ucid
?>
");
}
}
zhugeCheckRun();
<?php
}
?>
<?php
}
?>
bb
.html
→
index_dev
.html
View file @
0adf0565
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
</div>
</div>
<div
class=
"enter-img"
>
<div
class=
"enter-img"
>
<a
href=
"[!--temp.ucenterurl--]invite-redpack/index"
><img
src=
"/skin/default/images/enter.png"
></a>
<a
href=
"[!--temp.ucenterurl--]invite-redpack/index"
id=
"invite-redpack"
><img
src=
"/skin/default/images/enter.png"
></a>
</div>
</div>
<div
class=
"recommend-info"
>
<div
class=
"recommend-info"
>
...
@@ -213,8 +213,7 @@
...
@@ -213,8 +213,7 @@
}
}
</style>
</style>
<div
class=
"red-packet"
id=
"redpack"
style=
"display: none"
>
<div
class=
"red-packet"
id=
"redpack"
style=
"display: none"
></div>
</div>
<script
src=
"[!--news.url--]e/member/login/logincas.php"
></script>
<script
src=
"[!--news.url--]e/member/login/logincas.php"
></script>
<script
type=
'text/javascript'
src=
"[!--news.url--]skin/default/js/swiper.min.js"
></script>
<script
type=
'text/javascript'
src=
"[!--news.url--]skin/default/js/swiper.min.js"
></script>
...
@@ -378,7 +377,12 @@
...
@@ -378,7 +377,12 @@
};
};
function
inviteRedpack
()
{
function
inviteRedpack
()
{
window
.
location
.
href
=
"[!--temp.ucenterurl--]invite-redpack/index"
;
if
(
!
/Android|webOS|iPhone|iPod|BlackBerry/i
.
test
(
navigator
.
userAgent
)){
window
.
location
.
href
=
"http://a.app.qq.com/o/simple.jsp?pkgname=com.wxhkj.weixiuhui&ckey=CK1391535911216"
;
}
else
{
window
.
location
.
href
=
"[!--temp.ucenterurl--]invite-redpack/index"
;
}
}
}
$
(
function
()
{
$
(
function
()
{
...
...
index_prod.html
0 → 100644
View file @
0adf0565
This diff is collapsed.
Click to expand it.
aa
.html
→
index_test
.html
View file @
0adf0565
This diff is collapsed.
Click to expand it.
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