|
|
@@ -171,7 +171,7 @@
|
|
|
<a href="javascript:void(0)">
|
|
|
<div class="form_field">
|
|
|
<div>
|
|
|
- <input id="discount1" name="dcRate" type="checkbox" value="0,10" onclick="filterDcRateMob(this,'dcRate','off','1');"><label for="discount1"> <span id="dcRateText1">10% 이하</span> </label>
|
|
|
+ <input id="discount1" name="dcRate" type="checkbox" value="0,10" data-id="10% 이하" onclick="filterDcRateMob(this,'dcRate','off','1');"><label for="discount1"> <span id="dcRateText1">10% 이하</span> </label>
|
|
|
</div>
|
|
|
</div>
|
|
|
</a>
|
|
|
@@ -180,7 +180,7 @@
|
|
|
<a href="javascript:void(0)">
|
|
|
<div class="form_field">
|
|
|
<div>
|
|
|
- <input id="discount2" name="dcRate" type="checkbox" value="10,20" onclick="filterDcRateMob(this,'dcRate','off','2');"><label for="discount2"> <span id="dcRateText2">10~20%</span> </label>
|
|
|
+ <input id="discount2" name="dcRate" type="checkbox" value="10,20" data-id="10~20%" onclick="filterDcRateMob(this,'dcRate','off','2');"><label for="discount2"> <span id="dcRateText2">10~20%</span> </label>
|
|
|
</div>
|
|
|
</div>
|
|
|
</a>
|
|
|
@@ -189,7 +189,7 @@
|
|
|
<a href="javascript:void(0)">
|
|
|
<div class="form_field">
|
|
|
<div>
|
|
|
- <input id="discount3" name="dcRate" type="checkbox" value="20,30" onclick="filterDcRateMob(this,'dcRate','off','3');"><label for="discount3"> <span id="dcRateText3">20~30%</span> </label>
|
|
|
+ <input id="discount3" name="dcRate" type="checkbox" value="20,30" data-id="20~30%" onclick="filterDcRateMob(this,'dcRate','off','3');"><label for="discount3"> <span id="dcRateText3">20~30%</span> </label>
|
|
|
</div>
|
|
|
</div>
|
|
|
</a>
|
|
|
@@ -198,7 +198,7 @@
|
|
|
<a href="javascript:void(0)">
|
|
|
<div class="form_field">
|
|
|
<div>
|
|
|
- <input id="discount4" name="dcRate" type="checkbox" value="30,40" onclick="filterDcRateMob(this,'dcRate','off','4');"><label for="discount4"> <span id="dcRateText4">30~40%</span> </label>
|
|
|
+ <input id="discount4" name="dcRate" type="checkbox" value="30,40" data-id="30~40%" onclick="filterDcRateMob(this,'dcRate','off','4');"><label for="discount4"> <span id="dcRateText4">30~40%</span> </label>
|
|
|
</div>
|
|
|
</div>
|
|
|
</a>
|
|
|
@@ -207,7 +207,7 @@
|
|
|
<a href="javascript:void(0)">
|
|
|
<div class="form_field">
|
|
|
<div>
|
|
|
- <input id="discount5" name="dcRate" type="checkbox" value="40,50" onclick="filterDcRateMob(this,'dcRate','off','5');"><label for="discount5"> <span id="dcRateText5">40~50%</span> </label>
|
|
|
+ <input id="discount5" name="dcRate" type="checkbox" value="40,50" data-id="40~50%" onclick="filterDcRateMob(this,'dcRate','off','5');"><label for="discount5"> <span id="dcRateText5">40~50%</span> </label>
|
|
|
</div>
|
|
|
</div>
|
|
|
</a>
|
|
|
@@ -216,7 +216,7 @@
|
|
|
<a href="javascript:void(0)">
|
|
|
<div class="form_field">
|
|
|
<div>
|
|
|
- <input id="discount6" name="dcRate" type="checkbox" value="50,60" onclick="filterDcRateMob(this,'dcRate','off','6');"><label for="discount6"> <span id="dcRateText6">50~60%</span> </label>
|
|
|
+ <input id="discount6" name="dcRate" type="checkbox" value="50,60" data-id="50~60%" onclick="filterDcRateMob(this,'dcRate','off','6');"><label for="discount6"> <span id="dcRateText6">50~60%</span> </label>
|
|
|
</div>
|
|
|
</div>
|
|
|
</a>
|
|
|
@@ -225,7 +225,7 @@
|
|
|
<a href="javascript:void(0)">
|
|
|
<div class="form_field">
|
|
|
<div>
|
|
|
- <input id="discount7" name="dcRate" type="checkbox" value="60,70" onclick="filterDcRateMob(this,'dcRate','off','7');"><label for="discount7"> <span id="dcRateText7">60~70%</span> </label>
|
|
|
+ <input id="discount7" name="dcRate" type="checkbox" value="60,70" data-id="60~70%" onclick="filterDcRateMob(this,'dcRate','off','7');"><label for="discount7"> <span id="dcRateText7">60~70%</span> </label>
|
|
|
</div>
|
|
|
</div>
|
|
|
</a>
|
|
|
@@ -234,7 +234,7 @@
|
|
|
<a href="javascript:void(0)">
|
|
|
<div class="form_field">
|
|
|
<div>
|
|
|
- <input id="discount8" name="dcRate" type="checkbox" value="70,80" onclick="filterDcRateMob(this,'dcRate','off','8');"><label for="discount8"> <span id="dcRateText8">70~80%</span> </label>
|
|
|
+ <input id="discount8" name="dcRate" type="checkbox" value="70,80" data-id="70~80%" onclick="filterDcRateMob(this,'dcRate','off','8');"><label for="discount8"> <span id="dcRateText8">70~80%</span> </label>
|
|
|
</div>
|
|
|
</div>
|
|
|
</a>
|
|
|
@@ -243,7 +243,7 @@
|
|
|
<a href="javascript:void(0)">
|
|
|
<div class="form_field">
|
|
|
<div>
|
|
|
- <input id="discount9" name="dcRate" type="checkbox" value="80,90" onclick="filterDcRateMob(this,'dcRate','off','9');"><label for="discount9"> <span id="dcRateText9">80~90%</span> </label>
|
|
|
+ <input id="discount9" name="dcRate" type="checkbox" value="80,90" data-id="80~90%" onclick="filterDcRateMob(this,'dcRate','off','9');"><label for="discount9"> <span id="dcRateText9">80~90%</span> </label>
|
|
|
</div>
|
|
|
</div>
|
|
|
</a>
|
|
|
@@ -252,7 +252,7 @@
|
|
|
<a href="javascript:void(0)">
|
|
|
<div class="form_field">
|
|
|
<div>
|
|
|
- <input id="discount10" name="dcRate" type="checkbox" value="90,0" onclick="filterDcRateMob(this,'dcRate','off','10');"><label for="discount10"> <span id="dcRateText10">90이상</span> </label>
|
|
|
+ <input id="discount10" name="dcRate" type="checkbox" value="90,0" data-id="90%이상" onclick="filterDcRateMob(this,'dcRate','off','10');"><label for="discount10"> <span id="dcRateText10">90이상</span> </label>
|
|
|
</div>
|
|
|
</div>
|
|
|
</a>
|
|
|
@@ -408,7 +408,7 @@
|
|
|
priceHtml += ' <a href="javascript:void(0)">\n';
|
|
|
priceHtml += ' <div class="form_field">\n';
|
|
|
priceHtml += ' <div>\n';
|
|
|
- priceHtml += ' <input type="checkbox" id="price'+(i+1)+'" name="price" value="'+minPrice+','+maxPrice+'" onclick="filterPriceMob(this,\'price\',\'off\',\''+(i+1)+'\');"><label for="price'+(i+1)+'">\n';
|
|
|
+ priceHtml += ' <input type="checkbox" id="price'+(i+1)+'" name="price" value="'+minPrice+','+maxPrice+'" data-id="'+minPrice.addComma()+'원 ~ '+maxPrice.addComma()+'원" onclick="filterPriceMob(this,\'price\',\'off\',\''+(i+1)+'\');"><label for="price'+(i+1)+'">\n';
|
|
|
priceHtml += ' <span id="pricdSpan'+(i+1)+'">'+minPrice.addComma()+'원 ~ '+maxPrice.addComma()+'원</span> </label>\n';
|
|
|
priceHtml += ' </div>\n';
|
|
|
priceHtml += ' </div>\n';
|
|
|
@@ -769,7 +769,7 @@
|
|
|
if(brandGroupNo > 0){
|
|
|
if(gagajf.isNull(cate1No)){
|
|
|
let tag = '';
|
|
|
- tag += '<a href="javascript:void(0);" onclick="cfnGoToGoodsList(' + brandGroupNo + ',\'' + cateGb + '\', \'\' ';
|
|
|
+ tag += '<a href="javascript:void(0);" class="on" onclick="cfnGoToGoodsList(' + brandGroupNo + ',\'' + cateGb + '\', \'\' ';
|
|
|
if(formalGb=='G009_20'){
|
|
|
tag += ' ,\'\',\'\',\'\',\'\',\''+formalGb+'\'';
|
|
|
}
|
|
|
@@ -842,7 +842,7 @@
|
|
|
if (cate1 != null) {
|
|
|
if(cate1.cate1No == cate1No){
|
|
|
if(gagajf.isNull(cate2No)){
|
|
|
- tag += '<a href="javascript:void(0);" onclick="cfnGoToGoodsList(' + brandGroupNo + ',\'' + cateGb + '\',' + cate1.cate1No + ' ';
|
|
|
+ tag += '<a href="javascript:void(0);" class="on" onclick="cfnGoToGoodsList(' + brandGroupNo + ',\'' + cateGb + '\',' + cate1.cate1No + ' ';
|
|
|
if(formalGb=='G009_20'){
|
|
|
tag += ' ,\'\',\'\',\'\',\'\',\''+formalGb+'\'';
|
|
|
}
|
|
|
@@ -860,7 +860,7 @@
|
|
|
if(cate2.cate2No == cate2No){
|
|
|
if(cate2.leafYn == 'N' && cate2.cate3List.length > 0){
|
|
|
if(gagajf.isNull(cate3No)){
|
|
|
- tag += '<a href="javascript:void(0);" onclick="cfnGoToGoodsList(' + brandGroupNo + ',\'' + cateGb + '\',' + cate1.cate1No + ',' + cate2.cate2No + ' ';
|
|
|
+ tag += '<a href="javascript:void(0);" class="on" onclick="cfnGoToGoodsList(' + brandGroupNo + ',\'' + cateGb + '\',' + cate1.cate1No + ',' + cate2.cate2No + ' ';
|
|
|
if(formalGb=='G009_20'){
|
|
|
tag += ' ,\'\',\'\',\'\',\''+formalGb+'\'';
|
|
|
}
|
|
|
@@ -877,7 +877,7 @@
|
|
|
if(cate3.cate3No == cate3No){
|
|
|
if(cate3.leafYn == 'N' && cate3.cate4List.length > 0){
|
|
|
if(gagajf.isNull(cate4No)){
|
|
|
- tag += '<a href="javascript:void(0);" onclick="cfnGoToGoodsList(' + brandGroupNo + ',\'' + cateGb + '\',' + cate1.cate1No + ',' + cate2.cate2No + ',' + cate3.cate3No + ' ';
|
|
|
+ tag += '<a href="javascript:void(0);" class="on" onclick="cfnGoToGoodsList(' + brandGroupNo + ',\'' + cateGb + '\',' + cate1.cate1No + ',' + cate2.cate2No + ',' + cate3.cate3No + ' ';
|
|
|
if(formalGb=='G009_20'){
|
|
|
tag += ' ,\'\',\'\',\''+formalGb+'\'';
|
|
|
}
|
|
|
@@ -894,7 +894,7 @@
|
|
|
if(cate4.cate4No == cate4No){
|
|
|
if(cate4.leafYn == 'N' && cate4.cate5List.length > 0){
|
|
|
if(gagajf.isNull(cate5No)){
|
|
|
- tag += '<a href="javascript:void(0);" onclick="cfnGoToGoodsList(' + brandGroupNo + ',\'' + cateGb + '\',' + cate1.cate1No + ',' + cate2.cate2No + ',' + cate3.cate3No + ',' + cate4.cate4No + ' ';
|
|
|
+ tag += '<a href="javascript:void(0);" class="on" onclick="cfnGoToGoodsList(' + brandGroupNo + ',\'' + cateGb + '\',' + cate1.cate1No + ',' + cate2.cate2No + ',' + cate3.cate3No + ',' + cate4.cate4No + ' ';
|
|
|
if(formalGb=='G009_20'){
|
|
|
tag += ' ,\'\',\''+formalGb+'\'';
|
|
|
}
|
|
|
@@ -909,7 +909,7 @@
|
|
|
tag += ');">'+cate5.cate5Nm+'</a>';
|
|
|
}else{
|
|
|
if(cate5.cate5No == cate5No){
|
|
|
- tag += '<a href="javascript:void(0);" onclick="cfnGoToGoodsList(' + brandGroupNo + ',\'' + cateGb + '\',' + cate1.cate1No + ',' + cate2.cate2No + ',' + cate3.cate3No + ',' + cate4.cate4No + ',' + cate5.cate5No + ' ';
|
|
|
+ tag += '<a href="javascript:void(0);" class="on" onclick="cfnGoToGoodsList(' + brandGroupNo + ',\'' + cateGb + '\',' + cate1.cate1No + ',' + cate2.cate2No + ',' + cate3.cate3No + ',' + cate4.cate4No + ',' + cate5.cate5No + ' ';
|
|
|
if(formalGb=='G009_20'){
|
|
|
tag += ' ,\''+formalGb+'\'';
|
|
|
}
|
|
|
@@ -1038,6 +1038,9 @@
|
|
|
$('#filterForm input[name=benefit]:checked').each(function(){
|
|
|
$(this).attr('checked', true);
|
|
|
});
|
|
|
+ $('#filterForm input[name=price]:checked').each(function(){
|
|
|
+ $(this).attr('checked', true);
|
|
|
+ });
|
|
|
if ( (event.originalEvent && event.originalEvent.persisted) || (window.performance && window.performance.navigation.type == 2)) {
|
|
|
// if( history.scrollRestoration ) window.history.scrollRestoration = 'manual';
|
|
|
var historyData = sessionStorage.getItem(document.location.href);
|
|
|
@@ -1058,7 +1061,7 @@
|
|
|
if(typeof historyData.totalCount!='undefined' && historyData.totalCount!=''){
|
|
|
$("#totCntId").text(historyData.totalCount);
|
|
|
}
|
|
|
- if(filterPriceList.length > 0){
|
|
|
+ /*if(filterPriceList.length > 0){
|
|
|
let min = 0;
|
|
|
let max = 0;
|
|
|
var val = '';
|
|
|
@@ -1075,7 +1078,7 @@
|
|
|
$(this).prop("checked",true);
|
|
|
}
|
|
|
});
|
|
|
- }
|
|
|
+ }*/
|
|
|
fnReCheckFilterList();
|
|
|
if(typeof historyData.sortingType!='undefined' && historyData.sortingType!=''){
|
|
|
$("#searchGoodsForm input:hidden[name=sortingType]").val(historyData.sortingType);
|