|
@@ -64,7 +64,6 @@ var sliderData = (function(cb){
|
|
// 向右划
|
|
// 向右划
|
|
if (Math.abs(distance) > width / 3 || (Math.abs(distance) > 40 && duration < 600)) {
|
|
if (Math.abs(distance) > width / 3 || (Math.abs(distance) > 40 && duration < 600)) {
|
|
newTranslateX = startTranslate - width;
|
|
newTranslateX = startTranslate - width;
|
|
- document.getElementsByClassName("rest-tip")[0].innerText = `${translateX}`
|
|
|
|
} else {
|
|
} else {
|
|
newTranslateX = startTranslate;
|
|
newTranslateX = startTranslate;
|
|
}
|
|
}
|