用swiper写的无限轮播,在安卓机上会出现页面混乱闪烁,两个广告页面的卡在中间,来回滚动,求解决办法

data: {

indicatorDots: true, //  是否显示面板指示点

autoplay: true, // 是否自动切换

circular: true, // 是否采用衔接滑动

swiperCurrent: 0, // 当前所在页面的 index

interval: 4000, // 自动切换时间间隔

duration: 1000 // 滑动动画时长

}


<swiper wx:if="{{topAdLength>0&&showAllView}}" indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" circular="{{circular}}" current="{{swiperCurrent}}" bindchange="swiperChange" class="swiper-container"

indicator-color="white" indicator-active-color="#eb0019">

<block wx:for="{{topAdList}}" wx:key="unique">

<swiper-item data-item="{{item}}" bindtap="chuangEvent" id="{{index}}">

<image src="{{item.fileurl}}" class="img"></image>

</swiper-item>

</block>

</swiper>


展开全部
收起
2回答
提交回答
  • 至过去的我

    2044人对此回答表示赞同

    我是未来的你,你现在是不是在年找寻小程序答案。你不要感觉诧异,给你来信原因,就是让你不在后悔。今天去学习如何推广小程序,相信......点击查看更多>
    发布于
  • Liam

    19人对此回答表示赞同

    我的也是不停闪烁,小米8

    展开
    19
    0回复
    发布于 6年前

    评论(0)

    收起评论

  • 有无

    18人对此回答表示赞同

    麻烦提供一下出现问题的机型和微信版本,并且给个相关的代码片段,我们定位下问题

    展开
    18
    4回复
    发布于 6年前

    评论(4)

    收起评论

    • Eva 2019-01-04 16:06

      麻烦单独发帖,请提供一下出现问题的机型和微信版本,以及能复现问题的简单代码片段

      回复
    • 李思思044 2019-01-06 23:48

      这个问题目前我也遇到了。同样的代码在之前并没出现过此问题。

      回复
    • 货真价实冰麒麟 2019-01-08 18:21

      可否单独发帖询问?提供一下出现问题的机型和微信版本,以及能复现问题的简单代码片段

      回复
    • Janaya 2019-01-11 00:17

      小米8

      回复
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
咨询热线

13312967497

扫码添加业务即可随时咨询 还可领取小程序推广攻略

业务咨询: 13312967497
扫码咨询

扫码咨询套餐

回到顶部