Commit 71a285f1 by libai

测试

parent ddbbb2ef
Showing with 7 additions and 6 deletions
......@@ -577,8 +577,8 @@ $(function(){
var dHeight=$(document).height()
$(".touch-box").css("height",dHeight/2+"px")
$(".touch-box").css("margin-top",-dHeight/5+"px")
var topRoomId
var BottomRoomId
var topRoomId=0
var BottomRoomId=0
localStorage.canvasCode="phone"
var giftMd5=null;
var loadT=null;
......@@ -1121,11 +1121,12 @@ $(function(){
BottomRoomId=list.roomId
}
}else{
topRoomId=data.roomList[0].roomId
BottomRoomId=data.roomList[1].roomId
}
}
if(topRoomId=0){
topRoomId=data.roomList[0].roomId
BottomRoomId=data.roomList[1].roomId
}
}
......@@ -2307,7 +2308,7 @@ $(function(){
})
$(".touch-box").on("touchmove",function(e){
if(topRoomId==undefined)return;
if(topRoomId==0)return;
if(touchOk==false)return;
event.preventDefault()
if(touchX==null){
......
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