|
@@ -61,9 +61,6 @@ var sliderData = (function(cb){
|
|
cb();
|
|
cb();
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- if(pageNum + 1 == sliderNumber){
|
|
|
|
- width = 651
|
|
|
|
- }
|
|
|
|
// 向右划
|
|
// 向右划
|
|
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;
|