CardPrmtFormWeb.html 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <!DOCTYPE html>
  2. <html lang="ko"
  3. xmlns:th="http://www.thymeleaf.org">
  4. <!--
  5. *******************************************************************************
  6. * @source : CardPrmtFormWeb.html
  7. * @desc : 카드 혜택안내
  8. *============================================================================
  9. * Wivismall
  10. * Copyright(C) 2020 TSIT, All rights reserved.
  11. *============================================================================
  12. * VER DATE AUTHOR DESCRIPTION
  13. * === =========== ========== =============================================
  14. * 1.0 2021.03.02 eskim 최초 작성
  15. *******************************************************************************
  16. -->
  17. <div class="modal-dialog" role="document">
  18. <div class="modal-content">
  19. <div class="modal-header">
  20. <h5 class="modal-title" id="bnfCardLabel">카드혜택</h5>
  21. </div>
  22. <div class="modal-body" th:if="${cardInfoList != null and !cardInfoList.empty}">
  23. <div class="pop_cont">
  24. <div class="benefit_blk">
  25. <h6>할인혜택</h6>
  26. <div class="tbl type1">
  27. <table>
  28. <colgroup>
  29. <col width="140">
  30. <col width="290">
  31. <col width="*">
  32. </colgroup>
  33. <tbody>
  34. <tr th:each="cardInfo, status : ${cardInfoList}" th:if="${cardInfo.prmtGb == 'A' }">
  35. <th th:text="${cardInfo.prmtTargetNm}">KB국민카드</th>
  36. <td>
  37. <div class="info_card">
  38. <th:block th:if="${cardInfo.dcGb == '3'}">
  39. <p th:text="${cardInfo.prmtNm}">5% 즉시할인</p>
  40. <p th:text="${cardInfo.note}">할인</p>
  41. </th:block>
  42. <th:block th:unless="${cardInfo.dcGb == '3'}">
  43. <p th:text="${#numbers.formatInteger(cardInfo.dcVal, 0,'COMMA')+ cardInfo.dcWayNm + ' ' + cardInfo.prmtGbNm}">5% 즉시할인</p>
  44. <p th:text="${cardInfo.minPayAmt + '만원 이상 구매 시 최대 ' + #numbers.formatInteger(cardInfo.maxDcAmt, 0,'COMMA') + '원 할인 '}">7만원 이상 구매 시 최대 5만원 할인</p>
  45. </th:block>
  46. </div>
  47. </td>
  48. <td>
  49. <th:block th:if="${not #strings.isEmpty(cardInfo.linkUrl)}"><a th:href="${cardInfo.linkUrl}" target="_blank" class="btn_more" >자세히보기</a></th:block>
  50. </td>
  51. </tr>
  52. </tbody>
  53. </table>
  54. </div>
  55. </div>
  56. <div class="benefit_blk">
  57. <h6>무이자 할부</h6>
  58. <div class="tbl type1">
  59. <table>
  60. <colgroup>
  61. <col width="140">
  62. <col width="*">
  63. </colgroup>
  64. <tbody>
  65. <tr th:each="cardInfo, status : ${cardInfoList}" th:if="${cardInfo.prmtGb == 'B' }">
  66. <th th:text="${cardInfo.prmtTargetNm}">KB국민카드</th>
  67. <td>
  68. <div class="info_card">
  69. <p th:text="${cardInfo.minNoItrt + '~' + cardInfo.maxNoItrt + '개월 무이자'}">2~6개월 무이자</p>
  70. <p th:text="${cardInfo.minPayAmt + '만원 이상 구매 시'}">5만원 이상 구매 시</p>
  71. </div>
  72. </td>
  73. </tr>
  74. </tbody>
  75. </table>
  76. </div>
  77. </div>
  78. <th:block th:each="cardInfo, status : ${cardInfoList}" >
  79. <div class="benefit_blk" th:if="${cardInfo.prmtGb == 'B' and not #strings.isEmpty(cardInfo.note) and cardInfo.rownum == 1}">
  80. <th:block >
  81. <h6>부분 무이자 할부</h6>
  82. <th:block th:utext="${#strings.unescapeJava(#strings.escapeJava(cardInfo.note))}"></th:block>
  83. <div class="info_txt">
  84. <ul>
  85. <li>무이자할부는 행사기간 동안 실 결제금액 기준으로 가능</li>
  86. <li>법인, 체크, 기프트 카드는 부분 무이자 할부 제외</li>
  87. </ul>
  88. </div>
  89. </th:block>
  90. </div>
  91. </th:block>
  92. </div>
  93. </div>
  94. </div>
  95. </div>
  96. <a href="#close-modal" rel="modal:close" onclick="cfCloseLayer('layer_card_benefit')" class="close-modal">Close</a>
  97. </html>