基于vue2.0开的一个类似微信支付密码输入的组件
- 仅支持输入数字且仅6位
- 输入字符不可见
- 输入密码完毕自动隐藏键盘
- 先循环出来6个小方格
- 同位置放一个同大小的input输入框(其实不同位置,不同大小也可以;如果考虑字母数字混合输入可以使用的password类型)
- input type="number"
- 利用vue里面 watch 检测输入框内容的长度,处理到6个小方格里面
- 隐藏的小黑圆点,采用before伪类实现,减少DOM
This project forked from wanlixi/vue-payinput
基于vue2.0开的一个类似微信支付的组件
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.