mobile.blade.php 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. @extends('home.user.frame')
  2. @section('main')
  3. <form method="post" id="form_submit">
  4. {{ csrf_field() }}
  5. <table class="form-input" style="width: 336px !important;">
  6. <tr>
  7. <th></th>
  8. <th class="user-form-title">修改绑定手机</th>
  9. </tr>
  10. <tr>
  11. <td>
  12. <i>&nbsp;</i><label>原手机号码</label>:
  13. </td>
  14. <td>
  15. <input type="text" value="{{ $user->mobile }}" disabled="disabled" />
  16. </td>
  17. </tr>
  18. <tr>
  19. <td></td>
  20. <td class="padding-b10">&nbsp;</td>
  21. </tr>
  22. <tr>
  23. <td>
  24. <i>*</i><label for="mobile" id="label_mobile">新手机号码</label>:
  25. </td>
  26. <td>
  27. <input type="text" maxlength="11" placeholder="请输入您的新手机号码" id="mobile" name="mobile" value="{{ old('mobile') ? old('mobile') : '' }}" required="required" />
  28. </td>
  29. </tr>
  30. <tr>
  31. <td></td>
  32. <td class="padding-b10">
  33. <span class="red" id="error_mobile">
  34. @if ($errors->has('mobile'))
  35. {{ $errors->first('mobile') }}
  36. @endif
  37. &nbsp;
  38. </span>
  39. </td>
  40. </tr>
  41. <tr>
  42. <td>
  43. <i>*</i><label for="captcha" id="label_captcha">验证码</label>:
  44. </td>
  45. <td>
  46. <input class="width-100" maxlength="6" type="text" placeholder="短信验证码" id="captcha" name="captcha" required="required" />
  47. <button id="btn_sendSms" type="button" class="right margin-t5">获取验证码</button>
  48. </td>
  49. </tr>
  50. <tr>
  51. <td></td>
  52. <td class="padding-b10">
  53. <span class="red" id="error_captcha">
  54. @if ($errors->has('captcha'))
  55. {{ $errors->first('captcha') }}
  56. @endif
  57. &nbsp;
  58. </span>
  59. </td>
  60. </tr>
  61. <tr>
  62. <td></td>
  63. <td>
  64. <button id="btn_submit" type="text" value="修改手机">确定</button>
  65. </td>
  66. </tr>
  67. </table>
  68. </form>
  69. @stop
  70. @section('javascript')
  71. <script src="{{ asset('js/val_user.js') }}"></script>
  72. @stop