Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
footseen-large-website
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
bf0a0a8b
authored
Jul 19, 2022
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
c848fb56
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
1 deletions
index.html
lib/default.js
index.html
View file @
bf0a0a8b
...
...
@@ -393,13 +393,42 @@ $(function(){
else liveList(1,1)
getTags()
getTopics(1,typeNum,tagNum,timeNum,sortNum,dayNum)
if(sessionStorage.go=="footseen"){
$.ajax({
url:$ip+'
activeLog
/
webActive
',
data:{
activeType:5,
pageID:localStorage.canvasCode,
},
success:function(data){
if(data.code==1){
history.pushState('','','
index
.
html
');
sessionStorage.go='
end
'
}
}
})
}
});
}else{
if(sessionStorage.jump==2) liveList(1,2)
else liveList(1,1)
getTags()
getTopics(1,typeNum,tagNum,timeNum,sortNum,dayNum)
if(sessionStorage.go=="footseen"){
$.ajax({
url:$ip+'
activeLog
/
webActive
',
data:{
activeType:5,
pageID:localStorage.canvasCode,
},
success:function(data){
if(data.code==1){
history.pushState('','','
index
.
html
');
sessionStorage.go='
end
'
}
}
})
}
}
var
layzT
=
true
;
$
(
window
).
on
(
"scroll"
,
function
(){
...
...
lib/default.js
View file @
bf0a0a8b
...
...
@@ -37,6 +37,7 @@ if (bbb.indexOf("www.footseen.xyz/video.html") > -1) {
}
sessionStorage
.
roomId
=
data
.
roomId
;
sessionStorage
.
topicId
=
data
.
topicId
sessionStorage
.
go
=
data
.
go
if
(
data
.
tag
==
undefined
||
data
.
tag
==
'undefined'
)
data
.
tag
=
''
sessionStorage
.
tag
=
data
.
tag
sessionStorage
.
qd
=
data
.
qd
...
...
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