ソースを参照

메인전시 수정

bin2107 5 年 前
コミット
e183a76a2c

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

@@ -26,7 +26,7 @@
 		</div>
 
 		<th:block th:if="${brandMainLayoutList}" th:each="brandMainLayoutData, mainStat : ${brandMainLayoutList}" th:with="contentsLoc=${#strings.replace(brandMainLayoutData.contentsLoc,'SBM','')},contentsTitle=${brandMainLayoutData.contentsTitle}">
-			<th:block th:if="${brandMainLayoutData.ContentsList != null and !brandMainLayoutData.ContentsList.empty}">
+<!--			<th:block th:if="${brandMainLayoutData.ContentsList != null and !brandMainLayoutData.ContentsList.empty}">-->
 				<th:block th:if="${contentsLoc=='004'}">
 					<!-- 첫번째 슬라이드 -->
 					<div class="inner wide">
@@ -409,7 +409,7 @@
 				</th:block>
 
 
-			</th:block>
+<!--			</th:block>-->
 		</th:block>
 	</section>
 </main>

+ 7 - 5
src/main/webapp/WEB-INF/views/mob/display/MallMainFormMob.html

@@ -23,7 +23,7 @@
 	<main role="" id="" class="container">
 		<section class="main">
 			<th:block th:if="${mainLayoutList}" th:each="mainData, mainStat : ${mainLayoutList}" th:with="contentsLoc=${#strings.replace(mainData.contentsLoc,'SMM','')},contentsTitle=${#strings.replace(mainData.contentsTitle,'<br>',' ')}">
-				<th:block th:if="${mainData.ContentsList != null and !mainData.ContentsList.empty}">
+<!--				<th:block th:if="${mainData.ContentsList != null and !mainData.ContentsList.empty}">-->
 					<th:block th:if="${contentsLoc=='001'}">
 						<!-- 1. 비주얼 슬라이드 -->
 						<div class="inner wide">
@@ -239,7 +239,8 @@
 
 					<th:block th:if="${contentsLoc=='006'}">
 						<!-- 6. 타임딜 : 슬라이드 -->
-						<div class="inner bg_dark" th:if="${mainData.socialInfo != null}">
+						<th:block th:each="socialData, socialStat : ${mainData.socialInfo}">
+						<div class="inner bg_dark" th:if="${socialData.socialGoodsList != null}">
 							<div class="main_deal">
 								<div class="titWrap">
 									<a href="javascript:void(0)" onclick="cfnGoToPage(_PAGE_SOCIAL_MAIN);">
@@ -260,7 +261,7 @@
 
 								<div class="swiper-container post-deal">
 									<div class="swiper-wrapper" >
-										<th:block th:each="socialData, socialStat : ${mainData.socialInfo}">
+<!--										<th:block th:each="socialData, socialStat : ${mainData.socialInfo}">-->
 											<th:block th:each="goodsData, goodsStat : ${socialData.socialGoodsList}">
 												<div class="swiper-slide" th:if="${goodsStat.count<21}">
 													<div class="item_prod" style="width:100%">
@@ -282,11 +283,12 @@
 													</div>
 												</div>
 											</th:block>
-										</th:block>
+<!--										</th:block>-->
 									</div>
 								</div>
 							</div>
 						</div>
+						</th:block>
 					</th:block>
 
 					<th:block th:if="${contentsLoc=='007'}">
@@ -740,7 +742,7 @@
 								</div>
 							</div>
 						</div>
-					</th:block>
+<!--					</th:block>-->
 
 				</th:block>
 			</th:block>

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

@@ -22,7 +22,7 @@
 <div id="container" class="container brand_main">
 	<div class="wrap ">
 		<th:block th:if="${brandMainLayoutList}" th:each="brandMainLayoutData, mainStat : ${brandMainLayoutList}" th:with="contentsLoc=${#strings.replace(brandMainLayoutData.contentsLoc,'SBM','')},contentsTitle=${brandMainLayoutData.contentsTitle}">
-			<th:block th:if="${brandMainLayoutData.ContentsList != null and !brandMainLayoutData.ContentsList.empty}">
+<!--			<th:block th:if="${brandMainLayoutData.ContentsList != null and !brandMainLayoutData.ContentsList.empty}">-->
 				<th:block th:if="${contentsLoc=='004'}">
 					<!-- 1. 비주얼 슬라이드 -->
 					<div class="content wide main_visual brand_visual" th:if="${brandMainLayoutData.ContentsList != null}">
@@ -427,7 +427,7 @@
 						</div>
 					</div>
 				</th:block>
-			</th:block>
+<!--			</th:block>-->
 		</th:block>
 	</div>
 </div>

+ 7 - 5
src/main/webapp/WEB-INF/views/web/display/MallMainFormWeb.html

@@ -23,7 +23,7 @@
 
 	<div class="wrap ">
 		<th:block th:if="${mainLayoutList}" th:each="mainLayoutData, mainStat : ${mainLayoutList}" th:with="contentsLoc=${#strings.replace(mainLayoutData.contentsLoc,'SMM','')}">
-			<th:block th:if="${mainLayoutData.ContentsList != null and !mainLayoutData.ContentsList.empty}">
+<!--			<th:block th:if="${mainLayoutData.ContentsList != null and !mainLayoutData.ContentsList.empty}">-->
 				<th:block th:if="${contentsLoc=='001'}">
 					<!-- 1. 비주얼 슬라이드 -->
 					<div class="content wide main_visual">
@@ -239,7 +239,8 @@
 
 				<!-- 6. 타임딜 : 슬라이드 -->
 				<th:block th:if="${contentsLoc=='006'}">
-					<div class="content wide main_deal" th:if="${mainLayoutData.socialInfo != null}">
+					<th:block th:each="socialData, socialStat : ${mainLayoutData.socialInfo}">
+					<div class="content wide main_deal" th:if="${socialData.socialGoodsList != null}">
 						<div class="cont_head">
 							<p class="displayH" id="id006">
 								<input type="hidden" name="title" th:value="${mainLayoutData.contentsTitle}">
@@ -324,7 +325,7 @@
 						<div class="cont_body">
 							<div class="swiper-container post-deal">
 								<div class="swiper-wrapper">
-									<th:block th:each="socialData, socialStat : ${mainLayoutData.socialInfo}">
+<!--									<th:block th:each="socialData, socialStat : ${mainLayoutData.socialInfo}">-->
 										<th:block th:each="goodsData, goodsStat : ${socialData.socialGoodsList}">
 											<div class="swiper-slide" th:if="${goodsStat.count<21}">
 												<div class="item_prod">
@@ -348,7 +349,7 @@
 												</div>
 											</div>
 										</th:block>
-									</th:block>
+<!--									</th:block>-->
 								</div>
 								<div class="swiper-controls">
 									<div class="swiper-scrollbar"></div>
@@ -356,6 +357,7 @@
 							</div>
 						</div>
 					</div>
+					</th:block>
 				</th:block>
 
 				<!-- 7. 브랜드픽 -->
@@ -565,7 +567,7 @@
 					</div>
 				</th:block>
 			</th:block>
-		</th:block>
+<!--		</th:block>-->
 
 		<!-- 10. 당신을위한제안 -->
 		<div class="content main_foryou">