scroll-view里面的内容出现重叠
发布于 5 年前 作者 jing81 4125 次浏览 来自 问答
  • 当前 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 回复

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

回到顶部