|
|
@@ -60,7 +60,7 @@
|
|
|
|
|
|
gagajf.ajaxSubmit("/goods/review/detail/list", "json", fnReviewDetailCallback, params);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
var fnReviewDetailCallback = function(result) {
|
|
|
$('#reviewBody').html('');
|
|
|
// 목록
|
|
|
@@ -78,7 +78,7 @@
|
|
|
$.each(review.reviewAttachList, function(aIdx, reviewAttach){
|
|
|
fileGbClass = '';
|
|
|
if (reviewAttach.fileGb == "M") fileGbClass = "mov";
|
|
|
- tag +=' <span class="thumb" class="'+fileGbClass+'"}" >\n';<!-- 동영상의 썸네일일 경우 mov 클래스 추가-->
|
|
|
+ tag +=' <span class="thumb" class="'+fileGbClass+'">\n';<!-- 동영상의 썸네일일 경우 mov 클래스 추가-->
|
|
|
if (reviewAttach.fileGb == "M") {
|
|
|
tag +=' <video poster="http://cdn.011st.com/11dims/resize/1999x1999/quality/75/11src/review/10201202/3121412332/2e66698576d64c5c9977a6fe6606008d.jpg" muted="muted" preload="metadata" controls="controls">\n';
|
|
|
tag +=' <source src="http://snsvideo.11st.co.kr/movie/item/www/675/67518524_06_1_C1.mp4" type="video/mp4">\n';
|
|
|
@@ -87,11 +87,11 @@
|
|
|
tag +=' <img th:src="'+ _imgUrl + reviewAttach.sysFileNm +'" alt="">\n';
|
|
|
}
|
|
|
tag +=' </span>\n';
|
|
|
- return false;
|
|
|
+ break;
|
|
|
});
|
|
|
}else{
|
|
|
tag +=' <span class="thumb">\n';
|
|
|
- tag +=' <img src="'+_uploadGoodsUrl +'/'+review.sysImgNm+'?RS=365" alt="" onerror="' + _uximgUrl + '/images/pc/thumb/bg_item_none.png" />\n';
|
|
|
+ tag +=' <img src="'+_uploadGoodsUrl +'/'+review.sysImgNm+'?RS=365" alt="" onerror="' + _uximgUrl + '/images/pc/thumb/bg_item_none.png" />\n';
|
|
|
tag +=' </span>\n';
|
|
|
}
|
|
|
tag +=' </div>\n';
|
|
|
@@ -100,7 +100,7 @@
|
|
|
tag +=' <div class="star_box">\n';
|
|
|
tag +=' <div class="star_score">\n';
|
|
|
tag +=' <span class="star">\n';
|
|
|
- tag +=' <em class="progbar" style="width:'+(review.iscore*20)+'%;' }"></em>\n'; <!-- 평점 style로 표기 -->
|
|
|
+ tag +=' <em class="progbar" style="width:'+(review.iscore*20)+'%;"></em>\n'; <!-- 평점 style로 표기 -->
|
|
|
tag +=' </span>\n';
|
|
|
tag +=' </div>\n';
|
|
|
tag +=' </div>\n';
|
|
|
@@ -198,10 +198,10 @@
|
|
|
if (reviewAttach.fileGb == "M") fileGbClass = "mov";
|
|
|
tag +=' <li>\n';
|
|
|
tag +=' <div class="pic" class="'+activeClass+'"> \n'; <!-- 활성화시 active 클래스 추가 -->
|
|
|
- tag +=' <span class="thumb" class="'+fileGbClass+'" style="background-image:url('+_uploadGoodsUrl +'/'+review.sysImgNm+');\'" ></span>\n';<!-- 동영상의 썸네일일 경우 mov 클래스 추가 -->
|
|
|
+ tag +=' <span class="thumb" class="'+fileGbClass+'" style="background-image:url('+_uploadGoodsUrl +'/'+review.sysImgNm+');\" ></span>\n';<!-- 동영상의 썸네일일 경우 mov 클래스 추가 -->
|
|
|
tag +=' </div>\n';
|
|
|
tag +=' </li>\n';
|
|
|
- }
|
|
|
+ });
|
|
|
tag +=' </ul>\n';
|
|
|
tag +=' </div>\n';
|
|
|
}
|