Selaa lähdekoodia

몰메인 수정

bin2107 5 vuotta sitten
vanhempi
commit
ff45ee5804

+ 2 - 0
src/main/java/com/style24/persistence/mybatis/shop/TsfDisplay.xml

@@ -661,7 +661,9 @@
 		FROM   TB_CATE_FILTER
 		WHERE  SITE_CD = #{siteCd}
 		AND    CATE_GB = #{cateGb}
+		<if test='formalGb != null and formalGb = "G009_20"'>
 		AND    FORMAL_GB = #{formalGb}
+		</if>
 		AND    BRAND_GROUP_NO = #{brandGroupNo}
 		<choose>
 		  <when test="cate1No == null and cate2No == null and cate3No == null and cate4No == null">

+ 5 - 0
src/main/webapp/WEB-INF/views/mob/common/fragments/GnbMob.html

@@ -155,6 +155,11 @@
 							tag += '</a>\n';
 							tag += '</li>\n';
 						});
+						tag += '<li>\n';
+						tag += '<a href="javascript:void(0);" onclick="cfnGoToPage(_PAGE_MAIN);">\n';
+						tag += 'STYLE24<span><img src="/images/mo/thumb/brand16.png" alt="STYLE24"></span>\n';
+						tag += '</a>\n';
+						tag += '</li>\n';
 						$('#liGnbBrandGrp').html(tag);
 					}
 				}

+ 4 - 2
src/main/webapp/WEB-INF/views/web/display/CategoryGoodsListFormWeb.html

@@ -476,7 +476,9 @@
 			$("#unisex").attr('onclick','fnFilterOption(this,\'on\');');
 			$("#searchGoodsForm input:hidden[name=unisex]").remove();
 			$("#newGoods").prop('checked',true);
-			$("#newGoods").attr('onclick','fnFilterOption(this,\'on\');');
+			$("#newGoods").attr('onclick','fnFilterOption(this,\'off\');');
+			$("#searchGoodsForm input:hidden[name=newGoods]").val('40');
+
 			fnFilterSliderMove(0,5);
 			fnDcRateFilterSliderMove(0,10);
 			$('.filter_content .sort').find('input[type=checkbox]').each(function (idx){
@@ -558,7 +560,7 @@
 							$("#brandNm").show();
 							$("#brandNm").text(brandGroupNm);
 							$("#navNm").hide();
-							$('#ulAllCate').append('<li><a href="javascript:void(0);" onclick="cfnGoToGoodsList(\''+brandGroupNo+'\',\''+cateGb+'\');">전체</a></li>\n');
+							$('#ulAllCate').append('<li><a href="javascript:void(0);" onclick="cfnGoToGoodsList(\''+brandGroupNo+'\',\''+cateGb+'\');" class="on">전체</a></li>\n');
 							navNm += '<li class="bread_2depth" id="navNm1">전체</li>';
 						}else{
 							if(formalGb=='G009_20'){