cart.blade.php 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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>cart</h2>
  10. <ul>
  11. <li><a href="#">Home</a> &nbsp;&nbsp;&nbsp;/</li>
  12. <li>cart</li>
  13. </ul>
  14. </div>
  15. </div>
  16. </div>
  17. </div>
  18. </div>
  19. <!-- inner Title End -->
  20. <!-- about us wrapper start -->
  21. <div class="full_width sub_wrapper cart">
  22. <!-- container 시작 -->
  23. <div class="container">
  24. <!-- row 시작 -->
  25. <div class="row">
  26. <!-- 왼쪽 시작 -->
  27. <div class="left col-xl-8 col-lg-8 col-md-12 col-sm-12 col-xs-12">
  28. <div class="tb_wrap" id="modal-cart">
  29. <div class="table-responsive">
  30. <table class="table table-row cart-table" style="table-layout: fixed; min-width:747px;">
  31. <thead>
  32. <tr>
  33. <th class="info" style="width: 20%">상품</th>
  34. <th class="price text-center" style="width: 10%">가격</th>
  35. <th class="amount text-center" style="width: 7%">수량</th>
  36. <th class="sucm text-center" style="width: 10%">소계</th>
  37. <th class="del" style="width: 5%"></th>
  38. </tr>
  39. </thead>
  40. <tbody id="cart-table-body">
  41. <tr>
  42. <td class="info">
  43. <div class="d-flex align-items-center">
  44. <img src="{{ asset('/themes/eyerecord/pro/resources/images/pic.jpg') }}">
  45. <p class="mx-0">
  46. <a href="#">상품이름이 들어갑니다.</a>
  47. </p>
  48. </div>
  49. </td>
  50. <td class="price">₩ 0,000,000</td>
  51. <td class="amount"><input type="number" class="w-100" min="1" onchange="cart_qty_update(this, ' $cart['Id'] }}')" value="000"></td>
  52. <td class="sum">₩ 0,000,000</td>
  53. <td class="del"><i class="fas fa-trash-alt" role="button" onclick="cart_delete('$cart['Id'] }}')"></i></td>
  54. </tr>
  55. <tr>
  56. <td class="info">
  57. <div class="d-flex align-items-center">
  58. <img src="{{ asset('/themes/eyerecord/pro/resources/images/pic.jpg') }}">
  59. <p class="mx-0">
  60. <a href="#">상품이름이 들어갑니다.</a>
  61. </p>
  62. </div>
  63. </td>
  64. <td class="price">₩ 0,000,000</td>
  65. <td class="amount"><input type="number" class="w-100" min="1" onchange="cart_qty_update(this, ' $cart['Id'] }}')" value="000"></td>
  66. <td class="sum">₩ 0,000,000</td>
  67. <td class="del"><i class="fas fa-trash-alt" role="button" onclick="cart_delete('$cart['Id'] }}')"></i></td>
  68. </tr>
  69. </tbody>
  70. </table>
  71. </div>
  72. <div class="btn_wrap">
  73. <select class="modal-line-select rounded" data-target="cart">
  74. @include('front.outline.moption')
  75. </select>
  76. <div class="input_box">
  77. <input type="text"><button type="button" class="btn">쿠폰적용</button>
  78. </div>
  79. <!-- 페이지네이션 시작 -->
  80. <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12">
  81. <div class="blog_pagination_section full_width">
  82. <ul>
  83. <li>
  84. <a href="#" class="prev"> <i class="flaticon-left-arrow"></i>
  85. </a>
  86. </li>
  87. <li><a href="#">1</a>
  88. </li>
  89. <li class="third_pagger"><a href="#">2</a>
  90. </li>
  91. <li class="d-block d-sm-block d-md-block d-lg-block"><a href="#">3</a>
  92. </li>
  93. <li class="d-none d-sm-block d-md-block d-lg-block"><a href="#">...</a>
  94. </li>
  95. <li class="d-none d-sm-block d-md-block d-lg-block"><a href="#">6</a>
  96. </li>
  97. <li>
  98. <a href="#" class="next"> <i class="flaticon-right-arrow"></i>
  99. </a>
  100. </li>
  101. </ul>
  102. </div>
  103. </div>
  104. <!--// 페이지네이션 끝 -->
  105. </div>
  106. </div>
  107. </div>
  108. <!--// 왼쪽 끝 -->
  109. <!-- 오른쪽 시작 -->
  110. <div class="right col-xl-4 col-lg-4 col-md-12 col-sm-12 col-xs-12" id="cart-total-box">
  111. <div class="sidebar_widget full_width">
  112. <strong class="accordion"><span>장바구니 합계</span></strong>
  113. <dl class="info_box">
  114. <dt>소계</dt>
  115. <dd>₩ <span id="amt-total">0,000,000</span></dd>
  116. </dl>
  117. <dl class="sum_box">
  118. <dt>총계</dt>
  119. <dd>₩ <span id="total" style="color: #ea5520;">0,000,000</span></dd>
  120. </dl>
  121. <div class="btn_wrap">
  122. <button type="button" class="btn btn-primary" onclick="checkout()">결제 진행하기</button>
  123. </div>
  124. </div>
  125. </div>
  126. <!-- 오른쪽 끝 -->
  127. </div>
  128. <!--// row 끝 -->
  129. </div>
  130. <!--// container 끝 -->
  131. </div>
  132. @endsection