uniapp中swiper组件实现(全部或部分区域)禁止手动滑动

//全部禁止左右滑动
<swiper-item class="swiper-item" @touchmove.stop="stopTouchMove">
//部分元素 禁止左右滑动
<view class="u-charts-box" @touchmove.stop="stopTouchMove"> <view class="picker_unit">销售额:万</view>
</view>
stopTouchMove(){
    return false;
}
原文地址:https://www.cnblogs.com/peipeiyu/p/14708584.html