我今天也遇到了这个问题,已经解决了,你可以试一试。在<u-popup>上添加 @touchmove.stop.prevent,然后需要滚动的部分使用uni的scroll-view组件设置scroll-y="true"<u-popup :show="showPanel" mode="center" closeable safeAreaInsetTop @close="closePanel" @touchmove.stop.prevent> <view > <scroll-view scroll-y="true" class="scroll-Y" > <view class="panelItem" v-for="(item,index) in panelList" :key="index"> </view> </scroll-view> </view> </u-popup>
我今天也遇到了这个问题,已经解决了,你可以试一试。
在<u-popup>上添加 @touchmove.stop.prevent,然后需要滚动的部分使用uni的scroll-view组件设置scroll-y="true"