|
@@ -83,7 +83,6 @@
|
|
|
<p>
|
|
<p>
|
|
|
<span class="tit">남은시간</span>
|
|
<span class="tit">남은시간</span>
|
|
|
<span class="timer">
|
|
<span class="timer">
|
|
|
- <em id="d-days">0</em>
|
|
|
|
|
<em id="d-hours">0</em>
|
|
<em id="d-hours">0</em>
|
|
|
<em id="d-minutes">0</em>
|
|
<em id="d-minutes">0</em>
|
|
|
<em id="d-seconds">0</em>
|
|
<em id="d-seconds">0</em>
|
|
@@ -351,9 +350,9 @@
|
|
|
}else{
|
|
}else{
|
|
|
tagDown = '<li aria-disabled="'+soldoutYn+'" data-soldout="'+soldoutYn +'" onclick="fnOption2(this, \'Down\')">\n';
|
|
tagDown = '<li aria-disabled="'+soldoutYn+'" data-soldout="'+soldoutYn +'" onclick="fnOption2(this, \'Down\')">\n';
|
|
|
}
|
|
}
|
|
|
- tag2 += '<div>'+ item.optCd1Nm+'</div>\n';
|
|
|
|
|
|
|
+ tag2 += '<div class="opt_name">'+ item.optCd1Nm+'</div>\n';
|
|
|
if (item.addPrice > 0){
|
|
if (item.addPrice > 0){
|
|
|
- tag2 += '<div>+'+ item.addPrice.addComma() +'원</div>\n';
|
|
|
|
|
|
|
+ tag2 += '<div class="opt_price">+'+ item.addPrice.addComma() +'원</div>\n';
|
|
|
}
|
|
}
|
|
|
tag2 += '<input type="hidden" name="opt1" value="'+ goodsCd +'" currPrice="'+ currPrice+'" optCd1="'+item.optCd1+'" minOrdQty="'+item.minOrdQty+'" maxOrdQty="'+item.maxOrdQty+'" selfGoodsYn="'+selfGoodsYn+'" />\n';
|
|
tag2 += '<input type="hidden" name="opt1" value="'+ goodsCd +'" currPrice="'+ currPrice+'" optCd1="'+item.optCd1+'" minOrdQty="'+item.minOrdQty+'" maxOrdQty="'+item.maxOrdQty+'" selfGoodsYn="'+selfGoodsYn+'" />\n';
|
|
|
tag2 += '</li>\n';
|
|
tag2 += '</li>\n';
|
|
@@ -466,9 +465,9 @@
|
|
|
}else{
|
|
}else{
|
|
|
tagDown = '<li aria-disabled="'+soldoutYn+'" data-soldout="'+soldoutYn +'" onclick="fnViewStock(this, \'Down\' )">\n';
|
|
tagDown = '<li aria-disabled="'+soldoutYn+'" data-soldout="'+soldoutYn +'" onclick="fnViewStock(this, \'Down\' )">\n';
|
|
|
}
|
|
}
|
|
|
- tag2 += '<div>'+ item.optCd2+'</div>\n';
|
|
|
|
|
|
|
+ tag2 += '<div class="opt_name">'+ item.optCd2+'</div>\n';
|
|
|
if (item.addPrice > 0){
|
|
if (item.addPrice > 0){
|
|
|
- tag2 += '<div>+'+ item.addPrice.addComma() +'원</div>\n';
|
|
|
|
|
|
|
+ tag2 += '<div class="opt_price">+'+ item.addPrice.addComma() +'원</div>\n';
|
|
|
}
|
|
}
|
|
|
tag2 += '<input type="hidden" name="opt2" value="'+ goodsCd +'" currPrice="'+ currPrice+'" addPrice="'+item.addPrice+'" optCd="'+item.optCd+'" optCd1="'+item.optCd1+'" optCd1Nm="'+item.optCd1Nm+'" optCd2="'+item.optCd2+'" minOrdQty="'+minOrdQty+'" maxOrdQty="'+maxOrdQty+'" selfGoodsYn="'+selfGoodsYn+'"/>\n';
|
|
tag2 += '<input type="hidden" name="opt2" value="'+ goodsCd +'" currPrice="'+ currPrice+'" addPrice="'+item.addPrice+'" optCd="'+item.optCd+'" optCd1="'+item.optCd1+'" optCd1Nm="'+item.optCd1Nm+'" optCd2="'+item.optCd2+'" minOrdQty="'+minOrdQty+'" maxOrdQty="'+maxOrdQty+'" selfGoodsYn="'+selfGoodsYn+'"/>\n';
|
|
|
tag2 += '</li>\n';
|
|
tag2 += '</li>\n';
|
|
@@ -878,9 +877,7 @@
|
|
|
if (seconds < '10') { seconds = '0' + seconds; }
|
|
if (seconds < '10') { seconds = '0' + seconds; }
|
|
|
|
|
|
|
|
if (Number(days) > 0 ){
|
|
if (Number(days) > 0 ){
|
|
|
- $('#d-days').html(days);
|
|
|
|
|
- }else{
|
|
|
|
|
- $('#d-days').css('display','none');
|
|
|
|
|
|
|
+ hours = Number(hours) + (Number(days) * 24);
|
|
|
}
|
|
}
|
|
|
$('#d-hours').html(hours);
|
|
$('#d-hours').html(hours);
|
|
|
$('#d-minutes').html(minutes);
|
|
$('#d-minutes').html(minutes);
|