收藏
回答

scroll-view 使用自定义下拉刷新, 出现抖动闪烁?

           <scroll-view refresher-triggered="{{loading}}"  refresher-threshold="100" refresher-enabled="{{true}}"  style="height: 100%;" scroll-y  bindscrolltolower="onReachBottom"  bindrefresherrefresh="PullDownRefresh">
        <div v-if="schemeList.length === 0" class="scheme_null">
          <div class="null">
            <img lazy-load :src="nullIcon" alt="" class="nullIcon"/>
            <div>这里暂时还没有内容</div>
            <div>去其他地方看看吧</div>
          </div>
        </div>
        <div class="scheme">
          <div class="scheme_left" >
            <div class="demo" v-for="(item,index) in schemeList" :key="index" v-if="index%2 === 0" @click="particulars(item)">
              <img lazy-load :src="item.cover_img" mode="widthFix" alt="" class="cover_bulk" v-if="item.plan_type === 1"/>
              <img lazy-load :src="item.cover_img" mode="widthFix" alt="" class="cover_img" v-if="item.plan_type === 2"/>
              <img lazy-load :src="videoIcon" alt="" v-if="item.top_img_video_type === 2" class="video_icon"/>
              <div class="stylist">
                <div class="left">
                  <img lazy-load :src.sync="item.designer.icon" alt="" class="stylist_icon"/>
                  <div class="overFlow">{{item.designer.name}}</div>
                </div>
                <div class="right">
                  <img lazy-load :src.sync="item.is_project_like === 0 ? not_collect : collect" alt="" class="collect_icon" :class="{'collect':item.is_project_like === 1}"/>
                  <div>{{item.project_like_number}}</div>
                </div>
              </div>
              <div class="project_name">{{item.project_name}}</div>
              <div class="address" v-if="item.plan_type === 1">
                <div>{{item.room}}</div>室·<div>{{item.proportion}}</div>m²·<div class="overflow">{{item.province}}{{item.city}}</div>
              </div>
            </div>
          </div>
          <div class="scheme_right" >
            <div class="demo" v-for="(item,index) in schemeList" :key="index" v-if="index%2 === 1" @click="particulars(item)">
              <img lazy-load :src="item.cover_img" mode="widthFix" alt="" class="cover_bulk" v-if="item.plan_type === 1"/>
              <img lazy-load :src="item.cover_img" mode="widthFix" alt="" class="cover_img" v-if="item.plan_type === 2"/>
              <img lazy-load :src="videoIcon" alt="" v-if="item.top_img_video_type === 2" class="video_icon"/>
              <div class="stylist">
                <div class="left">
                  <img lazy-load :src.sync="item.designer.icon" alt="" class="stylist_icon"/>
                  <div class="overFlow">{{item.designer.name}}</div>
                </div>
                <div class="right">
                  <img lazy-load :src.sync="item.is_project_like === 0 ? not_collect : collect" alt="" class="collect_icon" :class="{'collect':item.is_project_like === 1}"/>
                  <div>{{item.project_like_number}}</div>
                </div>
              </div>
              <div class="project_name">{{item.project_name}}</div>
              <div class="address" v-if="item.plan_type === 1">
                <div>{{item.room}}</div>室·<div>{{item.proportion}}</div>m²·<div class="overflow">{{item.province}}{{item.city}}</div>
              </div>
            </div>
          </div>
        </div>
      </scroll-view>



回答关注问题邀请回答
收藏

5 个回答

  • W
    W
    06-21

    解决办法:bindrefresherpulling时禁止滚动,刷新完成后,恢复滚动!

    06-21
    有用 1
    回复
  • 韩
    02-21

    兄弟怎么解决的阿,给解决方案呀,都是好兄弟。





    02-21
    有用
    回复
  • 稳当的
    稳当的
    2021-08-09

    你好,这个问题解决了么?

    2021-08-09
    有用
    回复 3
    • M
      M
      2022-04-22
      解决了
      2022-04-22
      回复
    • name
      name
      2023-07-11回复M
      请问怎么解决的
      2023-07-11
      回复
    • 韩
      02-21回复M
      还记得怎么解决的吗,铁汁,跪求
      02-21
      回复
  • M
    M
    2020-08-11

    https://pimage.eyxyt.com/lncMGAnT4kLKQzTaRow_GNV7pXfX 视频地址

    2020-08-11
    有用
    回复 1
    • TaowzzZ
      TaowzzZ
      2022-01-22
      请问楼主怎么解决的啊
      2022-01-22
      回复
  • 疯狂的小辣椒
    疯狂的小辣椒
    2020-07-13

    你好,麻烦具体描述问题流程,提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

    2020-07-13
    有用
    回复 14
    查看更多(9)
登录 后发表内容
问题标签