滑动禁止
This commit is contained in:
parent
7a727a15ba
commit
60c5b527ed
@ -498,7 +498,7 @@ bindchange(e){
|
||||
},
|
||||
// 禁止用户滑动
|
||||
catchTouchMove() {
|
||||
return false;
|
||||
//return false;
|
||||
},
|
||||
|
||||
getDeatil(id) {
|
||||
|
||||
@ -161,7 +161,8 @@
|
||||
</view>
|
||||
</scroll-view>
|
||||
<swiper current="{{currentData}}" class="swiperbox" bindchange="bindchange" style="height:{{tab3Height+'px'}};margin-top:{{tab3Height==0?'0rpx':'20rpx'}}" disable-touch="{{true}}">
|
||||
<swiper-item catchtouchmove="catchTouchMove">
|
||||
|
||||
<swiper-item catchtouchmove="catchTouchMove" class="swipercell">
|
||||
|
||||
<view class="swiper-item" id="swiperitem1">
|
||||
<image src="{{img_host+'/tuwen_bg.png'}}" class="itembg" style="height:auto;" mode="widthFix" wx:if="{{canTuwen}}"></image>
|
||||
@ -272,6 +273,7 @@
|
||||
|
||||
</view>
|
||||
</swiper-item>
|
||||
|
||||
</swiper>
|
||||
</view>
|
||||
<!-- <view class="drbox" wx:if="{{current_inquiry_config}}">
|
||||
|
||||
@ -580,7 +580,19 @@ text-decoration: line-through;
|
||||
}
|
||||
.swiperbox{
|
||||
margin-top: 35rpx;
|
||||
position: relative;
|
||||
}
|
||||
.swiperbox::after{
|
||||
content:'';
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 2;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
|
||||
.swiper-item{
|
||||
border-radius: 20rpx;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user