swiper组件和video组件滑动问题
发布于 6 年前 作者 pxiang 14924 次浏览 来自 问答
  • 当前 Bug 的表现(可附上截图)

在华为p10上未滑动时产生多余的黑色部分

在se上则无法滑动

使用mpvue开发

  • 预期表现

和其它机型一样能正常滑动

  • 复现路径
  • 提供一个最简复现 Demo

<swiper :indicator-dots=“false

:autoplay=“false

:current=‘swiperNumber

@change=“onSwiperNumber>

<swiper-item class=“swiper-item”>

<video id=“myVideo”

v-show=“videoUrl

:src=“videoUrl

binderror=“videoErrorCallback”

:enable-progress-gesture=‘false

play-btn-position=‘center’

controls

class=“swiper-item-video”></video>

</swiper-item>

<swiper-item v-for="(item,index) in postInfo.imageIds"

:key=‘index

class=“swiper-item”>

<image :src=“showUrl+‘image/’+item

class=“swiper-item-image” />

</swiper-item>

</swiper>

2 回复

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

回到顶部