华为mate10上,scroll-view内嵌input和swiper时闪退
发布于 6 年前 作者 renmin 1009 次浏览 来自 官方Issues
  • 当前 Bug 的表现(可附上截图)

测试机为华为mate10 ALP-AL00, Android 9;

当页面中存在scroll-view中同时内嵌 <input> 和 <swiper> 标签时,小程序运行几秒之后闪退

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

<scroll-view style=“width: 100%; flex-grow:5; margin-bottom:70px;”>

<view class="weui-search-bar" style="width: 100%;">

<view class="weui-search-bar__form">

<view class="weui-search-bar__box">

<input type="text" placeholder="搜索" />

</view>

</view>

</view>

<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" circular="{{circular}}" vertical="{{vertical}}" interval="{{interval}}" duration="{{duration}}">

<block wx:for="{{swiperUrls}}">

<swiper-item>

<image src="{{item}}" width="355" height="150" />

</swiper-item>

</block>

</swiper>

</scroll-view>

2 回复

不是Nova3e,是mate10

回到顶部