账号密码登录
微信安全登录
微信扫描二维码登录

登录后绑定QQ、微信即可实现信息互通

手机验证码登录
找回密码返回
邮箱找回 手机找回
注册账号返回
其他登录方式
分享
  • 收藏
    X
    微信小程序 scroll-view 抖动。
    19
    0

    1.在使用<scroll-view></scroll-view>进行多页的数据展示时 ,想要实现在顶部往下拉时实现刷新的功能。查看API大概是写成了这样子<scroll-view scroll-top="{{scrollTop}}" class="orderitem-conatiner" style="height:{{scrollHeight}}px;" scroll-y="true" bindscrolltoupper="refresh" bindscrolltolower="bindDownLoad" bindscroll="scroll"></scroll>
    查看页面发现频繁的执行refresh方法,页面一直在抖动 该怎么解决呢。
    refresh是获取第一页的数据
    bindDownLoad是获取第二页、第三页的数据。

    1
    打赏
    收藏
    点击回答
        全部回答
    • 0
    更多回答
    扫一扫访问手机版
    • 回到顶部
    • 回到顶部