Переглянути джерело

모바일 최근본상품 수정

bin2107 4 роки тому
батько
коміт
f149bf3fac

+ 12 - 5
src/main/webapp/WEB-INF/views/mob/common/fragments/FooterMob.html

@@ -165,12 +165,17 @@
 	<div class="fullBody">
 		<div class="inner">
 
-			<div class="list_content">  <!-- 데이터 없을시 클래스 nodata 추가 -->
+			<div class="list_content" id="hstArea">  <!-- 데이터 없을시 클래스 nodata 추가 -->
 				<div class="count_wrap">
 					<div>
 						<p><span id="quickMenuTodayCount">0</span>개의 상품</p>
 					</div>
 				</div>
+				<div class="list_defult"> <!-- 210722_ 추가 : nodata 멘트 영역 -->
+					<div>
+						<p>최근 본 상품이 없습니다.</p>
+					</div>
+				</div>
 				<div class="itemsGrp" id="quickMenuTodayGoods"> <!-- itemsGrp rank hot deal -->
 					
 				</div>
@@ -283,10 +288,12 @@
 					})
 					
 				}else {
-					tag += '<div class="no_item">';
-					tag += '	최근 본 상품이 없습니다.';
-					tag += '</div>';
-					
+					// tag += '<div class="list_defult">';
+					// tag += '	<div>';
+					// tag += '	<p>최근 본 상품이 없습니다.</p>';
+					// tag += '	</div>';
+					// tag += '</div>';
+					$("#hstArea").addClass("nodata");
 				}
 				$('#quickMenuTodayGoods').html(tag);
 				

+ 4 - 0
src/main/webapp/ux/mo/css/common_m.css

@@ -949,6 +949,10 @@ section.main.scr, section.ev_list.scr, section.dp_exhibition.scr, section.dp_loo
 #hstrFull .fullBody .count_wrap p{font-size: 1.2rem;color: #888;}
 #hstrFull .fullBody .count_wrap p span {color: #fd4802;font-weight: 600;}
 #hstrFull .fullBody .inner {padding: 0 2.0rem 1.3rem 2.0rem;position: relative;}
+#hstrFull .fullBody  .list_content.nodata .lookbookGrp, #hstrFull .fullBody  .list_content.nodata .itemsGrp, #hstrFull .fullBody  .list_content.nodata .list_item, #hstrFull .fullBody  .list_content.nodata .list_last, #hstrFull .fullBody .list_content.nodata .count_wrap {display: none;}
+#hstrFull .fullBody .list_content.nodata .list_defult {display: block;}
+#hstrFull .fullBody .list_content .list_defult {display: none;text-align: center;padding: 11rem 0;}
+#hstrFull .fullBody .list_content .list_defult p {text-align: center;font-size: 1.3rem;color: #888888;font-weight: 300;}
 #hstrFull .fullBody .itemsGrp .item_prod {width: 48.75%;float: left;margin-right: 2.5%;margin-bottom: 0rem;}
 #hstrFull .fullBody .itemsGrp .item_prod:nth-child(2n){margin-right: 0;}
 #hstrFull .fullBody .itemsGrp:after {display: block;content: '';clear: both;}