tplus-components-touch
v1.27.2
Published
### keyboard 键盘 1. 分五类:两个only, 只是弹框. (1) type='only' OnlyKeyboard 单独的键盘弹框, 需要传入 type, value, visible, onChange, handleOk, handleCancel; (2) type='onlytext' OnlyTextKeyboard 单独的键盘弹框, 需要传入 type, value, visible, title, handleOk, handleCancel; (3) type=
Downloads
1,156
Readme
tplus-components-touch
keyboard 键盘
- 分五类:两个only, 只是弹框. (1) type='only' OnlyKeyboard 单独的键盘弹框, 需要传入 type, value, visible, onChange, handleOk, handleCancel; (2) type='onlytext' OnlyTextKeyboard 单独的键盘弹框, 需要传入 type, value, visible, title, handleOk, handleCancel; (3) type='letter' LetterKeyboard => (input + only) value, onChange, handleOk, handleCancel; (4) type='number' NumberKeyboard 数字+输入框 value, handleOk ; (5) type='text' TextKeyboard => (onlytext + div) title, value, handleOk, handleCancel;
- LetterKeyboard 与 TextKeyboard 是 Model 对话框, NumberKeyboard 是 Popover 气泡卡片;
- LetterKeyboard 有 suffix 属性, 则有后缀 icon, 点击召唤键盘;
product 商品 (业务组件)
- 一级菜单、二级菜单使用 swiper 组件;
- 一级菜单中 常用、全部, 由接口返回, 对应 id 为 -2、-1;
- 查询条码的输入框, 时间间隔为1s, 实时查询, 使用 LetterKeyboard, key 与 id 互斥;
- <Product onClick={(value) => {console.log(value)}} />