wechat_jiaxuan/pages/consult/consult.js
@@ -138,16 +138,16 @@ }, touchmove(e) { var touchMove = e.detail.scrollTop; if(touchDot - touchMove > 16){ if(touchMove - touchDot >24){ touchDot = touchMove this.fadeOut(); } if(touchDot - touchMove > 16){ if(touchDot - touchMove > 24){ touchDot = touchMove setTimeout(() => { this.setData({ showCate: true }) this.fadeIn(); }, 200) }, 300) } }, fadeIn: function () { @@ -164,7 +164,7 @@ }); setTimeout(() => { this.setData({ showCate: false }); }, 200); // 动画持续时间 }, 300); // 动画持续时间 }, /** * 生命周期函数--监听页面显示