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
fb26fec9
authored
Jun 27, 2022
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
03261136
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletions
yazhaiTest/room/videoRoom.html
yazhaiTest/room/videoRoom.html
View file @
fb26fec9
...
...
@@ -132,6 +132,7 @@
$
(
function
(){
if
(
localStorage
.
canvasCode
==
undefined
)
window
.
localStorage
.
href
=
'../pc.html'
var
myTopicId
loginGo
()
TopicInfo
()
getTopics
(
1
,
1
,
sessionStorage
.
tag
,
-
1
,
-
1
,
-
1
)
...
...
@@ -153,9 +154,24 @@ $(function(){
pageID:localStorage.canvasCode,
topicId:sessionStorage.topicId
},
async:false,
success:function(msg){
console.log('查看帖子详情',msg)
if(msg.code!=1){
return;
}
myTopicId=msg.topic.topicId
if(localStorage.out!=undefined) localStorage.out=localStorage.out+','+myTopicId
else localStorage.out=myTopicId
console.log(localStorage.out.split("
,
"))
if(localStorage.out.split("
,
"
).
length
>
30
){
var
outArr
=
''
for
(
var
i
=
0
;
i
<
30
;
i
++
){
i
==
29
?
outArr
+=
localStorage
.
out
.
split
(
","
)[
30
-
i
]:
outArr
+=
localStorage
.
out
.
split
(
","
)[
30
-
i
]
+
','
}
localStorage
.
out
=
outArr
}
var
data
=
msg
.
topic
;
var
videoList
=
JSON
.
parse
(
data
.
content
)
$
(
".video-content-title"
).
text
(
videoList
.
title
)
...
...
@@ -294,7 +310,8 @@ $(function(){
tag:tagNum,
duration:timeNum,
sort:sortNum,
period:dayNum
period:dayNum,
topicId:localStorage.out
},
success:function(data){
console.log('
获取帖子'
,
data
)
...
...
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