member-signup-agree.blade.php 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. @extends('views.layouts.master')
  2. @section('content')
  3. <!--inner Title Start -->
  4. <div class="sms_title_main_wrapper">
  5. <div class="container">
  6. <div class="row">
  7. <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
  8. <div class="sms_inner_title_heading full_width">
  9. <h2>signup agree</h2>
  10. <ul>
  11. <li><a href="#">Home</a> &nbsp;&nbsp;&nbsp;/</li>
  12. <li>signup agree</li>
  13. </ul>
  14. </div>
  15. </div>
  16. </div>
  17. </div>
  18. </div>
  19. <!-- inner Title End -->
  20. <!-- login register Wrapper start -->
  21. <div class="login_wrapper_top full_width">
  22. <div class="container">
  23. <div class="row">
  24. <div class="col-xl-6 col-lg-12 col-md-12">
  25. <div class="login_tab_top_wrap full_width">
  26. <div class="tab-content full_width">
  27. <div>
  28. <div class="row">
  29. <div class="login_wrapper full_width">
  30. <h5 class="main_top_heading">서비스 이용 약관 동의</h5>
  31. <dl class="agree_check">
  32. <dt>
  33. <input type="checkbox" id="all-ck"> 이용 약관에 모두 동의합니다.
  34. </dt>
  35. <div id="required-div">
  36. <dd><input type="checkbox"> <em>[필수]</em> 만 18세 이상 입니다.</dd>
  37. <dd><input type="checkbox"> <em>[필수]</em>당근토큰 웹 서비스 이용약관</dd>
  38. <dd><input type="checkbox"> <em>[필수]</em>당근토큰 웹 서비스 이용약관</dd>
  39. <dd><input type="checkbox"> <em>[필수]</em> 전자금융거래 이용약관</dd>
  40. <dd><input type="checkbox"> <em>[필수]</em> 개인정보 수집 및 이용 동의</dd>
  41. <dd><input type="checkbox"> <em>[필수]</em> 마케팅 수신 동의</dd>
  42. </div>
  43. </dl>
  44. <div class="js_btn_wrapper full_width">
  45. <button type="button" class="submitForm" onclick="all_check()">가입하기</button>
  46. </div>
  47. </div>
  48. </div>
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. <!-- login register Wrapper end -->
  57. @endsection
  58. @push('js')
  59. <script>
  60. $('#all-ck').click(function(){
  61. const checked = $(this).is(':checked');
  62. if (checked) {
  63. $('input:checkbox').prop('checked', true);
  64. }
  65. });
  66. function all_check() {
  67. let all_check = true
  68. $('#required-div input').each(function () {
  69. if (! $(this).is(':checked')) {
  70. all_check = false
  71. }
  72. })
  73. if (all_check) {
  74. location.href = '{{ route('member-signup-verify.index') }}'
  75. return
  76. }
  77. iziToast.info({ title: 'Info', message: '이용약관에 동의하셔야 합니다' });
  78. }
  79. </script>
  80. @endpush