GoodsQnaFormWeb.html 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <!DOCTYPE html>
  2. <html lang="ko"
  3. xmlns:th="http://www.thymeleaf.org">
  4. <!--
  5. *******************************************************************************
  6. * @source : GoodsQnaFormWeb.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.05 eskim 최초 작성
  15. *******************************************************************************
  16. -->
  17. <div class="full_popup_wrap">
  18. <h5 class="sr-only">상품문의</h5>
  19. <div class="btn_close">
  20. <a href="javascript:void(0)" onclick="cfCloseFullLayer('layer_goods_qna');">닫기버튼</a>
  21. </div>
  22. <div class="full_pop_header">
  23. <!-- 해당 상품 -->
  24. <div class="item_prod" th:with="imgGoodsUrl=${@environment.getProperty('upload.goods.view')}, uxImgUrl=${@environment.getProperty('domain.uximage')}">
  25. <div class="item_state">
  26. <a href="javascript:void(0);" class="itemLink">
  27. <div class="itemPic">
  28. <img alt="" class="vLHTC pd_img" th:src="${imgGoodsUrl+'/'+goodsInfo.sysImgNm+'?RS=80'}" th:onerror="'this.src=\''+@{${uxImgUrl}+ '/images/pc/thumb/bg_item_none.png'}+'\';'">
  29. </div>
  30. <p class="itemBrand" th:text="${goodsInfo.brandGroupNm}">NBA 키즈</p>
  31. <div class="itemName" th:text="${goodsInfo.goodsFullNm}">유니 삼단블록 플리스 집업 유니 삼단블록 플리스 집업 유니 삼단블록 플리스 집업</div>
  32. <p class="itemPrice"><th:block th:text="${#numbers.formatInteger(goodsInfo.currPrice, 0,'COMMA')}"> 134,100</th:block>
  33. <span class="itemPrice_original" th:if="${goodsInfo.listPrice > goodsInfo.currPrice}" th:text="${#numbers.formatInteger(goodsInfo.listPrice, 0,'COMMA')}">149,000</span>
  34. <span class="itemPercent" th:if="${goodsInfo.dcRate > 0}" th:text="|${#numbers.formatDecimal(goodsInfo.dcRate,0,0)}%|">30%</span>
  35. </p>
  36. </a>
  37. </div>
  38. </div>
  39. <!-- //해당 상품 -->
  40. </div>
  41. <div class="full_pop_container" id="goodsDealQna">
  42. </div>
  43. </div>
  44. <script th:inline="javascript">
  45. /*<![CDATA[*/
  46. // 구성 상품 상세 문의
  47. var fnGoodsDetailQna = function(params) {
  48. gagajf.ajaxSubmit("/goods/detail/qna/frame", "html", "goodsDealQna", params);
  49. }
  50. $(document).ready( function() {
  51. // 상품평정보
  52. var params = new Object();
  53. let goodsCd = [[${goodsInfo.goodsCd}]]
  54. params.goodsCd = goodsCd;
  55. fnGoodsDetailQna(params); // ajax html
  56. });
  57. /*]]>*/
  58. </script>
  59. </html>