GoodsReviewDetailFormMob.html 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. <!DOCTYPE html>
  2. <html lang="ko"
  3. xmlns:th="http://www.thymeleaf.org">
  4. <!--
  5. *******************************************************************************
  6. * @source : GoodsReviewDetailFormMob.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.04.07 eskim 최초 작성
  15. *******************************************************************************
  16. -->
  17. <div class="modal-dialog" role="document" th:with="imgGoodsUrl=${@environment.getProperty('upload.goods.view')}, uxImgUrl=${@environment.getProperty('domain.uximage')}, imgUrl=${@environment.getProperty('upload.image.view')}">
  18. <div class="modal-content">
  19. <div class="modal-header">
  20. <th:block th:if="${review.bestYn == 'Y'}">
  21. <h5 class="modal-title" id="exampleFullLabel">베스트 리뷰</h5>
  22. </th:block>
  23. <th:block th:unless="${review.bestYn == 'Y'}">
  24. <h5 class="modal-title" id="exampleFullLabel">
  25. <button type="button" id="btn_more_photoreview"></button>
  26. 포토/영상리뷰
  27. </h5>
  28. </th:block>
  29. </div>
  30. <div class="modal-body" th:if="${reviewList != null and !reviewList.empty}">
  31. <div class="pop_cont" th:each="review, status : ${reviewList}" >
  32. <!-- 리뷰사진영역 -->
  33. <div class="area_slider">
  34. <div class="swiper-container thumb_list">
  35. <div class="swiper-wrapper">
  36. <th:block th:if="${review.reviewAttachList != null and !review.reviewAttachList.empty}" >
  37. <th:block th:each="reviewAttach, attachStatus : ${review.reviewAttachList}">
  38. <div class="swiper-slide">
  39. <div class="thumb " th:classAppend="${(reviewAttach.fileGb == 'M') ? 'mov' :''}">
  40. <th:block th:if="${reviewAttach.fileGb == 'M'}">
  41. <video poster="http://cdn.011st.com/11dims/resize/1999x1999/quality/75/11src/review/10201202/3121412332/2e66698576d64c5c9977a6fe6606008d.jpg" muted="muted" preload="metadata" controls="controls">
  42. <source src="http://snsvideo.11st.co.kr/movie/item/www/675/67518524_06_1_C1.mp4" type="video/mp4">
  43. </video>
  44. </th:block>
  45. <th:block th:unless="${reviewAttach.fileGb == 'M'}">
  46. <img th:src="${imgUrl+'/'+reviewAttach.sysFileNm}" alt="">
  47. </th:block>
  48. </div>
  49. </div>
  50. </th:block>
  51. </th:block>
  52. <th:block th:unless="${review.reviewAttachList != null and !review.reviewAttachList.empty}">
  53. <div class="swiper-slide"><div class="thumb nodata"><img th:src="${imgGoodsUrl+'/'+review.sysImgNm+'?RS=358'}" th:onerror="'this.src=\''+@{${uxImgUrl}+ '/images/pc/thumb/bg_item_none.png'}+'\';'" alt=""></div></div><!-- 이미지 없으면 calss .nodata -->
  54. </th:block>
  55. </div>
  56. <!-- Add Pagination -->
  57. <div class="swiper-pagination"></div>
  58. </div>
  59. </div>
  60. <!-- //리뷰사진영역 -->
  61. <!-- 리뷰내용 -->
  62. <div class="pd_review best">
  63. <div class="area_rv_all">
  64. <div class="btn_review_open">리뷰오픈</div>
  65. <div class="review_list">
  66. <ul>
  67. <li>
  68. <div class="review">
  69. <div class="info_box">
  70. <div class="star_score" th:with="starScore=${#numbers.formatDecimal((review.iscore*100/5), 0,0)}">
  71. <span class="star">
  72. <em class="progbar" th:style="${'width:'+starScore+'%;' }"></em> <!-- 평점 style로 표기 -->
  73. </span>
  74. </div>
  75. <div class="writer">
  76. <span class="wr_id" th:text="${review.maskingCustId}">ab2****</span>
  77. <span class="wr_date" th:text="${review.regDt}">2020.07.15</span>
  78. </div>
  79. </div>
  80. <div class="response_box">
  81. <div>
  82. <dl>
  83. <div th:if="${review.goodsOptionList != null and !review.goodsOptionList.empty}" th:each="reviewGoods, goodsStatus : ${review.goodsOptionList}">
  84. <dt >구매옵션</dt>
  85. <dd th:text="${reviewGoods.optCd1 +' / '+ reviewGoods.optCd2}">베이지 / 100</dd>
  86. </div>
  87. <div>
  88. <dt>키/몸무게</dt>
  89. <dd><th:block th:if="${not #strings.isEmpty(review.height)}" th:text="|${review.height}cm / |"></th:block>
  90. <th:block th:if="${not #strings.isEmpty(review.weight)}" th:text="|${review.weight}kg|"></th:block>
  91. </dd>
  92. </div>
  93. </dl>
  94. </div>
  95. </div>
  96. <div class="txt_review_box">
  97. <p th:utext="${#strings.unescapeJava(#strings.escapeJava(review.reviewContent))}">옷</p>
  98. </div>
  99. <div class="response_box2" th:if="${not #strings.isEmpty(review.sizeGb)}">
  100. <div>
  101. <dl>
  102. <div>
  103. <dt>사이즈</dt>
  104. <dd th:text="${review.scoreSizeNm}">작음</dd>
  105. </div>
  106. <div>
  107. <dt>컬러</dt>
  108. <dd th:text="${review.scoreColorNm}">밝음</dd>
  109. </div>
  110. <th:block th:if="${review.sizeGb == 'T' or review.sizeGb == 'B'}">
  111. <div>
  112. <dt>핏</dt>
  113. <dd th:text="${review.scoreFitNm}">레귤러</dd>
  114. </div>
  115. <div>
  116. <dt>두께감</dt>
  117. <dd th:text="${review.scoreThickNm}">적당함</dd>
  118. </div>
  119. </th:block>
  120. <th:block th:unless="${review.sizeGb == 'T' or review.sizeGb == 'B'}">
  121. <div>
  122. <dt>무게감</dt>
  123. <dd th:text="${review.scoreWeightNm}">레귤러</dd>
  124. </div>
  125. <div>
  126. <dt>볼너비</dt>
  127. <dd th:text="${review.scoreBallNm}">적당함</dd>
  128. </div>
  129. </th:block>
  130. </dl>
  131. </div>
  132. </div>
  133. <div class="reply_box" th:if="${not #strings.isEmpty(review.admRpl)}">
  134. <div class="reply">
  135. <div class="reply_writer">
  136. <span class="wr_name">관리자</span>
  137. <span class="wr_date" th:text="${review.admRplDt}" >2020.07.15</span>
  138. </div>
  139. <div class="reply_txt">
  140. <p th:utext="${#strings.unescapeJava(#strings.escapeJava(review.admRpl))}">
  141. 안녕하세요, 스타일24 관리자입니다.
  142. </p>
  143. </div>
  144. </div>
  145. </div>
  146. </div>
  147. </li>
  148. </ul>
  149. </div>
  150. </div>
  151. </div>
  152. <!-- //리뷰내용 -->
  153. </div>
  154. </div>
  155. </div>
  156. </div>
  157. <a href="javascript:void(0);" rel="modal:close" onclick="cfCloseLayer('layer_review_best')" class="close-modal">Close</a>
  158. <script th:inline="javascript">
  159. /*<![CDATA[*/
  160. $(document).ready( function() {
  161. //슬라이드 - 포토,영상리뷰팝업
  162. var photoreviewdetailSwiper = new Swiper('.pd_photoreviewdetail_pop .area_slider .swiper-container', {
  163. observer: true,
  164. observeParents: true,
  165. slidesPerView: 1,
  166. pagination: {
  167. el: '.swiper-pagination',
  168. type: 'fraction',
  169. },
  170. });
  171. // 포토,베스트리뷰숨김
  172. var review_open=$(".btn_review_open");
  173. $(document).on('click','.btn_review_open',function(e){
  174. $(this).toggleClass('active');
  175. $(this).next(".review_list").toggleClass('active');
  176. return false;
  177. });
  178. });
  179. /*]]>*/
  180. </script>
  181. </html>