|
|
@@ -180,9 +180,19 @@
|
|
|
<dl>
|
|
|
<div class="bnf_shopping" th:if="${(goodsCouponList != null and !goodsCouponList.empty) or
|
|
|
(tmtbList != null and !tmtbList.empty) or
|
|
|
- (freeGoodsList != null and !freeGoodsList.empty)}" >
|
|
|
+ (freeGoodsList != null and !freeGoodsList.empty) or
|
|
|
+ (goodsCoupon1List != null and !goodsCoupon1List.empty) }" >
|
|
|
<dt>쇼핑혜택</dt>
|
|
|
<dd>
|
|
|
+ <span th:if="${(goodsCoupon1List != null and !goodsCoupon1List.empty)}">
|
|
|
+ <th:block th:each="goodsCoupon, status : ${goodsCoupon1List}" th:if="${status.first}">
|
|
|
+ <em class="c_primary" >
|
|
|
+ <th:block th:if="${goodsCoupon.dcWay == 'G240_10'}" th:text="|${#numbers.formatInteger(goodsCoupon.dcVal, 0,'COMMA')}원|"></th:block>
|
|
|
+ <th:block th:unless="${goodsCoupon.dcWay == 'G240_10'}" th:text="|${goodsCoupon.dcVal}%|"></th:block>
|
|
|
+ </em>
|
|
|
+ 즉시할인
|
|
|
+ </th:block>
|
|
|
+ </span>
|
|
|
<span th:if="${goodsCouponList != null and !goodsCouponList.empty}">
|
|
|
<th:block th:each="goodsCoupon, status : ${goodsCouponList}" th:if="${status.first}">
|
|
|
최대 <em class="c_primary" >
|
|
|
@@ -226,7 +236,7 @@
|
|
|
</div>
|
|
|
<ul >
|
|
|
<li th:each="goodsOption1, status : ${goodsOption1List}">
|
|
|
- <a href="javascript:void(0);" th:class="${params.colorCd == goodsOption1.optCd1}? 'on':''" th:onclick="cfnGoToGoodsDetail([[${goodsInfo.goodsCd}]], [[${goodsOption1.optCd1}]])"> <!-- 해당 컬러 상품페이지로 이동 -->
|
|
|
+ <a href="javascript:void(0);" th:class="${params.colorCd == goodsOption1.optCd1}? 'on':''" th:onclick="cfnGoToGoodsDetail([[${goodsInfo.goodsCd}]], [[${goodsOption1.optCd1}]], 'IN15_01')"> <!-- 해당 컬러 상품페이지로 이동 -->
|
|
|
<img th:src="${imgGoodsUrl+'/'+goodsOption1.sysImgNm +'?RS=64'}" alt="" th:onerror="'this.src=\''+@{${uxImgUrl}+ '/images/pc/thumb/bg_item_none.png'}+'\';'">
|
|
|
</a>
|
|
|
</li>
|
|
|
@@ -626,8 +636,8 @@
|
|
|
<div class="swiper-slide" th:each="goodsInfo, status : ${goodsList}">
|
|
|
<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" >
|
|
|
+ <button type="button" class="itemLike" th:classappend="${goodsInfo.wishYn == 'Y'}? 'active' : ''" onclick="cfnPutWishList(this);" th:attr="goodsCd=${goodsInfo.goodsCd}, ithrCd='IN15_02', contentsLoc='', planDtlSq=''">관심상품 추가</button>
|
|
|
+ <a href="javascript:void(0);" th:onclick="cfnGoToGoodsDetail([[${goodsInfo.goodsCd}]], '','IN15_02','','','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'}+'\';'">
|
|
|
|
|
|
@@ -679,19 +689,6 @@
|
|
|
<th:block th:if="${goodsNoticeList != null and !goodsNoticeList.empty}" >
|
|
|
<th:block th:each="goodsNotice, status : ${goodsNoticeList}" th:utext="${#strings.unescapeJava(#strings.escapeJava(goodsNotice.noticeContent))}"></th:block >
|
|
|
</th:block>
|
|
|
- <!-- 관리자 에디터입력 내용 공지 html -->
|
|
|
- <th:block th:each="goodsVideo, status : ${goodsVideoList}">
|
|
|
- <div class="movblock">
|
|
|
- <div style="height:100px"></div><!-- 여백용 html -->
|
|
|
- <th:block th:if="${goodsVideo.videoGb == 'Y'}">
|
|
|
- <iframe th:src="${'https://www.youtube.com/embed/'+goodsVideo.kmcKey+'?rel=0&mute=1'}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
|
|
- </th:block>
|
|
|
- <th:block th:unless="${goodsVideo.videoGb == 'Y'}">
|
|
|
- <iframe width="100%" height="100%" th:src="${kollusMediaUrl+'/'+goodsVideo.kmcKey +'?player_version=html5&mute'}" frameborder="0" allowfullscreen webkitallowfullscreen mozallowfullscreen></iframe>
|
|
|
- </th:block>
|
|
|
- </div>
|
|
|
- </th:block>
|
|
|
- <!-- 공통상품베너 -->
|
|
|
<th:block th:if="${goodsBannerList != null and !goodsBannerList.empty}">
|
|
|
<th:block th:each="goodsBanner, status : ${goodsBannerList}" >
|
|
|
<th:block th:if="${goodsBanner.strVar1 != null and not #strings.equals(goodsBanner.strVar1, '#')}">
|
|
|
@@ -706,6 +703,20 @@
|
|
|
</th:block>
|
|
|
</th:block>
|
|
|
</th:block>
|
|
|
+ <!-- 관리자 에디터입력 내용 공지 html -->
|
|
|
+ <th:block th:each="goodsVideo, status : ${goodsVideoList}">
|
|
|
+ <div class="movblock">
|
|
|
+ <div style="height:100px"></div><!-- 여백용 html -->
|
|
|
+ <th:block th:if="${goodsVideo.videoGb == 'Y'}">
|
|
|
+ <iframe th:src="${'https://www.youtube.com/embed/'+goodsVideo.kmcKey+'?rel=0&mute=1'}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
|
|
+ </th:block>
|
|
|
+ <th:block th:unless="${goodsVideo.videoGb == 'Y'}">
|
|
|
+ <iframe width="100%" height="100%" th:src="${kollusMediaUrl+'/'+goodsVideo.kmcKey +'?player_version=html5&mute'}" frameborder="0" allowfullscreen webkitallowfullscreen mozallowfullscreen></iframe>
|
|
|
+ </th:block>
|
|
|
+ </div>
|
|
|
+ </th:block>
|
|
|
+ <!-- 공통상품베너 -->
|
|
|
+
|
|
|
|
|
|
<!-- 관리자 에디터입력 내용 노출 상단 html -->
|
|
|
<th:block th:if="${goodsInfo.goodsTopDesc != null and !goodsInfo.goodsTopDesc.empty}" >
|
|
|
@@ -1039,7 +1050,45 @@
|
|
|
</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='IN15_03', contentsLoc='', planDtlSq=''">관심상품 추가</button>
|
|
|
+ <a href="javascript:void(0);" th:onclick="cfnGoToGoodsDetail([[${goodsInfo.goodsCd}]], '','IN15_03','','','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>
|
|
|
<!-- // 이 상품과 함께 본 상품 -->
|
|
|
<!-- STYLE24의 스타일링 추천 -->
|
|
|
@@ -1090,7 +1139,7 @@
|
|
|
<a href="javascript:void(0);" class="itemLink" >
|
|
|
</th:block>
|
|
|
<th:block th:unless="${(lookbookGoods.stockQty <= 0 or lookbookGoods.soldoutYn == 'Y')}">
|
|
|
- <a href="javascript:void(0);" class="itemLink" th:onclick="cfnGoToGoodsDetail([[${lookbookGoods.goodsCd}]], '',[[${ithrCd}]],[[${contentsLoc}]] )">
|
|
|
+ <a href="javascript:void(0);" class="itemLink" th:onclick="cfnGoToGoodsDetail([[${lookbookGoods.goodsCd}]], '','IN15_06','')">
|
|
|
</th:block>
|
|
|
<div class="itemPic">
|
|
|
<img alt="" class="vLHTC pd_img" th:src="${imgGoodsUrl+'/'+lookbookGoods.sysImgNm+'?RS=100'}" th:onerror="'this.src=\''+@{${uxImgUrl}+ '/images/pc/thumb/bg_item_none.png'}+'\';'">
|
|
|
@@ -1126,11 +1175,87 @@
|
|
|
</div>
|
|
|
<!-- // 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='IN15_04', contentsLoc='', planDtlSq=''">관심상품 추가</button>
|
|
|
+ <a href="javascript:void(0);" th:onclick="cfnGoToGoodsDetail([[${goodsInfo.goodsCd}]], '','IN15_04','','','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 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='IN15_05', contentsLoc='', planDtlSq=''">관심상품 추가</button>
|
|
|
+ <a href="javascript:void(0);" th:onclick="cfnGoToGoodsDetail([[${goodsInfo.goodsCd}]], '','IN15_05','','','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>
|
|
|
@@ -1839,7 +1964,7 @@
|
|
|
}
|
|
|
tag += ' </p>\n';
|
|
|
if (gagajf.isNull(soldout)){
|
|
|
- tag += ' <button type="button" class="btn btn_default" onclick="cfnGoToGoodsDetail(\''+goodsCd+'\',\'\',\'\')"><span>자세히 보기</span></button>\n';
|
|
|
+ tag += ' <button type="button" class="btn btn_default" onclick="cfnGoToGoodsDetail(\''+goodsCd+'\',\'\',\'IN15_06\')"><span>자세히 보기</span></button>\n';
|
|
|
}
|
|
|
tag += ' </div>\n';
|
|
|
tag += ' </div>\n';
|
|
|
@@ -1860,13 +1985,60 @@
|
|
|
//슬라이드 - 함께하면 할인되는 다다익선 상품
|
|
|
var togetherItemSwiper = new Swiper('.pd .pd_together .area_slider .swiper-container', {
|
|
|
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의 스타일링 추천
|
|
|
var rcmdItemSwiper = new Swiper('.pd .pd_recommend .area_slider .swiper-container', {
|
|
|
slidesPerView: 1,
|
|
|
@@ -1889,6 +2061,14 @@
|
|
|
var descrpToggle = $(this).find('span');
|
|
|
$(descrpToggle).text($(descrpToggle).text() == '상세정보 더보기' ? '상세정보 접기' : '상세정보 더보기');
|
|
|
return false;
|
|
|
+
|
|
|
+ //210525_더보기 닫을 시 현재 위치로 화면 포커스
|
|
|
+ if($('.pd_descrp .btn_more_box').hasClass('covered') === true){
|
|
|
+ var offset = $('.pd_descrp .btn_more_box').offset();
|
|
|
+ $('html').animate({scrollTop : offset.top - 80}, 400);
|
|
|
+ }
|
|
|
+
|
|
|
+ return false;
|
|
|
});
|
|
|
|
|
|
|
|
|
@@ -1915,7 +2095,7 @@
|
|
|
params.supplyCompCd = [[${params.supplyCompCd}]];
|
|
|
params.brandGroupNm = [[${goodsInfo.brandGroupNm}]];
|
|
|
|
|
|
- //함께본 상품(ajax html)
|
|
|
+ /* //함께본 상품(ajax html)
|
|
|
$('#goodsTogetherbArea').load('GoodsDetailFormWeb.html', function() {
|
|
|
params.goodsOtherGb = "together";
|
|
|
params.ithrCd = "tmtb";
|
|
|
@@ -1937,14 +2117,14 @@
|
|
|
params.ithrCd = "tmtb";
|
|
|
params.contentsLoc = "tmtb";
|
|
|
fnGoodsLikeSearch(params);
|
|
|
- });
|
|
|
-
|
|
|
+ }); */
|
|
|
+
|
|
|
//$(document).ready( function() {
|
|
|
$(function(){
|
|
|
//210526_ 추가 : 이미지 style 속성 제거
|
|
|
$(".mdhtml_box style").remove();$(".mdhtml_box img").removeAttr("style");
|
|
|
|
|
|
- var params = new Object();
|
|
|
+/* var params = new Object();
|
|
|
params.goodsCd = [[${params.goodsCd}]];
|
|
|
params.viewDt = [[${params.viewDt}]];
|
|
|
params.preview = [[${params.preview}]];
|
|
|
@@ -1970,7 +2150,7 @@
|
|
|
params.goodsOtherGb = "like";
|
|
|
params.ithrCd = "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_1 = new sCombo('.opt_set_select .select_custom.item_opt1.item_opt1_1');
|
|
|
@@ -2040,7 +2220,7 @@
|
|
|
}
|
|
|
|
|
|
// 상품평 상세 레이어 호출후 콜백에서 호출하므로 여기에 있어야함
|
|
|
- var fnReviewDetailLayerCollBack = function(){debugger;
|
|
|
+ var fnReviewDetailLayerCollBack = function(){
|
|
|
|
|
|
fnReviewDetail();
|
|
|
|
|
|
@@ -2112,6 +2292,37 @@
|
|
|
});
|
|
|
}
|
|
|
|
|
|
+ // 상품배송 레이어 호출후 콜백에서 호출하므로 여기에 있어야함
|
|
|
+ var fnGoodsDeliveryCollBack = function(){
|
|
|
+
|
|
|
+ // 상품배송 정보
|
|
|
+ var params = new Object();
|
|
|
+ let goodsCd = [[${goodsInfo.goodsCd}]];
|
|
|
+ params.goodsCd = goodsCd;
|
|
|
+
|
|
|
+ //gagajf.ajaxSubmit("/goods/detail/delivery/frame", "html", "goodsDealDelivery", params);
|
|
|
+
|
|
|
+ $.ajax( {
|
|
|
+ type : "POST",
|
|
|
+ url : '/goods/detail/delivery/frame',
|
|
|
+ data : JSON.stringify(params),
|
|
|
+ dataType : 'html',
|
|
|
+ beforeSend : function(xhr, settings) {
|
|
|
+ xhr.setRequestHeader("AJAX" , "true");
|
|
|
+ xhr.setRequestHeader('Accept' , 'application/json');
|
|
|
+ xhr.setRequestHeader('Content-Type' , 'application/json');
|
|
|
+ },
|
|
|
+ success : function(result) {
|
|
|
+ if (result != null) {
|
|
|
+ $("#goodsDealDelivery").css("display", "block");
|
|
|
+ $("#goodsDealDelivery").html(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
$(document).on('click','.option_box [class^="opt_"] .select_custom .select',function(e){
|
|
|
|
|
|
let selectHeight = $(this);
|