GoodsDealDescFormWeb.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. <!DOCTYPE html>
  2. <html lang="ko"
  3. xmlns:th="http://www.thymeleaf.org">
  4. <!--
  5. *******************************************************************************
  6. * @source : GoodsDetailDescFormWeb.html
  7. * @desc : 딜 구상상품상세 Page
  8. *============================================================================
  9. * STYLE24
  10. * Copyright(C) 2020 TSIT, All rights reserved.
  11. *============================================================================
  12. * VER DATE AUTHOR DESCRIPTION
  13. * === =========== ========== =============================================
  14. * 1.0 2021.03.24 eskim 최초 작성
  15. *******************************************************************************
  16. -->
  17. <div class="cont_head">
  18. <h3 class="sr-only">상품상세정보</h3>
  19. </div>
  20. <div class="cont_body" th:with="imgGoodsUrl=${@environment.getProperty('upload.goods.view')}, uxImgUrl=${@environment.getProperty('domain.uximage')}, imgUrl=${@environment.getProperty('upload.image.view')}">
  21. <!-- 상품설명 노출 -->
  22. <div class="descrp_box" th:if="${goodsInfo.tobeFormYn == 'Y'}">
  23. <div class="desc_simple"> <!-- 상품 간략설명-->
  24. <span class="tit_desc" th:if="${goodsInfo.goodsTitle != null and !goodsInfo.goodsTitle.empty}" th:utext="${#strings.unescapeJava(#strings.escapeJava(goodsInfo.goodsTitle))}">사이드 밴딩으로 편안한 만능 슬랙스!</span>
  25. <p class="ptxt01"th:if="${goodsInfo.goodsTitleDesc}" th:utext="${#strings.unescapeJava(#strings.escapeJava(goodsInfo.goodsTitleDesc))}">
  26. 슬림핏에 사이드 밴딩으로 편안함을 더해준 슬랙스입니다.
  27. </p>
  28. </div>
  29. <div class="desc_character" th:if="${goodsInfo.goodsSpecialDesc != null and !goodsInfo.goodsSpecialDesc.empty}"> <!-- 상품특징 -->
  30. <span class="tit_desc">상품특징</span>
  31. <p class="ptxt01" th:utext="${#strings.unescapeJava(#strings.escapeJava(goodsInfo.goodsSpecialDesc))}">
  32. - 지퍼플러 장식을 더해 완성도를 높여줌
  33. </p>
  34. </div>
  35. </div>
  36. <!-- //상품설명 노출 -->
  37. <!-- 관리자 에디터입력 내용 공지 html -->
  38. <div class="mdhtml_box">
  39. <th:block th:if="${goodsNoticeList != null and !goodsNoticeList.empty}" >
  40. <th:block th:each="goodsNotice, status : ${goodsNoticeList}" th:utext="${#strings.unescapeJava(#strings.escapeJava(goodsNotice.noticeContent))}"></th:block >
  41. </th:block>
  42. <!-- 관리자 에디터입력 내용 공지 html -->
  43. <th:block th:each="goodsVideo, status : ${goodsVideoList}">
  44. <div class="movblock">
  45. <th:block th:if="${goodsVideo.videoGb == 'Y'}">
  46. <iframe th:src="${'https://www.youtube.com/embed/'+goodsVideo.kmcKey+'?rel=0'}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
  47. </th:block>
  48. <th:block th:unless="${goodsVideo.videoGb == 'Y'}">
  49. <iframe width="100%" height="100%" th:src="${kollusMediaUrl+'/'+goodsVideo.kmcKey +'?player_version=html5'}" frameborder="0" allowfullscreen webkitallowfullscreen mozallowfullscreen></iframe>
  50. </th:block>
  51. </div>
  52. </th:block>
  53. <!-- 공통상품베너 -->
  54. <th:block th:if="${goodsBannerList != null and !goodsBannerList.empty}">
  55. <th:block th:each="goodsBanner, status : ${goodsBannerList}" >
  56. <th:block th:if="${goodsBanner.strVar1 != null and not #strings.equals(goodsBanner.strVar1, '#')}">
  57. <a th:href="${goodsBanner.strVar1}" target="_blank">
  58. <img th:src="${imgUrl+goodsBanner.imgPath1}" alt="">
  59. </a>
  60. </th:block>
  61. <th:block th:unless="${goodsBanner.strVar1 != null and not #strings.equals(goodsBanner.strVar1, '#')}">
  62. <img th:src="${imgUrl+goodsBanner.imgPath1}" alt="">
  63. </th:block>
  64. </th:block>
  65. </th:block>
  66. <!-- 관리자 에디터입력 내용 노출 상단 html -->
  67. <th:block th:if="${goodsInfo.goodsTopDesc != null and !goodsInfo.goodsTopDesc.empty and goodsInfo.selfGoodsYn =='Y'}" th:utext="${#strings.unescapeJava(#strings.escapeJava(goodsInfo.goodsTopDesc))}"></th:block >
  68. <th:block th:if="${goodsInfo.goodsDesc != null and !goodsInfo.goodsDesc.empty}" th:utext="${#strings.unescapeJava(#strings.escapeJava(goodsInfo.goodsDesc))}"></th:block>
  69. </div>
  70. <th:block th:if="${goodsInfo.tobeFormYn == 'Y'}">
  71. <!-- 착용컷 노출 -->
  72. <div class="view_outfit_box" th:if="${#strings.contains(goodsImgList,'_M1')
  73. or #strings.contains(goodsImgList,'_M2')
  74. or #strings.contains(goodsImgList,'_M3')
  75. or #strings.contains(goodsImgList,'_M4')
  76. or #strings.contains(goodsImgList,'_M5')}">
  77. <span class="tit_view">OUTFIT VIEW</span>
  78. <span class="model_info">(모델정보 : 185cm / 78kg / XL 착용)</span>
  79. <div class="view">
  80. <th:block th:each="goodsImg, status : ${goodsImgList}" th:if="${#strings.contains(goodsImg.sysImgNm,'_M1')
  81. or #strings.contains(goodsImg.sysImgNm,'_M2')
  82. or #strings.contains(goodsImg.sysImgNm,'_M3')
  83. or #strings.contains(goodsImg.sysImgNm,'_M4')
  84. or #strings.contains(goodsImg.sysImgNm,'_M5')}">
  85. <img th:src="${imgGoodsUrl+'/'+goodsImg.sysImgNm+'?RS=720'}" alt="" th:onerror="'this.src=\''+@{${uxImgUrl}+ '/images/pc/thumb/bg_item_none.png'}+'\';'">
  86. </th:block>
  87. </div>
  88. </div>
  89. <!-- //착용컷 노출 -->
  90. <!-- 상품컷 노출 -->
  91. <div class="view_detail_box" th:if="${#strings.contains(goodsImgList,'_01')
  92. or #strings.contains(goodsImgList,'_02')
  93. or #strings.contains(goodsImgList,'_D1')
  94. or #strings.contains(goodsImgList,'_D2')
  95. or #strings.contains(goodsImgList,'_D3')
  96. or #strings.contains(goodsImgList,'_D4')
  97. or #strings.contains(goodsImgList,'_D5')}">
  98. <span class="tit_view">PRODUCT VIEW</span>
  99. <div class="view">
  100. <th:block th:each="goodsImg, status : ${goodsImgList}" th:if="${#strings.contains(goodsImg.sysImgNm,'_01')
  101. or #strings.contains(goodsImg.sysImgNm,'_02')
  102. or #strings.contains(goodsImg.sysImgNm,'_D1')
  103. or #strings.contains(goodsImg.sysImgNm,'_D2')
  104. or #strings.contains(goodsImg.sysImgNm,'_D3')
  105. or #strings.contains(goodsImg.sysImgNm,'_D4')
  106. or #strings.contains(goodsImg.sysImgNm,'_D5')}">
  107. <img th:src="${imgGoodsUrl+'/'+goodsImg.sysImgNm+'?RS=720'}" alt="" th:onerror="'this.src=\''+@{${uxImgUrl}+ '/images/pc/thumb/bg_item_none.png'}+'\';'">
  108. </th:block>
  109. </div>
  110. </div>
  111. <!-- //상품컷 노출 -->
  112. <!-- 원단 노출 -->
  113. <div class="view_fabric_box" th:if="${#strings.contains(goodsImgList,'_S1')}">
  114. <span class="tit_view">FABRIC</span>
  115. <div class="view">
  116. <th:block th:each="goodsImg, status : ${goodsImgList}" th:if="${#strings.contains(goodsImg.sysImgNm,'_S1')}">
  117. <img th:src="${imgGoodsUrl+'/'+goodsImg.sysImgNm+'?RS=720}" alt="" th:onerror="'this.src=\''+@{${uxImgUrl}+ '/images/pc/thumb/bg_item_none.png'}+'\';'">
  118. </th:block>
  119. </div>
  120. </div>
  121. <!-- //원단 노출 -->
  122. <!-- 라벨 노출 -->
  123. <div class="view_label_box" th:if="${#strings.contains(goodsImgList,'_L1')
  124. or #strings.contains(goodsImgList,'_L2')}">
  125. <span class="tit_view">LABEL INFO</span>
  126. <div class="view">
  127. <span>
  128. <th:block th:each="goodsImg, status : ${goodsImgList}" th:if="${#strings.contains(goodsImg.sysImgNm,'_L1')
  129. or #strings.contains(goodsImg.sysImgNm,'_L2')}">
  130. <img th:src="${imgGoodsUrl+'/'+goodsImg.sysImgNm+'?RS=250}" alt="" th:onerror="'this.src=\''+@{${uxImgUrl}+ '/images/pc/thumb/bg_item_none.png'}+'\';'">
  131. </th:block>
  132. </span>
  133. </div>
  134. </div>
  135. <!-- //라벨 노출 -->
  136. </th:block>
  137. <!-- 관리자 에디터입력 내용 노출 하다단 html -->
  138. <div class="mdhtml_box" th:if="${goodsInfo.goodsDownDesc != null and !goodsInfo.goodsDownDesc.empty}" th:utext="${#strings.unescapeJava(#strings.escapeJava(goodsInfo.goodsDownDesc))}"></div>
  139. <!-- 브랜드 노출 -->
  140. <div class="brand_box">
  141. <p class="name" th:text="${goodsInfo.brandGroupNm}">TBJ 티비제이</p>
  142. <a href="javascript:void(0);" class="btn btn_default" th:onclick="cfnGoToBrandMain([[${goodsInfo.brandGroupNo}]])" ><span>브랜드 홈 바로가기</span></a>
  143. </div>
  144. <!-- //브랜드 노출 -->
  145. <!-- 상품필수정보 노출 -->
  146. <div class="required_box" >
  147. <div class="area_infotbl" th:if="${goodsInfo.goodsType == 'G056_N' and goodsNotiList != null and !goodsNotiList.empty}">
  148. <span class="title">상품고시정보</span>
  149. <div class="tbl type1 mt30">
  150. <table>
  151. <tbody>
  152. <tr th:each="goodsNoti, status : ${goodsNotiList}" >
  153. <th th:text="${goodsNoti.niItemNm}">스타일</th>
  154. <td th:text="${goodsNoti.niContent}">F94U-MD01XA60F0</td>
  155. </tr>
  156. </tbody>
  157. </table>
  158. </div>
  159. </div>
  160. <div class="area_infotbl" th:if="${goodsInfo.goodsType == 'G056_S' and goodsComposeList != null and !goodsComposeList.empty}">
  161. <span class="title">상품고시정보</span>
  162. <th:block th:each="goodsCompose, status : ${goodsComposeList}">
  163. <div class="tbl type1 mt30">
  164. <table>
  165. <tbody>
  166. <tr th:each="goodsNoti, status : ${goodsCompose.goodsNotiList}" >
  167. <th th:text="${goodsNoti.niItemNm}">스타일</th>
  168. <td th:text="${goodsNoti.niContent}">F94U-MD01XA60F0</td>
  169. </tr>
  170. </tbody>
  171. </table>
  172. </div>
  173. </th:block>
  174. </div>
  175. <div class="area_kcl" th:if="${goodsSafeNo != null}">
  176. <i class="ico ico_kcl"></i>
  177. <th:block th:if="${not #strings.contains(goodsSafeNo.certNum, '해당')}" >
  178. <p class="tit normal" th:text="${goodsSafeNo.certDiv + ' / ' + goodsSafeNo.certOrganName}">
  179. 어린이제품 안전인증 / 한국건설생활시험연구원(KCL)
  180. </p>
  181. </th:block>
  182. <p class="normal" >
  183. <th:block th:if="${#strings.contains(goodsSafeNo.certNum, '해당')}" >
  184. 해당 없음
  185. </th:block>
  186. <th:block th:unless="${#strings.contains(goodsSafeNo.certNum, '해당')}" >
  187. 인증번호: <th:block th:text="${goodsSafeNo.certNum}"></th:block>
  188. <a th:href="@{http://www.safetykorea.kr/search/searchPop(certNum=${goodsSafeNo.certNum})}" target="_blank" class="linktxt3">상세보기</a>
  189. </th:block>
  190. </p>
  191. <p class="t_info dot_info">
  192. 해당 인증정보는 판매자가 등록한 것으로 등록정보에 대한 일체의 책임은 판매자에게 있습니다.
  193. </p>
  194. </div>
  195. <div class="area_infotbl">
  196. <span class="title">상품기본정보</span>
  197. <div class="tbl type1 mt30">
  198. <table>
  199. <tbody>
  200. <tr>
  201. <th>상품코드</th>
  202. <td th:text="${goodsInfo.goodsCd}">14443216</td>
  203. </tr>
  204. <tr>
  205. <th>상품구분</th>
  206. <td th:text="${goodsInfo.goodsGbNm}">병행수입</td>
  207. </tr>
  208. <tr>
  209. <th>브랜드</th>
  210. <td th:text="${goodsInfo.brandGroupNm}">TBJ</td>
  211. </tr>
  212. <tr>
  213. <th>상품명</th>
  214. <td th:text="${goodsInfo.goodsNm}">남성 테이퍼드 핏 겨울 기모면 스판 올 밴딩 팬츠</td>
  215. </tr>
  216. <th:block th:if="${goodsInfo.goodsType == 'G056_N' and goodsNotiList != null and !goodsNotiList.empty}">
  217. <th:block th:each="goodsNoti, status : ${goodsNotiList}" th:if="${goodsNoti.niItemCd == 'G005_005'}">
  218. <tr>
  219. <th th:text="${goodsNoti.niItemNm}">제조사</th>
  220. <td th:text="${goodsNoti.niContent}"></td>
  221. </tr>
  222. </th:block>
  223. </th:block>
  224. <tr>
  225. <th>제조국</th>
  226. <td th:text="${goodsInfo.originNm}">베트남</td>
  227. </tr>
  228. </tbody>
  229. </table>
  230. </div>
  231. <p class="t_info dot_info mt20">
  232. 주문제작 상품의 경우 주문 후 제작되어 판매되는 상품으로 제작 시점부터 반품/교환이 어려울 수 있습니다.
  233. </p>
  234. </div>
  235. </div>
  236. <!-- //상품필수정보 노출 -->
  237. </div>
  238. <div class="btn_more_box covered">
  239. <button type="button" class="btn btn_default btn_md">
  240. <span>상세정보 더보기</span>
  241. </button>
  242. </div>
  243. <script th:inline="javascript">
  244. /*<![CDATA[*/
  245. // 상품상세 asis html 이지미 경로 수정
  246. $(document).ready( function() {
  247. $(".pd_descrp_pop .cont_body").find('img').each(function() {
  248. let tmpImgSrc = $(this).attr('src');
  249. if (tmpImgSrc.indexOf('Upload') == 1 ){ // /Upload
  250. $(this).attr('src' , tmpImgSrc.replace('/Upload', _imgUrl+"/Local"));
  251. }
  252. });
  253. });
  254. /*]]>*/
  255. </script>
  256. </html>