diff --git a/public/themes/simpleboot3/friendship/enter_password.html b/public/themes/simpleboot3/friendship/enter_password.html
index 96d6fcf..cfe0ffa 100644
--- a/public/themes/simpleboot3/friendship/enter_password.html
+++ b/public/themes/simpleboot3/friendship/enter_password.html
@@ -72,22 +72,22 @@
     <p class="passwordnum">输入密码</p>
     <ul class="enterpassword" id="wrap">
         <li>
-            <input type="number" class="entercode">
+            <input type="number" class="entercode" maxlength='1'>
         </li>
         <li>
-            <input type="number" class="entercode">
+            <input type="number" class="entercode" maxlength='1'>
         </li>
         <li>
-            <input type="number" class="entercode">
+            <input type="number" class="entercode" maxlength='1'>
         </li>
         <li>
-            <input type="number" class="entercode">
+            <input type="number" class="entercode" maxlength='1'>
         </li>
         <li>
-            <input type="number" class="entercode">
+            <input type="number" class="entercode" maxlength='1'>
         </li>
         <li>
-            <input type="number" class="entercode">
+            <input type="number" class="entercode" maxlength='1'>
         </li>
     </ul>
     <p class="nextstep">下一步</p>
diff --git a/public/themes/simpleboot3/friendship/sure_password.html b/public/themes/simpleboot3/friendship/sure_password.html
index 596c1ae..41e5eb4 100644
--- a/public/themes/simpleboot3/friendship/sure_password.html
+++ b/public/themes/simpleboot3/friendship/sure_password.html
@@ -60,7 +60,6 @@
             list-style: none;
             text-align: center;
             border:none;
-
         }
     </style>
 </head>
@@ -69,22 +68,22 @@
     <p class="passwordnum">确认密码</p>
     <ul class="enterpassword" id="wrap">
         <li>
-            <input type="number" class="entercode">
+            <input type="number" class="entercode" maxlength='1'>
         </li>
         <li>
-            <input type="number" class="entercode">
+            <input type="number" class="entercode" maxlength='1'>
         </li>
         <li>
-            <input type="number" class="entercode">
+            <input type="number" class="entercode" maxlength='1'>
         </li>
         <li>
-            <input type="number" class="entercode">
+            <input type="number" class="entercode" maxlength='1'>
         </li>
         <li>
-            <input type="number" class="entercode">
+            <input type="number" class="entercode" maxlength='1'>
         </li>
         <li>
-            <input type="number" class="entercode">
+            <input type="number" class="entercode" maxlength='1'>
         </li>
     </ul>
     <p class="nextstep">确认</p>