移动端部分安卓4.4.2 4.2版本手机兼容性问题
画1px细线问题:
.borderBottom1px {
position: relative;
}
.borderBottom1px:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
border-bottom: 1px solid #EAEBEF;
-webkit-transform: scaleY(0.5);
-webkit-transform-origin: 0 0;
}
解决办法参考了:https://www.cnblogs.com/shuiyi/p/5138006.html#4344573
问题:部分安卓手机不支持touchend
方法一:move里加:
e.preventDefault()
方法二:
代码加黄颜色部分,不推荐。
element.addEventListener("touchstart", this.onSwiperTouchStart,false);
element.addEventListener("touchmove", this.onSwiperTouchMove,false);
element.addEventListener("touchend", this.onSwiperTouchEnd,false);
// element.addEventListener("touchcancel", this.onSwiperTouchEnd,false);