SingleInput 单输入框 
概述
SingleInput 单输入框,每个输入框只允许输入一个字符,主要用于验证码、密码输入框等。
# 引入
以下介绍两种常用的引入方式。
第一种:在页面json文件中引入
{
"navigationBarTitleText": "验证码输入",
"usingComponents": {
"fui-single-input": "/components/firstui/fui-single-input/fui-single-input"
}
}
1
2
3
4
5
6
2
3
4
5
6
第二种:在根目录app.json文件中全局引入
"usingComponents": {
"fui-single-input": "components/firstui/fui-single-input/fui-single-input"
}
1
2
3
2
3
# 代码演示
代码演示、属性列表等详细内容仅VIP用户可查看。
示例预览
# 特别说明
