overflow-x: scroll和position: sticky;一起使用,下拉页面会闪烁
<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;
}