<view style="height:300rpx;width:100%;background:red">21</view>
<view class="two-tag-box">
<view>21</view>
<view>21</view>
<view>21</view>
<view>21</view>
</view>
.two-tag-box{
width:100%;
display:flex;
position: sticky;
top: 0;
overflow-x: scroll;
}
你好,具体是怎么复现情况的呢?提供下复现视频看看(上传至腾讯视频)。麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)