|
|
@@ -165,7 +165,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="inner">
|
|
|
+ <div class="inner tmtb">
|
|
|
<div class="pd_together" id="goodsTmtbArea">
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -824,7 +824,7 @@
|
|
|
<div class="product_floormenu"><!-- ☞☞ 제품이 품절되면 soldout클래스 추가 -->
|
|
|
<div class="share_like">
|
|
|
<button type="button" class="share">공유하기</button>
|
|
|
- <!-- <th:block th:include="~{web/goods/GoodsIncludeFormWeb :: goodsSnsForm}"></th:block> -->
|
|
|
+ <!-- <th:block th:include="~{web/goods/GoodsIncludeFormMob :: goodsSnsForm}"></th:block> -->
|
|
|
<button type="button" class="like" th:classappend="${goodsInfo.wishYn == 'Y'}? 'active' : ''"
|
|
|
onclick="cfnPutWishList(this);"
|
|
|
th:attr="goodsCd=${params.goodsCd}, ithrCd=${params.ithrCd}, contentsLoc=${params.contentsLoc}, planDtlSq=${params.planDtlSq}">위시리스트</button>
|
|
|
@@ -1440,13 +1440,13 @@
|
|
|
|
|
|
// 룩북속 상품 쇼핑백 담기
|
|
|
var fnAddCartLookBookGoods = function(obj){
|
|
|
- debugger;
|
|
|
+
|
|
|
let $obj = $(obj);
|
|
|
let $target = $obj.parent().parent().parent().find('.swiper-container').find('.item_prod');
|
|
|
let btnType = "C";
|
|
|
let params = [];
|
|
|
|
|
|
- $target.each(function(){debugger;
|
|
|
+ $target.each(function(){
|
|
|
if ($(this).hasClass('unable')) {
|
|
|
|
|
|
}else{
|
|
|
@@ -1490,25 +1490,25 @@
|
|
|
params.goodsOtherGb = "tmtb";
|
|
|
params.ithrCd = "tmtb";
|
|
|
params.contentsLoc = "tmtb";
|
|
|
- //fnGoodsTmtbSearch(params);
|
|
|
+ fnGoodsTmtbSearch(params);
|
|
|
|
|
|
// 함께본 상품(ajax html)
|
|
|
params.goodsOtherGb = "together";
|
|
|
params.ithrCd = "tmtb";
|
|
|
params.contentsLoc = "tmtb";
|
|
|
- //fnGoodsTogetherSearch(params);
|
|
|
+ fnGoodsTogetherSearch(params);
|
|
|
|
|
|
// 추천 상품(ajax html)
|
|
|
params.goodsOtherGb = "recommend";
|
|
|
params.ithrCd = "tmtb";
|
|
|
params.contentsLoc = "tmtb";
|
|
|
- //fnGoodsRecommendSearch(params);
|
|
|
+ fnGoodsRecommendSearch(params);
|
|
|
|
|
|
// 비슷한 상품(ajax html)
|
|
|
params.goodsOtherGb = "like";
|
|
|
params.ithrCd = "tmtb";
|
|
|
params.contentsLoc = "tmtb";
|
|
|
- //fnGoodsLikeSearch(params);
|
|
|
+ fnGoodsLikeSearch(params);
|
|
|
|
|
|
// selecter
|
|
|
$(function(){
|
|
|
@@ -1551,7 +1551,6 @@
|
|
|
setInterval(function() { promotionTimer(); }, 1000);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
//상품상세정보 더보기
|
|
|
$(document).on('click','.pd_descrp .btn_more_box button',function(e){
|
|
|
$('.pd_descrp .cont_body').toggleClass('on');
|
|
|
@@ -1631,13 +1630,6 @@
|
|
|
},
|
|
|
});
|
|
|
|
|
|
- //팝업 - 배송교환반품 안내
|
|
|
- $(document).on('click','#btn_pdDelivery_Pop',function(e){
|
|
|
- $("#pdDeliveryPop").modal("show");
|
|
|
- $('#pdDeliveryPop .modal-body').load('pd_delivery_pop.html');
|
|
|
- return false;
|
|
|
- })
|
|
|
-
|
|
|
//팝업 - 리뷰
|
|
|
$(document).on('click','#btn_pdReview_pop',function(e){
|
|
|
$("#pdReviewPop").modal("show");
|
|
|
@@ -1663,37 +1655,6 @@
|
|
|
return false;
|
|
|
})
|
|
|
|
|
|
- //팝업 - 제품리뷰 > 카테고리팝오픈
|
|
|
- // 오픈
|
|
|
- $(document).on('click','.pd_review .category_open > li',function(e){
|
|
|
- var dataName=$(this).attr("data_name");
|
|
|
- $(".pd_review .category_box").show();
|
|
|
- $(".pd_review .category_list").find(".category").hide();
|
|
|
- $(".pd_review .category_list").find("#"+dataName).show();
|
|
|
- return false;
|
|
|
- });
|
|
|
- // 닫기
|
|
|
- /* $(document).on('click','.pd_review .category_box .category_close',function(e){
|
|
|
- $(".pd_review .category_box").hide();
|
|
|
- return false;
|
|
|
- }); */
|
|
|
- // 변경
|
|
|
- $(document).on('click','.pd_review .category ul > li',function(e){
|
|
|
- var num=$(".pd_review .category_open > li").length;
|
|
|
- var value=$(this).find("a").attr("data");
|
|
|
- var name=$(this).parent().parent().attr("id");
|
|
|
- $(this).parent().find("li").removeClass("active");
|
|
|
- $(this).addClass("active");
|
|
|
- for(var i=0; i < num; i++){
|
|
|
- var dataname=$(".pd_review .category_open > li").eq(i).attr("data_name");
|
|
|
- if(name==dataname){
|
|
|
- $(".pd_review .category_open > li").eq(i).find("span").text(value);
|
|
|
- }
|
|
|
- }
|
|
|
- return false;
|
|
|
- });
|
|
|
-
|
|
|
-
|
|
|
//팝업 - 구매하기 > 옵션선택 > 옵션셀렉트팝업
|
|
|
$(document).on('click','.Purchase_pop .option_result .option_open',function(e){
|
|
|
$(".Purchase_pop .pop_option_select").show();
|