maxlength='6'     表示input框最多输入6个字符串

password='true'  表示该input会自动加密,看不到输入的内容 

<input password="true" maxlength="6" placeholder="请输入密码" />

微信小程序

TAG标签: 微信小程序小程序大小限制

http://www.xiaochengxub.com/read-106626.html