scroll-view里面的内容出现重叠

发布于 6 年前作者 jing814384 次浏览最后编辑 6 年前来自 ask
  • 当前 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>

1 回复
xiulanye
xiulanye1 楼4 年前

样式没写好吧,可以试试flex布局