找到办法了。取消 scroll-view 的 class=...
scroll-view 子项出现重叠,是什么情况?scroll-view 子项重叠,基础库:2.16.0, 真机:Iphone6 <!--pages/coment/searplace.wxml--> <view hidden="{{flag}}" class="popwindow"> <view class="comwindow" id="window"> <view class="pop-head" id="barnar"> <view class="child-title">查找场所</view> <input class="child-sou" type="text" value="{{key}}" confirm-type="done" bindinput="searname"></input> <icon class="child-close" type="cancel" size="64rpx" color="#007BD3" catchtap="hidePopup"></icon> </view> <view class="pop-body"> <scroll-view class="scroll-view-pop" style="height:{{titleiH-10}}rpx;" scroll-y="true" enable-flex="true"> <block wx:for="{{searplace}}" wx:key="id"> <view class="pop-item"> <image class="pop-pic" src="/images/home_of.png" mode="aspectFit"></image> <view class="pop-name">{{item.name}}</view> <view class="pop-button" hover-class="hover-item" catchtap="checkitem" data-id="{{item.id}}" data-name="{{item.name}}">绑定</view> </view> </block> </scroll-view> </view> </view> </view> [图片]
2021-04-27同样的故障现象。https://developers.weixin.qq.com/community/develop/doc/00068037afc7608def0c6afb951c00?fromCreate=0
scroll-view里面的内容出现重叠- 当前 Bug 的表现(可附上截图) [图片] - 预期表现 [图片] - 复现路径 - 提供一个最简复现 Demo <scroll-view scroll-x="true" class='plate-menubar'> <view class='plate-menu'> <view wx:for="{{plateList}}" wx:key="item" wx:index="index"> <view class="plate-menu-list"> <text class="plate-menu-text {{dataPlate== index ?'activeq':''}}" bindtap="plateChange" id="{{item.id}}" data-plate="{{index}}">{{item.name}} </text> </view> </view> </view> </scroll-view>
2021-04-27