vue.js 必填字段_花式Vue信用卡字段,其模仿Stripe.js并完全兼容

vue.js 必填字段

信用卡卡场 (vue-credit-card-field)

This is meant to be a standalone Vue component that mimics the UI/UX of Stripe.js without using an iframe AND is fully compatible with Bootstrap 4.

这意味着它是一个独立的Vue组件,无需使用iframe即可模拟Stripe.js的UI / UX,并且与Bootstrap 4完全兼容。

This component is no way meant to replace Stripe.js if you are already using it. However, this component is a great alternative for processors such as Authorize.net or as an alternative to having individual fields littering your form.

如果您已经在使用它,则该组件无意替换Stripe.js。 但是,此组件是诸如Authorize.net之类的处理器的理想替代品,或者是使各个字段乱七八糟的形式的替代品。

A fancy Vue credit card field that mimics Stripe.js and is fully compatible with Bootstrap 4.

一个精美的Vue信用卡字段,它模仿Stripe.js并与Bootstrap 4完全兼容。

特征 (Features)

Fancy UI/UX to that attempts to mimic Stripe.js's proven design Fully compatible and designed for Bootstrap 4 Extensible and written in ES6 Responsive for mobile, tablets, and desktop Inline error handling and client side validation fields on a form

精美的UI / UX,试图模仿Stripe.js久经考验的设计完全兼容并设计用于Bootstrap 4可扩展并用ES6编写响应于移动设备,平板电脑和台式机的内联错误处理以及表单上的客户端验证字段

安装 (Installation)

NPM (NPM)
npm install vue-credit-card-field --save
CDN (CDN)
https://www.jsdelivr.com/package/npm/vue-credit-card-field

样本语法 (Sample Syntax)

<credit-card-field v-model="card"></credit-card-field>

翻译自: https://vuejsexamples.com/a-fancy-vue-credit-card-field-that-mimics-stripe-js-and-is-fully-compatible/

vue.js 必填字段

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值