|
@@ -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();
|
|
|
}
|
|
|
|