|
@@ -1039,7 +1039,45 @@
|
|
|
</div>
|
|
</div>
|
|
|
<!-- //상품상세정보 -->
|
|
<!-- //상품상세정보 -->
|
|
|
<!-- 이 상품과 함께 본 상품 -->
|
|
<!-- 이 상품과 함께 본 상품 -->
|
|
|
- <div class="content wide pd_clickother" id="goodsTogetherbArea">
|
|
|
|
|
|
|
+ <div class="content wide pd_clickother" id="goodsTogetherbArea" th:if="${togetherGoodsList != null and !togetherGoodsList.empty}">
|
|
|
|
|
+ <div class="cont_head">
|
|
|
|
|
+ <h3 class="subH1 t_c mb40">이 상품과 함께 본 상품</h3>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="cont_body">
|
|
|
|
|
+ <!-- CONT-BODY -->
|
|
|
|
|
+ <div class="area_slider">
|
|
|
|
|
+ <div class="swiper-container">
|
|
|
|
|
+ <div class="swiper-wrapper">
|
|
|
|
|
+ <div class="swiper-slide" th:each="goodsInfo, status : ${togetherGoodsList}">
|
|
|
|
|
+ <div class="item_prod">
|
|
|
|
|
+ <div class="item_state">
|
|
|
|
|
+ <button type="button" class="itemLike" th:classappend="${goodsInfo.wishYn == 'Y'}? 'active' : ''" onclick="cfnPutWishList(this);" th:attr="goodsCd=${goodsInfo.goodsCd}, ithrCd=${params.ithrCd}, contentsLoc=${params.contentsLoc}, planDtlSq=''">관심상품 추가</button>
|
|
|
|
|
+ <a href="javascript:void(0);" th:onclick="cfnGoToGoodsDetail([[${goodsInfo.goodsCd}]], '',[[${params.ithrCd}]],[[${params.contentsLoc}]],'','pc_detail');" class="itemLink" >
|
|
|
|
|
+ <div class="itemPic">
|
|
|
|
|
+ <img alt="" class="vLHTC pd_img" th:src="${imgGoodsUrl+'/'+goodsInfo.sysImgNm +'?RS=300'}" th:onerror="'this.src=\''+@{${uxImgUrl}+ '/images/pc/thumb/bg_item_none.png'}+'\';'">
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <p class="itemBrand" th:text="${goodsInfo.brandGroupNm}">BRAND NAME1</p>
|
|
|
|
|
+ <div class="itemName" th:text="${goodsInfo.goodsFullNm}">남성 로고 자카드 방풍 패딩</div>
|
|
|
|
|
+ <p class="itemPrice">
|
|
|
|
|
+ <th:block th:text="${#numbers.formatInteger(goodsInfo.currPrice, 0,'COMMA')}"></th:block>
|
|
|
|
|
+ <span class="itemPrice_original" th:if="${goodsInfo.listPrice > goodsInfo.currPrice}" th:text="${#numbers.formatInteger(goodsInfo.listPrice, 0,'COMMA')}">1,000,000</span>
|
|
|
|
|
+ <span class="itemPercent" th:if="${goodsInfo.dcRate > 0}" th:text="|${#numbers.formatDecimal(goodsInfo.dcRate,0,0)}%|">30%</span>
|
|
|
|
|
+ </p>
|
|
|
|
|
+ </a>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!-- Add Pagination-->
|
|
|
|
|
+ <div class="swiper-pagination"></div>
|
|
|
|
|
+ <!-- Add Arrows -->
|
|
|
|
|
+ <div class="swiper-button-next"></div>
|
|
|
|
|
+ <div class="swiper-button-prev"></div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!-- // CONT-BODY -->
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
<!-- // 이 상품과 함께 본 상품 -->
|
|
<!-- // 이 상품과 함께 본 상품 -->
|
|
|
<!-- STYLE24의 스타일링 추천 -->
|
|
<!-- STYLE24의 스타일링 추천 -->
|
|
@@ -1126,11 +1164,87 @@
|
|
|
</div>
|
|
</div>
|
|
|
<!-- // STYLE24의 스타일링 추천 -->
|
|
<!-- // STYLE24의 스타일링 추천 -->
|
|
|
<!-- 브랜드 추천상품 -->
|
|
<!-- 브랜드 추천상품 -->
|
|
|
- <div class="content wide pd_brand" id="goodsRecommendbArea">
|
|
|
|
|
|
|
+ <div class="content wide pd_brand" id="goodsRecommendbArea" th:if="${recommendGoodsList != null and !recommendGoodsList.empty}">
|
|
|
|
|
+ <div class="cont_head">
|
|
|
|
|
+ <h3 class="subH1 t_c mb40" th:text="${goodsInfo.brandGroupNm +' 추천상품'}"></h3>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="cont_body">
|
|
|
|
|
+ <!-- CONT-BODY -->
|
|
|
|
|
+ <div class="area_slider">
|
|
|
|
|
+ <div class="swiper-container">
|
|
|
|
|
+ <div class="swiper-wrapper">
|
|
|
|
|
+ <div class="swiper-slide" th:each="goodsInfo, status : ${recommendGoodsList}">
|
|
|
|
|
+ <div class="item_prod">
|
|
|
|
|
+ <div class="item_state">
|
|
|
|
|
+ <button type="button" class="itemLike" th:classappend="${goodsInfo.wishYn == 'Y'}? 'active' : ''" onclick="cfnPutWishList(this);" th:attr="goodsCd=${goodsInfo.goodsCd}, ithrCd=${params.ithrCd}, contentsLoc=${params.contentsLoc}, planDtlSq=''">관심상품 추가</button>
|
|
|
|
|
+ <a href="javascript:void(0);" th:onclick="cfnGoToGoodsDetail([[${goodsInfo.goodsCd}]], '',[[${params.ithrCd}]],[[${params.contentsLoc}]],'','pc_detail');" class="itemLink" >
|
|
|
|
|
+ <div class="itemPic">
|
|
|
|
|
+ <img alt="" class="vLHTC pd_img" th:src="${imgGoodsUrl+'/'+goodsInfo.sysImgNm +'?RS=300'}" th:onerror="'this.src=\''+@{${uxImgUrl}+ '/images/pc/thumb/bg_item_none.png'}+'\';'">
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <p class="itemBrand" th:text="${goodsInfo.brandGroupNm}">BRAND NAME1</p>
|
|
|
|
|
+ <div class="itemName" th:text="${goodsInfo.goodsFullNm}">남성 로고 자카드 방풍 패딩</div>
|
|
|
|
|
+ <p class="itemPrice">
|
|
|
|
|
+ <th:block th:text="${#numbers.formatInteger(goodsInfo.currPrice, 0,'COMMA')}"></th:block>
|
|
|
|
|
+ <span class="itemPrice_original" th:if="${goodsInfo.listPrice > goodsInfo.currPrice}" th:text="${#numbers.formatInteger(goodsInfo.listPrice, 0,'COMMA')}">1,000,000</span>
|
|
|
|
|
+ <span class="itemPercent" th:if="${goodsInfo.dcRate > 0}" th:text="|${#numbers.formatDecimal(goodsInfo.dcRate,0,0)}%|">30%</span>
|
|
|
|
|
+ </p>
|
|
|
|
|
+ </a>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!-- Add Pagination-->
|
|
|
|
|
+ <div class="swiper-pagination"></div>
|
|
|
|
|
+ <!-- Add Arrows -->
|
|
|
|
|
+ <div class="swiper-button-next"></div>
|
|
|
|
|
+ <div class="swiper-button-prev"></div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!-- // CONT-BODY -->
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
<!-- // 브랜드 추천상품 -->
|
|
<!-- // 브랜드 추천상품 -->
|
|
|
<!-- 이 상품과 비슷한 상품 -->
|
|
<!-- 이 상품과 비슷한 상품 -->
|
|
|
- <div class="content wide pd_relate" id="goodsLikebArea">
|
|
|
|
|
|
|
+ <div class="content wide pd_relate" id="goodsLikebArea" th:if="${likeGoodsList != null and !likeGoodsList.empty}">
|
|
|
|
|
+ <div class="cont_head">
|
|
|
|
|
+ <h3 class="subH1 t_c mb40">이 상품과 비슷한 상품</h3>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="cont_body">
|
|
|
|
|
+ <!-- CONT-BODY -->
|
|
|
|
|
+ <div class="area_slider">
|
|
|
|
|
+ <div class="swiper-container">
|
|
|
|
|
+ <div class="swiper-wrapper">
|
|
|
|
|
+ <div class="swiper-slide" th:each="goodsInfo, status : ${likeGoodsList}">
|
|
|
|
|
+ <div class="item_prod">
|
|
|
|
|
+ <div class="item_state">
|
|
|
|
|
+ <button type="button" class="itemLike" th:classappend="${goodsInfo.wishYn == 'Y'}? 'active' : ''" onclick="cfnPutWishList(this);" th:attr="goodsCd=${goodsInfo.goodsCd}, ithrCd=${params.ithrCd}, contentsLoc=${params.contentsLoc}, planDtlSq=''">관심상품 추가</button>
|
|
|
|
|
+ <a href="javascript:void(0);" th:onclick="cfnGoToGoodsDetail([[${goodsInfo.goodsCd}]], '',[[${params.ithrCd}]],[[${params.contentsLoc}]],'','pc_detail');" class="itemLink" >
|
|
|
|
|
+ <div class="itemPic">
|
|
|
|
|
+ <img alt="" class="vLHTC pd_img" th:src="${imgGoodsUrl+'/'+goodsInfo.sysImgNm +'?RS=300'}" th:onerror="'this.src=\''+@{${uxImgUrl}+ '/images/pc/thumb/bg_item_none.png'}+'\';'">
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <p class="itemBrand" th:text="${goodsInfo.brandGroupNm}">BRAND NAME1</p>
|
|
|
|
|
+ <div class="itemName" th:text="${goodsInfo.goodsFullNm}">남성 로고 자카드 방풍 패딩</div>
|
|
|
|
|
+ <p class="itemPrice">
|
|
|
|
|
+ <th:block th:text="${#numbers.formatInteger(goodsInfo.currPrice, 0,'COMMA')}"></th:block>
|
|
|
|
|
+ <span class="itemPrice_original" th:if="${goodsInfo.listPrice > goodsInfo.currPrice}" th:text="${#numbers.formatInteger(goodsInfo.listPrice, 0,'COMMA')}">1,000,000</span>
|
|
|
|
|
+ <span class="itemPercent" th:if="${goodsInfo.dcRate > 0}" th:text="|${#numbers.formatDecimal(goodsInfo.dcRate,0,0)}%|">30%</span>
|
|
|
|
|
+ </p>
|
|
|
|
|
+ </a>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!-- Add Pagination-->
|
|
|
|
|
+ <div class="swiper-pagination"></div>
|
|
|
|
|
+ <!-- Add Arrows -->
|
|
|
|
|
+ <div class="swiper-button-next"></div>
|
|
|
|
|
+ <div class="swiper-button-prev"></div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!-- // CONT-BODY -->
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
<!-- // 이 상품과 비슷한 상품 -->
|
|
<!-- // 이 상품과 비슷한 상품 -->
|
|
|
</div>
|
|
</div>
|
|
@@ -1860,13 +1974,60 @@
|
|
|
//슬라이드 - 함께하면 할인되는 다다익선 상품
|
|
//슬라이드 - 함께하면 할인되는 다다익선 상품
|
|
|
var togetherItemSwiper = new Swiper('.pd .pd_together .area_slider .swiper-container', {
|
|
var togetherItemSwiper = new Swiper('.pd .pd_together .area_slider .swiper-container', {
|
|
|
slidesPerView: 6,
|
|
slidesPerView: 6,
|
|
|
- spaceBetween: 20,
|
|
|
|
|
- scrollbar: {
|
|
|
|
|
- el: '.pd_together .swiper-scrollbar',
|
|
|
|
|
- hide: true,
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ freemode: true,
|
|
|
|
|
+ spaceBetween: 20,
|
|
|
|
|
+ scrollbar: {
|
|
|
|
|
+ el: '.pd_together .swiper-scrollbar',
|
|
|
|
|
+ hide: true,
|
|
|
|
|
+ },
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
+ //슬라이드 - 이 상품과 함께 본 상품
|
|
|
|
|
+ var otherItemSwiper = new Swiper('.pd .pd_clickother .area_slider .swiper-container', {
|
|
|
|
|
+ slidesPerView: 5,
|
|
|
|
|
+ slidesToScroll: 5,
|
|
|
|
|
+ slidesPerGroup: 5,
|
|
|
|
|
+ spaceBetween: 20,
|
|
|
|
|
+ navigation: {
|
|
|
|
|
+ nextEl: '.pd_clickother .swiper-button-next',
|
|
|
|
|
+ prevEl: '.pd_clickother .swiper-button-prev',
|
|
|
|
|
+ },
|
|
|
|
|
+ pagination: {
|
|
|
|
|
+ el: '.pd_clickother .swiper-pagination',
|
|
|
|
|
+ clickable: true,
|
|
|
|
|
+ },
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
|
|
+ //슬라이드 - 브랜드 추천상품
|
|
|
|
|
+ var relateItemSwiper = new Swiper('.pd .pd_brand .area_slider .swiper-container', {
|
|
|
|
|
+ slidesPerView: 5,
|
|
|
|
|
+ spaceBetween: 20,
|
|
|
|
|
+ slidesPerGroup: 5,
|
|
|
|
|
+ navigation: {
|
|
|
|
|
+ nextEl: '.pd_brand .swiper-button-next',
|
|
|
|
|
+ prevEl: '.pd_brand .swiper-button-prev',
|
|
|
|
|
+ },
|
|
|
|
|
+ pagination: {
|
|
|
|
|
+ el: '.pd_brand .swiper-pagination',
|
|
|
|
|
+ clickable: true,
|
|
|
|
|
+ },
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
|
|
+ //슬라이드 - 이 상품과 비슷한 상품
|
|
|
|
|
+ var relateItemSwiper = new Swiper('.pd .pd_relate .area_slider .swiper-container', {
|
|
|
|
|
+ slidesPerView: 5,
|
|
|
|
|
+ spaceBetween: 20,
|
|
|
|
|
+ slidesPerGroup: 5,
|
|
|
|
|
+ navigation: {
|
|
|
|
|
+ nextEl: '.pd_relate .swiper-button-next',
|
|
|
|
|
+ prevEl: '.pd_relate .swiper-button-prev',
|
|
|
|
|
+ },
|
|
|
|
|
+ pagination: {
|
|
|
|
|
+ el: '.pd_relate .swiper-pagination',
|
|
|
|
|
+ clickable: true,
|
|
|
|
|
+ },
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
//슬라이드 - STYLE24의 스타일링 추천
|
|
//슬라이드 - STYLE24의 스타일링 추천
|
|
|
var rcmdItemSwiper = new Swiper('.pd .pd_recommend .area_slider .swiper-container', {
|
|
var rcmdItemSwiper = new Swiper('.pd .pd_recommend .area_slider .swiper-container', {
|
|
|
slidesPerView: 1,
|
|
slidesPerView: 1,
|
|
@@ -1915,7 +2076,7 @@
|
|
|
params.supplyCompCd = [[${params.supplyCompCd}]];
|
|
params.supplyCompCd = [[${params.supplyCompCd}]];
|
|
|
params.brandGroupNm = [[${goodsInfo.brandGroupNm}]];
|
|
params.brandGroupNm = [[${goodsInfo.brandGroupNm}]];
|
|
|
|
|
|
|
|
- //함께본 상품(ajax html)
|
|
|
|
|
|
|
+ /* //함께본 상품(ajax html)
|
|
|
$('#goodsTogetherbArea').load('GoodsDetailFormWeb.html', function() {
|
|
$('#goodsTogetherbArea').load('GoodsDetailFormWeb.html', function() {
|
|
|
params.goodsOtherGb = "together";
|
|
params.goodsOtherGb = "together";
|
|
|
params.ithrCd = "tmtb";
|
|
params.ithrCd = "tmtb";
|
|
@@ -1937,14 +2098,14 @@
|
|
|
params.ithrCd = "tmtb";
|
|
params.ithrCd = "tmtb";
|
|
|
params.contentsLoc = "tmtb";
|
|
params.contentsLoc = "tmtb";
|
|
|
fnGoodsLikeSearch(params);
|
|
fnGoodsLikeSearch(params);
|
|
|
- });
|
|
|
|
|
-
|
|
|
|
|
|
|
+ }); */
|
|
|
|
|
+
|
|
|
//$(document).ready( function() {
|
|
//$(document).ready( function() {
|
|
|
$(function(){
|
|
$(function(){
|
|
|
//210526_ 추가 : 이미지 style 속성 제거
|
|
//210526_ 추가 : 이미지 style 속성 제거
|
|
|
$(".mdhtml_box style").remove();$(".mdhtml_box img").removeAttr("style");
|
|
$(".mdhtml_box style").remove();$(".mdhtml_box img").removeAttr("style");
|
|
|
|
|
|
|
|
- var params = new Object();
|
|
|
|
|
|
|
+/* var params = new Object();
|
|
|
params.goodsCd = [[${params.goodsCd}]];
|
|
params.goodsCd = [[${params.goodsCd}]];
|
|
|
params.viewDt = [[${params.viewDt}]];
|
|
params.viewDt = [[${params.viewDt}]];
|
|
|
params.preview = [[${params.preview}]];
|
|
params.preview = [[${params.preview}]];
|
|
@@ -1970,7 +2131,7 @@
|
|
|
params.goodsOtherGb = "like";
|
|
params.goodsOtherGb = "like";
|
|
|
params.ithrCd = "tmtb";
|
|
params.ithrCd = "tmtb";
|
|
|
params.contentsLoc = "tmtb";
|
|
params.contentsLoc = "tmtb";
|
|
|
- //fnGoodsLikeSearch(params);
|
|
|
|
|
|
|
+ //fnGoodsLikeSearch(params); */
|
|
|
|
|
|
|
|
var opt_selecter01 = new sCombo('.opt_select .select_custom.item_opt1.item_opt1_1');
|
|
var opt_selecter01 = new sCombo('.opt_select .select_custom.item_opt1.item_opt1_1');
|
|
|
var opt_selecter01_1 = new sCombo('.opt_set_select .select_custom.item_opt1.item_opt1_1');
|
|
var opt_selecter01_1 = new sCombo('.opt_set_select .select_custom.item_opt1.item_opt1_1');
|
|
@@ -2040,7 +2201,7 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 상품평 상세 레이어 호출후 콜백에서 호출하므로 여기에 있어야함
|
|
// 상품평 상세 레이어 호출후 콜백에서 호출하므로 여기에 있어야함
|
|
|
- var fnReviewDetailLayerCollBack = function(){debugger;
|
|
|
|
|
|
|
+ var fnReviewDetailLayerCollBack = function(){
|
|
|
|
|
|
|
|
fnReviewDetail();
|
|
fnReviewDetail();
|
|
|
|
|
|