bindphone.cshtml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <!DOCTYPE html>
  2. <html>
  3. <head lang="en">
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  6. <meta name="viewport" content="height=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0">
  7. <title>绑定手机号</title>
  8. <link rel="stylesheet" href="css/common.css" />
  9. <link rel="stylesheet" href="css/register.css" />
  10. <script type="text/javascript" src="/lib/jquery/dist/jquery.js"></script>
  11. <script>
  12. function submit_22(){
  13. if(jQuery.trim($("#AccountName").val()) == ''){
  14. alert("请填用户名");
  15. return false;
  16. }
  17. if (jQuery.trim($("#AccountPassword").val()) == ''){
  18. alert("请填密码");
  19. return false;
  20. }
  21. if (jQuery.trim($("#AccountPhone").val()) == ''){
  22. alert("请填手机号");
  23. return false;
  24. }
  25. $("form[name='form66']").submit();
  26. }
  27. function setPhone() {
  28. var phone = jQuery.trim($("#AccountName").val());
  29. $("#AccountPhone").val(phone);
  30. }
  31. </script>
  32. </head>
  33. <body>
  34. <div class="register">
  35. <div class="regTop">
  36. <span>绑定手机号</span>
  37. <!--<a class="back" href="index.html">&lt;&nbsp;返回</a>-->
  38. </div>
  39. <div class="content">
  40. <div class="point">
  41. <span>绑定成功后,才可以用账户密码登录。</span>
  42. </div>
  43. <form action="/web/supplymobile/bindphone" enctype="multipart/form-data" method="post" name="form66" >
  44. <div class="message">
  45. <input type="text" name="AccountName" id="AccountName" placeholder="账户名(即手机号)" onblur="setPhone();" pattern="" required />
  46. <input type="text" name="AccountPassword" id="AccountPassword" placeholder="密码" pattern="" required />
  47. <input type="tel" name="AccountPhone" id="AccountPhone" placeholder="输入手机号" pattern="[0-9]{11}" required />
  48. <!--<input type="password" placeholder="请输入6-25位密码" pattern="[0-9A-Za-z]{6,25}" required/>
  49. <input type="password" placeholder="请再次输入密码" pattern="[0-9A-Za-z]{6,25}" required/>
  50. <input type="text" placeholder="输入验证码" pattern="[0-9]{6}" required/>
  51. <div class="icons">
  52. <b><img src="images/zc-1.jpg" alt="" /></b>
  53. <b><img src="images/zc-2.jpg" alt="" /></b>
  54. <b><img src="images/zc-3.jpg" alt="" /></b>
  55. <b><img src="images/zc-3.jpg" alt="" /></b>
  56. </div>
  57. <a class="code" href="default.htm" required>获取验证码</a>-->
  58. </div>
  59. <!--<div class="agree">
  60. <input type="checkbox"/><span>&nbsp;同意&nbsp;</span><a href="default.htm">《注册协议》</a>
  61. </div>-->
  62. <button class="submit" type="button" onclick="submit_22();">注册</button>
  63. </form>
  64. </div>
  65. </div>
  66. </body>
  67. </html>