Coder Social home page Coder Social logo

kejunmao / seat-area Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 0.0 20 KB

seat-select 选座 电影票选座 类似猫眼 类似淘票票,可能是 Vue 最私滑的选座组件,手势使用 hammerjs

HTML 0.82% Vue 28.91% JavaScript 70.26%
seat seat-select seat-area

seat-area's Introduction

选座组件

可能是 Vue 最私滑的选座组件,手势使用 hammerjs

seatArea

类似小程序的 movable-area 和 movable-view

props

  • height 高度 50vw

event

  • springback 回弹时触发
  • hammer 交互时触发(拖拽、缩放)
  • transform 回弹与交互时都会触发

seatSelect

一个简单实现的选座,基于 seatArea

线上预览

微信扫码

爱票

seat-area's People

Contributors

kejunmao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.