CardPrmtFormWeb.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <!DOCTYPE html>
  2. <html lang="ko"
  3. xmlns:th="http://www.thymeleaf.org">
  4. <!--
  5. *******************************************************************************
  6. * @source : CardPrmtFormWeb.html
  7. * @desc : 카드 혜택안내 팝업
  8. *============================================================================
  9. * STYLE24
  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. <th:block th:with="selection=${cardInfoList.?[prmtGb == 'A']}">
  25. <div class="benefit_blk" th:if="${selection.size() > 0}">
  26. <th:block >
  27. <h6>할인혜택</h6>
  28. <div class="tbl type1">
  29. <table>
  30. <colgroup>
  31. <col width="140">
  32. <col width="290">
  33. <col width="*">
  34. </colgroup>
  35. <tbody>
  36. <tr th:each="cardInfo, status : ${cardInfoList}" th:if="${cardInfo.prmtGb == 'A' }">
  37. <th th:text="${cardInfo.prmtTargetNm}">KB국민카드</th>
  38. <td>
  39. <div class="info_card">
  40. <th:block th:if="${cardInfo.dcGb == '3'}">
  41. <p th:text="${cardInfo.prmtNm}">5% 즉시할인</p>
  42. <p th:text="${cardInfo.note}">할인</p>
  43. </th:block>
  44. <th:block th:unless="${cardInfo.dcGb == '3'}">
  45. <p th:text="${#numbers.formatInteger(cardInfo.dcVal, 0,'COMMA')+ cardInfo.dcWayNm + ' ' + cardInfo.prmtGbNm}">5% 즉시할인</p>
  46. <p th:text="${#numbers.formatInteger(cardInfo.minPayAmt, 0,'COMMA') + '원 이상 구매 시 최대 ' + #numbers.formatInteger(cardInfo.maxDcAmt, 0,'COMMA') + '원 할인 '}">7만원 이상 구매 시 최대 5만원 할인</p>
  47. </th:block>
  48. </div>
  49. </td>
  50. <td>
  51. <th:block th:if="${not #strings.isEmpty(cardInfo.linkUrl)}"><a th:href="${cardInfo.linkUrl}" target="_blank" class="btn_more" >자세히보기</a></th:block>
  52. </td>
  53. </tr>
  54. </tbody>
  55. </table>
  56. </div>
  57. </th:block>
  58. </div>
  59. </th:block>
  60. <th:block th:with="selection=${cardInfoList.?[prmtGb == 'B']}">
  61. <div class="benefit_blk" th:if="${selection.size() > 0}" >
  62. <h6>무이자 할부</h6>
  63. <div class="tbl type1">
  64. <table>
  65. <colgroup>
  66. <col width="140">
  67. <col width="*">
  68. </colgroup>
  69. <tbody>
  70. <tr th:each="cardInfo, status : ${cardInfoList}" th:if="${cardInfo.prmtGb == 'B' }">
  71. <th th:text="${cardInfo.prmtTargetNm}">KB국민카드</th>
  72. <td>
  73. <div class="info_card">
  74. <p th:text="${cardInfo.minNoItrt + '~' + cardInfo.maxNoItrt + '개월 무이자'}">2~6개월 무이자</p>
  75. <p th:text="${#numbers.formatInteger(cardInfo.minPayAmt, 0,'COMMA') + '원 이상 구매 시'}">5만원 이상 구매 시</p>
  76. </div>
  77. </td>
  78. </tr>
  79. </tbody>
  80. </table>
  81. </div>
  82. </div>
  83. </th:block>
  84. <th:block th:each="cardInfo, status : ${cardInfoList}" >
  85. <div class="benefit_blk" th:if="${cardInfo.prmtGb == 'B' and not #strings.isEmpty(cardInfo.note) and cardInfo.rownum == 1}">
  86. <h6>부분 무이자 할부</h6>
  87. <th:block th:utext="${#strings.unescapeJava(#strings.escapeJava(cardInfo.note))}"></th:block>
  88. </div>
  89. </th:block>
  90. <div class="benefit_blk" >
  91. <div class="info_txt">
  92. <ul>
  93. <li>무이자할부는 행사기간 동안 실 결제금액 기준으로 가능</li>
  94. <li>법인, 체크, 기프트 카드는 부분 무이자 할부 제외</li>
  95. </ul>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. </div>
  101. </div>
  102. <a href="javascript:void(0);" rel="modal:close" onclick="cfCloseLayer('layer_card_benefit')" class="close-modal">Close</a>
  103. </html>