|
|
@@ -25,15 +25,15 @@
|
|
|
|
|
|
<!-- CONTENT -->
|
|
|
<div class="panelContent">
|
|
|
- <form id="reviewDetailForm" name="reviewDetailForm" action="#" th:method="post" >
|
|
|
+ <form id="replyDetailForm" name="replyDetailForm" action="#" th:method="post" >
|
|
|
|
|
|
<div class="reviewWrap">
|
|
|
<div class="user_review">
|
|
|
<!-- 리뷰 파일 -->
|
|
|
- <dl class="rvPic">
|
|
|
+ <dl class="rvPic" style="display: none;">
|
|
|
<dt>이미지</dt>
|
|
|
<dd>
|
|
|
- <div class="picList" id="divPicList">
|
|
|
+ <div class="picList" id="divPicList" style="background: url() repeat 0 0;">
|
|
|
<th:block th:if="${attachList != null}" th:each="oneData, status : ${attachList}">
|
|
|
<a href="javascript:void(0);" onclick="fnPopupOpen('layer_review_pic', this);">
|
|
|
<span th:style="${'background-image:url(' + @environment.getProperty('domain.image') + oneData.sysFile + ');'}">사진</span>
|
|
|
@@ -55,12 +55,30 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
+<div class="uPopupWrap off" id="layer_review_pic">
|
|
|
+ <div class="area reviewPic" style="width:500px; height:500px;">
|
|
|
+ <ul class="picList" th:object="${reviewInfo}">
|
|
|
+ <th:block th:if="${attachList != null}" th:each="oneData, status : ${attachList}">
|
|
|
+ <li><div class="img" th:style="${'background-image:url(' + @environment.getProperty('domain.image') + oneData.sysFile + ');'}"></div></li>
|
|
|
+ </th:block>
|
|
|
+ </ul>
|
|
|
+ <button type="button" class="btnArr prev" onclick="fnPicPrev('layer_review_pic');">이전</button>
|
|
|
+ <button type="button" class="btnArr next" onclick="fnPicNext('layer_review_pic');">다음</button>
|
|
|
+ <button type="button" class="btnClose">닫기</button>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
|
|
|
<script th:inline="javascript">
|
|
|
/*<![CDATA[*/
|
|
|
-
|
|
|
-
|
|
|
+ $(document).ready(function() {
|
|
|
+ let attachList = [[${attachList}]];
|
|
|
+
|
|
|
+ if(attachList.length>0){
|
|
|
+ $(".rvPic").show();
|
|
|
+ }else{
|
|
|
+ $(".rvPic").hide();
|
|
|
+ }
|
|
|
+ });
|
|
|
// 팝업 열기
|
|
|
function fnPopupOpen(id,el,kind) {
|
|
|
$("#"+id).removeClass("off"); //레이어 Open
|