收藏
回答

scroll-view卡顿,怎么解决?

这个bug解决了没有

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

4 个回答

  • 社区技术运营专员-小柿子
    社区技术运营专员-小柿子
    2019-12-26

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

    2019-12-26
    赞同
    回复
  • v
    v
    2019-12-26

    viewclass"tabar_box">

    viewclass"tabar_one "data-id"0"bindtap"tabOneTap">

    textclass"{{current == 0 ? 'tabar_text':''}}">精选</text

    viewclass"{{current == 0 ? 'line':''}}"></view

    </view

    viewclass"tabar_one"  data-id"1"bindtap"tabTowTap">

    textclass"{{current == 1 ? 'tabar_text':''}}">分析 </text

    viewclass"{{current == 1 ? 'line':''}}"></view

    </view

    </view






    swiperbindchange"tabChange"current"{{current}}"style"height:1880rpx"


    swiper-item


    scroll-viewscroll-y"true"class'top-nav-container'bindscrolltolower"scrollTap"lower-threshold"0"style"height:1880rpx">

    viewclass"nameLists_again">

    block  wx:for"{{nameLists}}"wx:for-item"item"

    viewclass"collect_box">


    viewclass"collect_boxone">

    viewclass"radioa_box">

    viewclass"mzg_box">

    textstyle"font-size:20rpx;">{{item.pronunciationa}}</text

    imagesrc"/images/mzg.png"class"mzg"></image

    viewclass"mzgtext">

    {{item.surnamea}}

    </view

    </view


    viewclass"mzg_box"wx:if"{{cursor == 2 &&  type == 2 || cursor == 2 &&  type == 1}}">

    text  style"font-size:20rpx;"{{item.pronunciationd}}</text

    imagesrc"/images/mzg.png"class"mzg"></image

    viewclass"mzgtext">

    {{item.surnamed}}

    </view

    </view


    viewclass"mzg_box"

    text  style"font-size:20rpx;">{{item.pronunciationb}}</text

    imagesrc"/images/mzg.png"class"mzg"></image

    viewclass"mzgtext">

    {{item.surnameb}}

    </view

    </view


    viewclass"mzg_box"wx:if"{{cursor == 1 &&  type == 2 || cursor == 2 &&  type == 2}}">

    text  style"font-size:20rpx;">{{item.pronunciationc}}</text

    imagesrc"/images/mzg.png"class"mzg"></image

    viewclass"mzgtext">

    {{item.surnamec}}

    </view

    </view

    <!-- <view class="collect_gard">{{passStara}}分</view> -->

    viewclass"collect_gard">{{item.totalScore}}</view

    </view




    viewclass"collect_card">

    viewclass"collect_cardlittle"wx:if"{{item.luckyUseGodScore == 100 }}"><imagesrc"/imgs/daji.png"class"ji"></image></view

    viewclass"collect_cardlittle"wx:if"{{item.luckyUseGodScore == 95 }}"><imagesrc"/imgs/zhongji.png"class"ji"></image></view

    viewclass"collect_cardlittle"wx:if"{{item.luckyUseGodScore == 90 }}"><imagesrc"/imgs/xiaoji.png"class"ji"></image></view

    viewclass"collect_cardlittle"wx:if"{{item.specialNameScore == 100 }}"><imagesrc"/imgs/shiyi.png"class"ji"></image></view

    viewclass"collect_cardlittle"wx:if"{{item.nameMatchingScore >= 95}}"><imagesrc"/imgs/meiguan.png"class"ji"></image></view

    viewclass"collect_cardlittle"wx:if"{{item.syllableToneScore >= 94}}"><imagesrc"/imgs/haoting.png"class"ji"></image></view

    </view



    </view


    viewclass"collect_xin">

    imagesrc"{{item.check ? '/images/xxa.png':'/images/xx.png'}}"  bindtap"collectimgTap"  data-id"{{index}}"></image

    textwx:if"{{!item.check }}"收藏</text

    textwx:else已收藏</text

    </view


    viewclass"lastimg"bindtap"collctListTap"id"{{index}}">

    imagesrc"/images/y.png"></image

    </view




    </view

    </block


    </view

      </scroll-view 

    </swiper-item





    swiper-itemcatchtouchmove'catchTouchMove'>

    scroll-viewscroll-y"true"class'top-nav-container'style"height:100%"bindscrolltolower"scrollTap"

    templateis"select"data"{{...item}}"></template

      </scroll-view

    </swiper-item

    </swiper




    2019-12-26
    赞同
    回复
  • var 友原
    var 友原
    2019-12-26

    怎么个卡顿法

    2019-12-26
    赞同
    回复 3
    • v
      v
      2019-12-26
      上下滑动不灵活,没惯性
      2019-12-26
      回复
    • v
      v
      2019-12-26
      体验感贼差
      2019-12-26
      回复
    • var 友原
      var 友原
      2019-12-26回复v
      应该是你代码的问题,贴个代码片段吧
      2019-12-26
      回复
  • 小蒜泥
    小蒜泥
    2019-12-26

    IOS卡顿吗?

    2019-12-26
    赞同
    回复 2
    • v
      v
      2019-12-26
      不仅是iOS
      2019-12-26
      回复
    • 小蒜泥
      小蒜泥
      2019-12-26回复v
      还是来个代码片段吧 这样好解决问题
      2019-12-26
      回复
登录 后发表内容
问题标签