select(index, event) {
// PC页面时,点击不会被 better-scroll阻止事件,初始化,给 better-scroll派发事件,使移动端拥有点击事件...,因此切换到PC端时,点击事件会被执行两次,
if (!...防止横竖轴都改变index 解决运动时listenScroll依然监听的bug
//横纵向右偏移16
this...._followScroll(index); //横轴动画移动
//竖轴滚到响应位置
let wrap2 = this....this.wrapperScroll.on("scrollEnd", () => {
this.menuIndexChange = true;
});
},
// 横轴滚动到当前元素并向右移动