Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.
/ wepy-com-pwdfield Public archive

明密文输入框,支持4或6位。用于支付密码/房间号/验证码输入等。wepy组件。

Notifications You must be signed in to change notification settings

colmugx/wepy-com-pwdfield

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wepy-com-pwdfield

NPM

适用于房间号输入,验证码输入,密码等有位数限制明密文输入框

安装 Install

npm install -S wepy-com-pwdfield

使用 Usage

import Pwdfield from 'wepy-com-pwdfield'

export ...

    components = {
      pwdfield: Pwdfield
    }
<pwdfield :sixdig="sixdig" :display="display" color="#444751" @value="handleValue" />

默认是选择数字,从14,颜色是#444751

配置 Options

Api

参数 说明 类型 可选值 默认值
sixdig 开启六位数 Boolean - -
display 明密文 Boolean - true
color 边框颜色 String - #444751

Event

参数 说明 返回值
value 实时获取填写变化 String

About

明密文输入框,支持4或6位。用于支付密码/房间号/验证码输入等。wepy组件。

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published