diff --git a/mTest/room/liveRoom.html b/mTest/room/liveRoom.html index 71af5ea..7915f02 100644 --- a/mTest/room/liveRoom.html +++ b/mTest/room/liveRoom.html @@ -65,7 +65,7 @@ </style> </head> -<body ontouchmove="event.preventDefault()" style="background: rgb(153, 156, 166);overflow: hidden;font-size: 12px;"> +<body style="background: rgb(153, 156, 166);overflow: hidden;font-size: 12px;"> <div class="guard-show-box"> <img class="guard-show-webp" src="" alt=""> <img class="guard-show-face" src="https://zhibocdn.yabolive.net/comm/user/img/11136355/8e908aec05c04ea89542943b350958b8.jpg?oversea=1?mainland=1?x-oss-process=image/resize,w_45" alt=""> @@ -2280,7 +2280,9 @@ $(function(){ }) $(".touch-box").on("touchmove",function(e){ + if(touchOk==false)return; + event.preventDefault() if(touchX==null){ touchX=e.changedTouches[0].clientX touchY=e.changedTouches[0].clientY