lieft
lieft
  • 发布:2023-11-30 18:03
  • 更新:2023-12-27 17:40
  • 阅读:183

【报Bug】swiper内嵌swiper,无法滑动内部的swiper

分类:uni-app x

产品分类: uni-app x/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: 22000.2295

HBuilderX版本号: 3.98

手机系统: Android

手机系统版本号: Android 10

手机厂商: 小米

手机机型: red mi 8

示例代码:
<swiper :indicator-dots="true" :circular="true" style="height: 800rpx;" @tap.stop>  
            <swiper-item v-for="(item,index) in 10" :key="index" @tap.stop>  
                <view class="" style="height: 800rpx;background-color: red;" @tap.stop>  
                    <text style="color: white;">{{ index }}</text>  
                    <swiper :indicator-dots="true" :circular="true"  style="height: 400rpx;margin-top: 100rpx;" @tap.stop>  
                        <swiper-item v-for="(item,index) in 3" :key="index" @tap.stop>  
                            <view class="" style="height: 400rpx;background-color: blue;" @tap.stop>  
                                <text style="color: white;">{{ index }}</text>  
                            </view>  
                        </swiper-item>  
                    </swiper>  
                </view>  
            </swiper-item>  
        </swiper>

操作步骤:

见代码示例

预期结果:

内外分开滑动,像uni-app就可以。

实际结果:

uni-app x不能实现滑动内部

bug描述:

如题

2023-11-30 18:03 负责人:DCloud_Android_DQQ 分享
已邀请:
DCloud_Android_DQQ

DCloud_Android_DQQ

bug 已确认

要回复问题请先登录注册