小程序 导航栏的吸顶简单带动画
console.log(e.scrollTop)
let scrollTop = e.scrollTop
let scrolltype = this.data.scrolltype
let animation = wx.createAnimation({
duration: 500,
timingFunction: "linear",
delay: 0
})
if (scrollT...
原创
2019-09-12 11:32:01 ·
360 阅读 ·
0 评论