|
|
@@ -381,7 +381,7 @@
|
|
|
<input type="hidden" name="sortingType" value="NEW"/>
|
|
|
<!-- <input type="hidden" name="newGoods" th:value="${cateInfo.formalGb=='G009_20'?'':'40'}" />-->
|
|
|
<input type="hidden" name="keyword" value=""/>
|
|
|
- <input type="hidden" name="benefitArr" th:value="${cateInfo.formalGb=='G009_20'?'':'40:신상'}"/>
|
|
|
+ <input type="hidden" name="benefitArr" th:unless="${cateInfo.formalGb=='G009_20'}" th:value="${cateInfo.formalGb=='G009_20'?'':'40:신상'}"/>
|
|
|
</form>
|
|
|
|
|
|
|
|
|
@@ -1389,7 +1389,11 @@
|
|
|
tag += '</ul>\n';
|
|
|
});
|
|
|
$("#cateDepth").append(tag);
|
|
|
- }else{
|
|
|
+ }else if(!gagajf.isNull(cate1No)){
|
|
|
+ if(formalGb=='G009_20'){
|
|
|
+ tag += '<a class="daps1" href="javascript:void(0);" onclick="cfnGoToGoodsList(' + brandGroupNo + ',\'' + cateGb + '\',\'\',\'\',\'\',\'\',\'\',\''+formalGb+'\')";>전체</a>\n';
|
|
|
+ tag += '<ul class="daps2">\n';
|
|
|
+ }
|
|
|
$.each(cateList, function(idx,item){
|
|
|
$.each(allCateList, function (allIdx, allItem){
|
|
|
if(brandGroupNo > 0){
|
|
|
@@ -1446,10 +1450,44 @@
|
|
|
$('#leafCateList').append(leafTag);
|
|
|
}
|
|
|
});
|
|
|
+ if(formalGb=='G009_20'){
|
|
|
+ tag += '</ul>\n';
|
|
|
+ }
|
|
|
$("#cateDepth").append(tag);
|
|
|
+ }else{
|
|
|
+ let tag = '';
|
|
|
+ if(formalGb == 'G009_20'){
|
|
|
+ $("#htopTitle").text('아울렛');
|
|
|
+ tag += '<ul class="daps2">\n';
|
|
|
+ tag += '<li>';
|
|
|
+ tag += '<a href="javascript:void(0);" onclick="cfnGoToGoodsList(' + brandGroupNo + ',\'' + cateGb + '\',\'\'';
|
|
|
+ if(formalGb=='G009_20'){
|
|
|
+ tag += ' ,\'\',\'\',\'\',\'\',\''+formalGb+'\'';
|
|
|
+ }
|
|
|
+ tag += ' )">전체</a>';
|
|
|
+ tag += '</li>\n';
|
|
|
+ tag += '</ul>\n';
|
|
|
+ $("#cateDepth").append(tag);
|
|
|
+ }
|
|
|
+ let leafTag = '';
|
|
|
+ leafTag += '<a href="javascript:void(0);" class="on" onclick="cfnGoToGoodsList(' + brandGroupNo + ',\'' + cateGb + '\', \'\' ';
|
|
|
+ if(formalGb=='G009_20'){
|
|
|
+ leafTag += ' ,\'\',\'\',\'\',\'\',\''+formalGb+'\'';
|
|
|
+ }
|
|
|
+ leafTag += ');">전체</a>';
|
|
|
+ $.each(allCateList, function (allIdx, allItem){
|
|
|
+ $.each(cateList, function(idx,item){
|
|
|
+ if(allItem.cate1No == item.cate1No){
|
|
|
+ leafTag += '<a href="javascript:void(0);" onclick="cfnGoToGoodsList(' + brandGroupNo + ',\'' + [[${cateInfo.cateGb}]] + '\', ' + item.cate1No + ' ';
|
|
|
+ if(formalGb=='G009_20'){
|
|
|
+ leafTag += ' ,\'\',\'\',\'\',\'\',\''+formalGb+'\'';
|
|
|
+ }
|
|
|
+ leafTag += ');">'+item.cate1Nm+'</a>';
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+ $('#leafCateList').append(leafTag);
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
|
|
|
</script>
|