wechat_staff/pages/consult/consult.js
@@ -136,13 +136,15 @@ }, touchmove(e) { var touchMove = e.detail.scrollTop; if(touchMove - touchDot > 60){ // this.setData({ showCate: false }) if(touchMove - touchDot > 16){ touchDot = touchMove this.fadeOut(); } if(touchDot - touchMove > 60){ this.fadeIn(); if(touchDot - touchMove > 20){ setTimeout(() => { this.setData({ showCate: true }) this.fadeIn(); },200) } }, fadeIn: function () { @@ -158,7 +160,7 @@ }); setTimeout(() => { this.setData({ showCate: false }); }, 500); // 动画持续时间 }, 200); // 动画持续时间 }, onShow() { refreshEnjoy(this)