<movable-area class="overflow-hidden w-full navbar">
<movable-view out-of-bounds inertia direction="horizontal" class="flex flex-nowrap items-center gap-3 whitespace-nowrap w-auto h-full text-base">
<text wx:for="{{items}}" wx:key="_id">{{item.name}}</text>
</movable-view>
</movable-area>
微信小程序movable-view,横向拖动示例代码段
最新推荐文章于 2023-11-02 17:00:35 发布