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
a16b7656
authored
Aug 27, 2022
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
f333479a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
index.html
room/liveRoom.html
room/videoRoom.html
index.html
View file @
a16b7656
...
...
@@ -314,7 +314,6 @@ $(function(){
}
else
{
$
(
".side-nav"
).
hide
()
}
})
$
(
".more-live"
).
on
(
"click"
,
function
(){
// $(".neck-nav-ul li").removeClass("neck-nav-li-click")
...
...
room/liveRoom.html
View file @
a16b7656
...
...
@@ -2439,7 +2439,8 @@ $(function () {
function
WebSocketGo
()
{
if
(
"WebSocket"
in
window
)
{
// 打开一个 web socket
var
url
=
""
+
$ws
+
"ws?uid="
+
localStorage
.
uid
+
"&token="
+
localStorage
.
token
+
"&roomid="
+
sessionStorage
.
roomId
+
"&connType=1"
;
if
(
localStorage
.
token
==
undefined
||
localStorage
.
token
==
'undefined'
)
var
url
=
""
+
$ws
+
"ws?uid="
+
localStorage
.
uid
+
"&token="
+
localStorage
.
canvasCode
+
"&roomid="
+
sessionStorage
.
roomId
+
"&connType=2"
;
else
var
url
=
""
+
$ws
+
"ws?uid="
+
localStorage
.
uid
+
"&token="
+
localStorage
.
token
+
"&roomid="
+
sessionStorage
.
roomId
+
"&connType=1"
;
ws
=
new
WebSocket
(
url
);
ws
.
onopen
=
function
()
{
typeof
tHeart
!=
'undefined'
&&
typeof
tHeart
!=
'null'
?
clearInterval
(
tHeart
):
tHeart
=
null
;
...
...
room/videoRoom.html
View file @
a16b7656
...
...
@@ -710,11 +710,14 @@ $(function(){
})
</script>
<script>
//17
// function addUrl(e){
// $.ajax({
// url:$ip+'frontPage/queryTopics',
// data:{
// pageID:localStorage.canvasCode,
// pageNum:13
,
// pageNum:e
,
// type:1,
// pageSize:500,
// language:2,
...
...
@@ -733,9 +736,11 @@ $(function(){
// // var videoList=JSON.parse(list.content)
// html+='https://www.footseen.xyz/room/videoRoom.html?topicId='+list.topicId+'&mark=1
<
br
>
'
// }
// $(".more-url").html
(html);
// $(".more-url").append
(html);
// }
// })
// }
</script>
</html>
\ No newline at end of file
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