huangxiaojing 3 éve%!(EXTRA string=óta)
szülő
commit
d3867c5716

+ 0 - 1
screenAndroid/WXdraw.js

@@ -66,7 +66,6 @@ function doConnect() {
 		wsss.send(ExexuteMove(JSON.stringify(bitRate), form.sn))
 	};
 	wsss.onclose = function (evt) {
-		console.log(evt);
 		wsss.close();
 		throttle(doConnect,100);
 		if(errorTime > 1000){

+ 9 - 2
screenAndroid/WXtrialInterface.html

@@ -268,6 +268,11 @@
 		});
 
 		function handleClose() {
+			document.body.addEventListener('touchmove', function (e) {
+				e.preventDefault()
+			}, {
+				passive: false
+			})
 			$('.mask').hide();
 		}
 
@@ -437,8 +442,8 @@
 						$('.mask').show();
 						initSlider();
 					} else {
+						$('.box-shear-plate').append('<img class="empty" src="img/jianqieban_pic@2x.png" alt="" /><div class="empty-txt">剪切板为空</div>')
 						$('.mask').show();
-						initSlider();
 					}
 				}
 			})
@@ -524,8 +529,10 @@
 			$(".slide-content").css({
 				width: $(".slide-wrapper").width()
 			});
-			$(".slide-wrapper-content").on('touchmove', function (e) {
+			document.body.removeEventListener('touchmove', function (e) {
 				e.preventDefault()
+			}, {
+				passive: false
 			})
 			$(".slide-scroll").css({
 				width: $(".slide-wrapper").width() + $(".slide-content-button").width()

+ 9 - 2
screenIos/WXtrialInterface.html

@@ -288,8 +288,8 @@
 						$('.mask').show();
 						initSlider();
 					} else {
+						$('.box-shear-plate').append('<img class="empty" src="img/jianqieban_pic@2x.png" alt="" /><div class="empty-txt">剪切板为空</div>')
 						$('.mask').show();
-						initSlider();
 					}
 				}
 			})
@@ -374,8 +374,10 @@
 			$(".slide-content").css({
 				width: $(".slide-wrapper").width()
 			});
-			$(".slide-wrapper-content").on('touchmove', function (e) {
+			document.body.removeEventListener('touchmove', function (e) {
 				e.preventDefault()
+			}, {
+				passive: false
 			})
 			$(".slide-scroll").css({
 				width: $(".slide-wrapper").width() + $(".slide-content-button").width()
@@ -614,6 +616,11 @@
 		}
 
 		function handleClose() {
+			document.body.addEventListener('touchmove', function (e) {
+				e.preventDefault()
+			}, {
+				passive: false
+			})
 			$('.mask').hide();
 		}