CardPrmtFormMob.html 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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="exampleFullLabel">카드혜택</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. <h6>할인혜택</h6>
  27. <div class="tbl type1" >
  28. <table >
  29. <colgroup >
  30. <col width="85" >
  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="${#numbers.formatInteger(cardInfo.minPayAmt, 0,'COMMA') + '원 이상 구매 시 최대 ' + #numbers.formatInteger(cardInfo.maxDcAmt, 0,'COMMA') + '원 할인 '}">7만원 이상 구매 시 최대 5만원 할인</p>
  45. </th:block>
  46. <th:block th:if="${not #strings.isEmpty(cardInfo.linkUrl)}"><a th:href="${cardInfo.linkUrl}" target="_blank" class="link" >자세히보기</a></th:block>
  47. </div>
  48. </td>
  49. </tr>
  50. </tbody>
  51. </table>
  52. </div>
  53. </div>
  54. <th:block th:with="selection=${cardInfoList.?[prmtGb == 'B']}">
  55. <div class="benefit_blk" th:if="${selection.size() > 0}">
  56. <h6>무이자 할부</h6>
  57. <div class="tbl type1">
  58. <table>
  59. <colgroup>
  60. <col width="85">
  61. <col width="*">
  62. </colgroup>
  63. <tbody>
  64. <tr th:each="cardInfo, status : ${cardInfoList}" th:if="${cardInfo.prmtGb == 'B' }">
  65. <th th:text="${cardInfo.prmtTargetNm}">KB국민카드</th>
  66. <td>
  67. <div class="info_card">
  68. <p th:text="${cardInfo.minNoItrt + '~' + cardInfo.maxNoItrt + '개월 무이자'}">2~6개월 무이자</p>
  69. <p th:text="${#numbers.formatInteger(cardInfo.minPayAmt, 0,'COMMA') + '원 이상 구매 시'}">5만원 이상 구매 시</p>
  70. </div>
  71. </td>
  72. </tr>
  73. </tbody>
  74. </table>
  75. </div>
  76. </div>
  77. </th:block>
  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. <h6>부분 무이자 할부</h6>
  81. <th:block th:utext="${#strings.unescapeJava(#strings.escapeJava(cardInfo.note))}"></th:block>
  82. </div>
  83. </th:block>
  84. <div class="benefit_blk" >
  85. <div class="info_txt">
  86. <ul>
  87. <li>무이자할부는 행사기간 동안 실 결제금액 기준으로 가능</li>
  88. <li>법인, 체크, 기프트 카드는 부분 무이자 할부 제외</li>
  89. </ul>
  90. </div>
  91. </div>
  92. </div>
  93. </div>
  94. </div>
  95. </div>
  96. <a href="javascript:void(0);" rel="modal:close" onclick="cfCloseLayer('layer_card_benefit')" class="close-modal">Close</a>
  97. </html>