Selaa lähdekoodia

브랜드 메인 수정

bin2107 5 vuotta sitten
vanhempi
commit
96052ccfe1

+ 4 - 4
src/main/webapp/WEB-INF/views/mob/display/BestMainFormMob.html

@@ -25,7 +25,7 @@
 			<div class="inner wide">
 				<div class="category_nav">
 					<ul id="cateListArea">
-						<li><button type="button" class="active" id="li0" onclick="fnBestListSearch(this,0);">전체</button></li>
+						<li><button type="button" class="active" id="li0" onclick="fnBestListSearch(this,'');">전체</button></li>
 						<th:block th:each="item, stat : ${bestCateList}">
 							<li class="" th:id="${'li'+item.cateNo}"><button type="button" th:onclick="fnBestListSearch(this,[[${item.cateNo}]]);" th:text="${item.cateNm}">여성</button></li>
 						</th:block>
@@ -309,9 +309,9 @@
 		});
 
 		var fnBestListSearch = function (obj, cateNo){
-			if(gagajf.isNull(cateNo)){
-				cateNo = 0;
-			}
+			// if(gagajf.isNull(cateNo)){
+			// 	cateNo = 0;
+			// }
 
 			$.each($("#cateListArea").find('li'), function() {
 				$(this).removeClass();

+ 1 - 1
src/main/webapp/WEB-INF/views/mob/display/BrandMainFormMob.html

@@ -118,7 +118,7 @@
 					</div>
 				</th:block>
 
-				<th:block th:if="${contentsLoc=='006'}">
+				<th:block th:if="${contentsLoc=='006' || contentsLoc=='014'||contentsLoc=='015'||contentsLoc=='016'}">
 					<!-- 배너 슬라이드 -->
 					<div class="inner wide" th:if="${brandMainLayoutData.ContentsList!=null}">
 						<div class="swiper-container br_second_slide">

+ 3 - 3
src/main/webapp/WEB-INF/views/web/display/BestMainFormWeb.html

@@ -296,9 +296,9 @@
 	});
 
 	var fnBestListSearch = function (obj, cateNo){
-		if(gagajf.isNull(cateNo)){
-			cateNo = 0;
-		}
+		// if(gagajf.isNull(cateNo)){
+		// 	cateNo = 0;
+		// }
 
 		$.each($("#cateListArea").find('li'), function() {
 			$(this).removeClass();

+ 1 - 1
src/main/webapp/WEB-INF/views/web/display/BrandMainFormWeb.html

@@ -127,7 +127,7 @@
 
 				<!-- 가로 긴 배너 슬라이드 -->
 				<!-- 브랜드 배너 -->
-				<th:block th:if="${contentsLoc=='006'}">
+				<th:block th:if="${contentsLoc=='006' || contentsLoc=='014'||contentsLoc=='015'||contentsLoc=='016}">
 					<div class="content wide main_1stage">
 						<div class="cont_head dpnone">
 							<p class="t_c">배너 슬라이드</p>