2***@qq.com
2***@qq.com
  • 发布:2022-11-23 16:04
  • 更新:2022-11-23 16:04
  • 阅读:236

nvue中 使用 list组件 包含在了 swiper中 切换 会导致 无法下拉 ,有大佬知道怎么解决嘛

分类:nvue
​```mermaid <cell> <view class="tabs" :style="'height:' + pageHeight + 'px'"> <scroll-view ref="tabbar1" id="tab-bar" class="tab-bar" :scroll="true" :scroll-x="true" show-scrollbar="false"> <view style="flex-direction: row;">
<view class="uni-tab-item" :id="'tab'+index" :ref="'tabitem'+index" data-id="index"
data-current="index" @click="ontabtap(index)" v-for="(item,index) in list6" :key="index">
<text class="uni-tab-item-title"

class="tabIndex==index ? 'uni-tab-item-title-active' : ''">{{item.name}}</text> </view>
</view>
</scroll-view>
<swiper class="tab-view" ref="swiper1" id="tab-bar-view" :current="tabIndex" :duration="300"
@change="onswiperchange">
<swiper-item class="swiper-item" v-for="(item,index) in list6" :key="index">
<!-- 详情 -->
<view class="uni-swiper-page">
<list ref="list" class="list" offset-accuracy="1500" bounce="true" isSwiperList="true"
scrollable='true' show-scrollbar="false" @scroll="scroll">
<cell @click="onclick">
<view class="list-item"
v-for="(item,index) in [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49]">
<text>523523</text>
</view>
</cell>

                    </list>  
                </view>  
            </swiper-item>  
        </swiper>  
    </view>  
</cell>​  

​```

2022-11-23 16:04 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复