Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.3k views
in Technique[技术] by (71.8m points)

上下滑动的swiper,第二个slider高度大于屏幕,如何让它正常滑动,且禁止手势切换到下一页?

这个问题 中,@kimozhang 的答案可以完美解决,但我这里基于原题有个更复杂点的交互:

第二页需要禁止手势切换到下一页(但需要支持点击按钮切换

试了父容器设置 allowSlideNext,但会把点击按钮的切换也禁用掉;如果设置在子容器,那就无法滚动

我应该怎么做?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...