|
@@ -76,6 +76,10 @@
|
|
|
<ul class="fullCate" id="ulQuickMenuCate">
|
|
<ul class="fullCate" id="ulQuickMenuCate">
|
|
|
</ul>
|
|
</ul>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <div class="inner">
|
|
|
|
|
+ <ul class="flow" id="ulQuickContents">
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </div>
|
|
|
<div class="inner">
|
|
<div class="inner">
|
|
|
<div class="btn_group btn_group_flex">
|
|
<div class="btn_group btn_group_flex">
|
|
|
<div th:if="${sessionInfo == null}"><button type="button" class="btn" onclick="cfnGoToPage(_PAGE_LOGIN);"><span>로그인</span></button></div>
|
|
<div th:if="${sessionInfo == null}"><button type="button" class="btn" onclick="cfnGoToPage(_PAGE_LOGIN);"><span>로그인</span></button></div>
|
|
@@ -177,24 +181,20 @@
|
|
|
if (status == 'success') {
|
|
if (status == 'success') {
|
|
|
if (result.length > 0) {
|
|
if (result.length > 0) {
|
|
|
$('#ulQuickMenuCate').html('');
|
|
$('#ulQuickMenuCate').html('');
|
|
|
-
|
|
|
|
|
- let tag = '';
|
|
|
|
|
- tag += '<li><a href="javascript:void(0);" onclick="cfnGoToPage(_PAGE_ALL_BRAND);"><span>브랜드</span></a></li>\n';
|
|
|
|
|
|
|
+ $('#ulQuickMenuCate').append('<li><a href="javascript:void(0);" onclick="cfnGoToPage(_PAGE_ALL_BRAND);"><span>브랜드</span></a></li>\n');
|
|
|
|
|
|
|
|
let allCate = [[${allCateList}]];
|
|
let allCate = [[${allCateList}]];
|
|
|
$.each(result, function(idx, item) {
|
|
$.each(result, function(idx, item) {
|
|
|
if (item.contentsType == 'C' || item.contentsType == 'O') { // 컨텐츠유형: 카테고리, 아울렛
|
|
if (item.contentsType == 'C' || item.contentsType == 'O') { // 컨텐츠유형: 카테고리, 아울렛
|
|
|
$.each(allCate, function(allCateIdx, allCateItem) {
|
|
$.each(allCate, function(allCateIdx, allCateItem) {
|
|
|
if (item.cate1No == allCateItem.cate1No) {
|
|
if (item.cate1No == allCateItem.cate1No) {
|
|
|
- tag += fnGetQuickMenuCategory(allCateItem);
|
|
|
|
|
|
|
+ $('#ulQuickMenuCate').append(fnGetQuickMenuCategory(allCateItem));
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
} else if (item.contentsType == 'L') { // 컨텐츠유형:링크
|
|
} else if (item.contentsType == 'L') { // 컨텐츠유형:링크
|
|
|
- tag += '<li><a href="' + item.linkUrl + '"><span>' + item.gtabNm + '</span></a></li>';
|
|
|
|
|
|
|
+ $('#ulQuickContents').append('<li><a href="' + item.linkUrl + '"><span>' + item.gtabNm + '</span></a></li>\n');
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
-
|
|
|
|
|
- $('#ulQuickMenuCate').html(tag);
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|