search

Home  >  Q&A  >  body text

javascript - Is this effect a carousel effect? ? I have no idea, please explain. thank you all

This is for mobile, both guests and rooms can scroll.

某草草某草草2784 days ago755

reply all(7)I'll reply

  • 高洛峰

    高洛峰2017-06-26 10:56:40

    It can be calculated or viewed as a slide. The more troublesome part of mobile controls like this is events and calculations, such as inertia and reaction force at advanced points, etc. . If you don’t think about it so much, just watch it through the carousel

    reply
    0
  • 怪我咯

    怪我咯2017-06-26 10:56:40

    This is to control scrolling, not carousel. Use touchmove and touchend to control it

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-06-26 10:56:40

    This kind of UI is very painful, because if you want to see the full picture of each drop-down, you need to pull it all. It is recommended not to use this kind of interface, just choose the native interface + CSS framework.

    If you must use it, just use the famous slide component to modify it. Just add transparency to the upper and lower characters.

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-06-26 10:56:40

    swiperJS can achieve it

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-06-26 10:56:40

    mui picker http://www.dcloud.io/mui.html You can try it on your mobile phone to see the effect

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-06-26 10:56:40

    You can try it with mobiscroll

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-06-26 10:56:40

    This uses js to monitor mouse events and css3 to implement scrolling animation.

    reply
    0
  • Cancelreply