针对chrome与firefox内核
<input type='text' style='display:none'> <!-- 针对firefox --> 用户名:<input type='text' autocomplete='off'> 密码:<input type='password' autocomplete='new-password'>
或
<input type='password' autocomplete="new-password" style="" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);" />>