congxc / WeChartPullToRefreshListView

微信小程序实现类似android下拉刷新上拉加载更多ListView
62 stars 17 forks source link

大神求教 #2

Closed wendesun closed 6 years ago

wendesun commented 6 years ago
{{item}}

----------------------------------------上面是原代码----------------------------------------

请问下,为什么要套这一层,这个touchmove放在scroll-view上不可以吗?
congxc commented 6 years ago

嗯,不可以,你可以理解为因为外层scroll view实际上已经实现其touchmove事件了,也就是滚动事件,我们不能对其做修改。 最后我只是一个普通的Android开发员,这个例子也只是因为当初领导临时要求做一个微信小程序而顺带写的而已,“大神”二字实在不敢当

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: wendesun notifications@github.com 发送时间: 2018年9月27日 17:25 收件人: congxc/WeChartPullToRefreshListView WeChartPullToRefreshListView@noreply.github.com 抄送: Subscribed subscribed@noreply.github.com 主题: 回复:[congxc/WeChartPullToRefreshListView] 大神求教 (#2)

{{item}} ----------------------------------------上面是原代码---------------------------------------- 请问下,为什么要套这一层,这个touchmove放在scroll-view上不可以吗?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/congxc/WeChartPullToRefreshListView/issues/2, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APu0JbC7RpWj4Oe_8Rw8QXQjQHLe_P9xks5ufJmSgaJpZM4W8QGC.