Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

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

请问 怎么能实现移动端 分区滚动

想问在移动端 怎么实现不同区域有自己的滚动条 还能联动

clipboard.png

怎么能让菜单和对应的食物是各自拥有的滚动区域 然后右面滑动到一定位置左面联动切换

后面是我可以自己试着实现 但是不知道怎么分区各自滚动


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

1 Reply

0 votes
by (71.8m points)

我想你是想实现像美团那种点击分类跳到分类下的食品之类做法吧
其实可以用锚点定位,还可以通过锚点来让菜单滑块变换


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...