Commit a16b7656 by libai

测试

parent f333479a
......@@ -314,7 +314,6 @@ $(function(){
}else{
$(".side-nav").hide()
}
})
$(".more-live").on("click",function(){
// $(".neck-nav-ul li").removeClass("neck-nav-li-click")
......
......@@ -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;
......
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment