code: function evtTouchEnd(event) {
          var dx = Math.abs(touchDX);
          var dy = Math.abs(touchDY);
  
          if ((dx > 15) && (dy < (dx * 2 / 3))) {
              if (touchDX > 0) {
                  prevSlide();
              } else {
                  nextSlide();
              }
          }
          cancelTouch();
      }
docs: touchend事件