附上代码 大佬们看下
<swiper class="swiper" :indicator-dots="indicatorDots" :autoplay="autoplay" :disable-touch='isSwiper' :duration="duration" :current='current' @transition='itemChange' @change='toPay' @animationfinish='endAni'>
<swiper-item class="swiper-item" v-for="(imgItem,idx) in imgSmaList" :key="idx" >
<movable-area class="swiper-image" :scale-area='isScale'>
<movable-view class="swiper-image" :scale-value='sca_val' :disabled="movDis" @touchend="touched" @scale='scaleFun' out-of-bounds='false' friction='1' inertia='true' animation='true' :scale='isScale' scale-min='1' scale-max='1.6' x="0" y="0" direction="all" @change="addChange">
<image :src="imgItem" mode="aspectFit" class="swiper-image" @touchmove="imgTouchmove" @touchend="imgTouched" @longpress="saveImg"></image>
</movable-view>
</movable-area>
</swiper-item>
</swiper>
南黎2024
这个问题您解决了吗 我可以有偿求大佬您解答吗?
2024-06-19 16:14