|
|
@@ -54,7 +54,7 @@
|
|
|
<th:block th:each="goodsImg, status : ${goodsImgList}">
|
|
|
<div class="swiper-slide" th:classappend="${status.first and videoYn == 'N'}? 'on' : ''" th:with="count=${(videoYn == 'Y')? (status.count +1): status.count }"
|
|
|
th:if="${ not (#strings.contains(goodsImg.sysImgNm,'_S1.')
|
|
|
- or #strings.contains(goodsImg.sysImgNm,'_L1.')
|
|
|
+ ` or #strings.contains(goodsImg.sysImgNm,'_L1.')
|
|
|
or #strings.contains(goodsImg.sysImgNm,'_L2.'))}">
|
|
|
<a th:href="${'#navLocate'+ count}">
|
|
|
<span class="thumb">
|
|
|
@@ -261,14 +261,14 @@
|
|
|
<div class="select_custom item_opt1" th:classappend="${'item_opt1_'+status.count +' '+goodsCompose.compsGoodsCd}"
|
|
|
th:if="${goodsCompose.goodsOption1List != null and !goodsCompose.goodsOption1List.empty}" >
|
|
|
<div class="combo">
|
|
|
- <div class="select">옵션1</div>
|
|
|
+ <div class="select">옵션1선택</div>
|
|
|
<ul class="list">
|
|
|
<th:block th:each="goodsOption, optionStatus : ${goodsCompose.goodsOption1List}" >
|
|
|
<li th:onclick="fnOption2([[${status.count}]], [[${goodsOption.goodsCd}]],[[${goodsOption.optCd1}]],[[${goodsCompose.qty}]],[[${goodsInfo.minOrdQty}]], [[${goodsInfo.maxOrdQty}]])"
|
|
|
th:attr="aria-disabled=${(goodsCompose.goodsStat != 'G008_90')? 'true':''}, data-soldout=${(goodsCompose.goodsStat != 'G008_90')? 'true':''}"
|
|
|
>
|
|
|
<div th:text="${goodsOption.optCd1Nm}">상품옵션</div>
|
|
|
- <div th:if="${goodsOption.addPrice > 0}" th:text="|${#numbers.formatInteger(goodsOption.addPrice, 0,'COMMA')}원|">0원</div>
|
|
|
+ <div th:if="${goodsOption.addPrice > 0}" th:text="|+${#numbers.formatInteger(goodsOption.addPrice, 0,'COMMA')}원|">0원</div>
|
|
|
<input type="hidden" name="opt" th:attr="addPrice=${goodsOption.addPrice}, optCd1=${goodsOption.optCd1},optCd2=${goodsOption.optCd2}, optCd=${goodsOption.optCd}"/>
|
|
|
</li>
|
|
|
</th:block>
|
|
|
@@ -279,7 +279,7 @@
|
|
|
<div class="form_field">
|
|
|
<div class="select_custom item_opt2" th:classappend="${'item_opt2_'+status.count +' '+goodsCompose.compsGoodsCd}" disabled>
|
|
|
<div class="combo">
|
|
|
- <div class="select">옵션2</div>
|
|
|
+ <div class="select">옵션2선택</div>
|
|
|
<ul class="list" th:id="|goodsOpt2${goodsCompose.compsGoodsCd}|" >
|
|
|
<!-- 옵션2 -->
|
|
|
</ul>
|
|
|
@@ -300,12 +300,12 @@
|
|
|
<div class="form_field">
|
|
|
<div class="select_custom item_opt1 item_opt1_1" th:classappend="${goodsInfo.goodsCd}" >
|
|
|
<div class="combo">
|
|
|
- <div class="select">옵션1</div>
|
|
|
+ <div class="select">옵션1선택</div>
|
|
|
<ul class="list">
|
|
|
<th:block th:each="goodsOption, optionStatus : ${goodsOption1List}" >
|
|
|
<li th:onclick="fnOption2([[${optionStatus.count}]], [[${goodsOption.goodsCd}]],[[${goodsOption.optCd1}]],1,[[${goodsInfo.minOrdQty}]], [[${goodsInfo.maxOrdQty}]])">
|
|
|
<div th:text="${goodsOption.optCd1}">상품옵션</div>
|
|
|
- <div th:if="${goodsOption.addPrice > 0}" th:text="|${#numbers.formatInteger(goodsOption.addPrice, 0,'COMMA')}원|">0원</div>
|
|
|
+ <div th:if="${goodsOption.addPrice > 0}" th:text="|+${#numbers.formatInteger(goodsOption.addPrice, 0,'COMMA')}원|">0원</div>
|
|
|
<input type="hidden" name="opt" th:attr="addPrice=${goodsOption.addPrice}, optCd1=${goodsOption.optCd1},optCd2=${goodsOption.optCd2}, optCd=${goodsOption.optCd}"/>
|
|
|
</li>
|
|
|
</th:block>
|
|
|
@@ -316,7 +316,7 @@
|
|
|
<div class="form_field">
|
|
|
<div class="select_custom item_opt2 item_opt2_1" th:classappend="${goodsInfo.goodsCd}" disabled>
|
|
|
<div class="combo">
|
|
|
- <div class="select">옵션2</div>
|
|
|
+ <div class="select">옵션2선택</div>
|
|
|
<ul class="list" th:id="|goodsOpt2${goodsInfo.goodsCd}|" >
|
|
|
<!-- 옵션2 -->
|
|
|
</ul>
|
|
|
@@ -481,6 +481,24 @@
|
|
|
</th:block>
|
|
|
</div>
|
|
|
</th:block>
|
|
|
+ <!-- 공통상품베너 -->
|
|
|
+ <th:block th:if="${goodsBannerList != null and !goodsBannerList.empty}">
|
|
|
+ <div class="mdhtml_box">
|
|
|
+ <th:block th:each="goodsBanner, status : ${goodsBannerList}" >
|
|
|
+ <th:block th:if="${goodsBanner.strVar1 != null and not #strings.equals(goodsBanner.strVar1, '#')}">
|
|
|
+ <a th:href="${goodsBanner.strVar1}" target="_blank">
|
|
|
+ <img th:src="${imgUrl+goodsBanner.imgPath1}" alt="">
|
|
|
+ </a>
|
|
|
+ </th:block>
|
|
|
+ <th:block th:unless="${goodsBanner.strVar1 != null and not #strings.equals(goodsBanner.strVar1, '#')}">
|
|
|
+ <img th:src="${imgUrl+goodsBanner.imgPath1}" alt="">
|
|
|
+ </th:block>
|
|
|
+ </th:block>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </th:block>
|
|
|
+
|
|
|
+
|
|
|
|
|
|
<!-- 관리자 에디터입력 내용 노출 상단 html -->
|
|
|
<th:block th:if="${goodsInfo.goodsTopDesc != null and !goodsInfo.goodsTopDesc.empty}" th:utext="${#strings.unescapeJava(#strings.escapeJava(goodsInfo.goodsTopDesc))}"></th:block >
|
|
|
@@ -492,7 +510,9 @@
|
|
|
or #strings.contains(goodsImgList,'_M4.')
|
|
|
or #strings.contains(goodsImgList,'_M5.')}">
|
|
|
<span class="tit_view">OUTFIT VIEW</span>
|
|
|
- <span class="model_info">(모델정보 : 185cm / 78kg / XL 착용)</span>
|
|
|
+ <th:block th:each="goodsImg, status : ${goodsImgList}" th:if="${status.first}">
|
|
|
+ <span class="model_info" th:text="${goodsImg.modelInfo}">(모델정보 : 185cm / 78kg / XL 착용)</span>
|
|
|
+ </th:block>
|
|
|
<div class="view">
|
|
|
<th:block th:each="goodsImg, status : ${goodsImgList}" th:if="${#strings.contains(goodsImg.sysImgNm,'_M1.')
|
|
|
or #strings.contains(goodsImg.sysImgNm,'_M2.')
|
|
|
@@ -545,7 +565,7 @@
|
|
|
<span>
|
|
|
<th:block th:each="goodsImg, status : ${goodsImgList}" th:if="${#strings.contains(goodsImg.sysImgNm,'_L1.')
|
|
|
or #strings.contains(goodsImg.sysImgNm,'_L2.')}">
|
|
|
- <img th:src="${imgGoodsUrl+'/'+goodsImg.sysImgNm}" alt="">
|
|
|
+ <img th:src="${imgGoodsUrl+'/'+goodsImg.sysImgNm+'?RS=250'}" alt="">
|
|
|
</th:block>
|
|
|
</span>
|
|
|
</div>
|
|
|
@@ -606,7 +626,7 @@
|
|
|
</div>
|
|
|
<div class="area_kcl" th:if="${goodsSafeNo != null}">
|
|
|
<i class="ico ico_kcl"></i>
|
|
|
- <p class="tit normal" th:text="${goodsSafeNo.certDiv}">
|
|
|
+ <p class="tit normal" th:text="${goodsSafeNo.certDiv + ' / ' + goodsSafeNo.certOrganName}">
|
|
|
어린이제품 안전인증 / 한국건설생활시험연구원(KCL)
|
|
|
</p>
|
|
|
<p class="normal" >
|
|
|
@@ -614,7 +634,7 @@
|
|
|
해당 없음
|
|
|
</th:block>
|
|
|
<th:block th:unless="${#strings.contains(goodsSafeNo.certNum, '해당')}" >
|
|
|
- 인증번호: : <th:block th:text="${goodsSafeNo.certNum}"></th:block>
|
|
|
+ 인증번호: <th:block th:text="${goodsSafeNo.certNum}"></th:block>
|
|
|
<a th:href="@{http://www.safetykorea.kr/search/searchPop(certNum=${goodsSafeNo.certNum})}" target="_blank" class="linktxt3">상세보기</a>
|
|
|
</th:block>
|
|
|
</p>
|
|
|
@@ -1233,7 +1253,7 @@
|
|
|
}
|
|
|
tag += '<div class="opt_name">'+ item.optCd2+'</div>\n';
|
|
|
if (item.addPrice > 0){
|
|
|
- tag += '<div class="opt_price">'+ item.addPrice.addComma() +'원</div>\n';
|
|
|
+ tag += '<div class="opt_price">+'+ item.addPrice.addComma() +'원</div>\n';
|
|
|
}
|
|
|
tag += '<input type="hidden" name="opt2" value="'+ item.goodsCd+'|'+item.optCd +'|'+qty +'" goodsCd="'+item.goodsCd+'" id="'+item.optCd+'" addPrice="'+item.addPrice+'" optCd="'+item.optCd+'" optCd1="'+item.optCd1+'" optCd2="'+item.optCd2+'" />\n';
|
|
|
tag += '</li>\n';
|
|
|
@@ -1250,32 +1270,25 @@
|
|
|
$obj.append(tag);
|
|
|
if (selfGoodsYn == "Y"){
|
|
|
if (ridx == 1){
|
|
|
- var opt_selecter02_1 = new sCombo('.opt_set_select .select_custom.item_opt2.item_opt2_1');
|
|
|
- $('.opt_set_select .select_custom.item_opt2.item_opt2_1').addClass('on');
|
|
|
- $('.opt_set_select .select_custom.item_opt2.item_opt2_1').find('.list').css('display','block');
|
|
|
+ var opt_selecter02_1 = new sCombo('.opt_set_select .select_custom.item_opt2.item_opt2_1');
|
|
|
+ $('.opt_set_select .select_custom.item_opt2.item_opt2_1').find('.combo .select').trigger('click');
|
|
|
}else if (ridx == 2){
|
|
|
var opt_selecter02_2 = new sCombo('.opt_set_select .select_custom.item_opt2.item_opt2_2');
|
|
|
- $('.opt_set_select .select_custom.item_opt2.item_opt2_2').addClass('on');
|
|
|
- $('.opt_set_select .select_custom.item_opt2.item_opt2_2').find('.list').css('display','block');
|
|
|
+ $('.opt_set_select .select_custom.item_opt2.item_opt2_2').find('.combo .select').trigger('click');
|
|
|
}else if (ridx == 3){
|
|
|
var opt_selecter02_3 = new sCombo('.opt_set_select .select_custom.item_opt2.item_opt2_3');
|
|
|
- $('.opt_set_select .select_custom.item_opt2.item_opt2_3').addClass('on');
|
|
|
- $('.opt_set_select .select_custom.item_opt2.item_opt2_3').find('.list').css('display','block');
|
|
|
+ $('.opt_set_select .select_custom.item_opt2.item_opt2_3').find('.combo .select').trigger('click');
|
|
|
}else if (ridx == 4){
|
|
|
var opt_selecter02_4 = new sCombo('.opt_set_select .select_custom.item_opt2.item_opt2_4');
|
|
|
- $('.opt_set_select .select_custom.item_opt2.item_opt2_4').addClass('on');
|
|
|
- $('.opt_set_select .select_custom.item_opt2.item_opt2_4').find('.list').css('display','block');
|
|
|
+ $('.opt_set_select .select_custom.item_opt2.item_opt2_4').find('.combo .select').trigger('click');
|
|
|
}else{
|
|
|
var opt_selecter02_5 = new sCombo('.opt_set_select .select_custom.item_opt2.item_opt2_5');
|
|
|
- $('.opt_set_select .select_custom.item_opt2.item_opt2_5').addClass('on');
|
|
|
- $('.opt_set_select .select_custom.item_opt2.item_opt2_5').find('.list').css('display','block');
|
|
|
+ $('.opt_set_select .select_custom.item_opt2.item_opt2_5').find('.combo .select').trigger('click');
|
|
|
}
|
|
|
|
|
|
}else{
|
|
|
var opt_selecter02 = new sCombo('.opt_select .select_custom.item_opt2.item_opt2_1');
|
|
|
- //$('.opt_select .select_custom.item_opt2').removeClass('on');
|
|
|
- $('.opt_select .select_custom.item_opt2.item_opt2_1').addClass('on');
|
|
|
- $('.opt_select .select_custom.item_opt2.item_opt2_1').find('.list').css('display','block');
|
|
|
+ $('.opt_set_select .select_custom.item_opt2.item_opt2_1').find('.combo .select').trigger('click');
|
|
|
|
|
|
}
|
|
|
}
|
|
|
@@ -1517,8 +1530,10 @@
|
|
|
if (minutes < '10') { minutes = '0' + minutes; }
|
|
|
if (seconds < '10') { seconds = '0' + seconds; }
|
|
|
|
|
|
+ console.log('days :' + days);
|
|
|
if (Number(days) > 0 ){
|
|
|
- $('#d-days').html(days);
|
|
|
+ hours = Number(hours) + (Number(days) * 24);
|
|
|
+ $('#d-days').remove();
|
|
|
}else{
|
|
|
//$('#d-days').css('display','none');
|
|
|
$('#d-days').remove();
|