bin2107 5 лет назад
Родитель
Сommit
5df34029bb
1 измененных файлов с 29 добавлено и 47 удалено
  1. 29 47
      src/main/webapp/WEB-INF/views/web/display/MallMainFormWeb.html

+ 29 - 47
src/main/webapp/WEB-INF/views/web/display/MallMainFormWeb.html

@@ -460,6 +460,34 @@
 						</div>
 					</div>
 				</th:block>
+
+				<!-- 11. TV 슬라이드 -->
+				<th:block th:if="${contentsLoc=='011'}">
+					<div class="content wide main_tv" th:if="${mainLayoutData.ContentsList != null}">
+						<div class="cont_head">
+							<p class="displayH t_c" th:text="${mainLayoutData.contentsTitle}"></p>
+						</div>
+						<div class="cont_body">
+							<div class="swiper-container post-tv">
+								<div class="swiper-wrapper">
+									<th:block th:each="item, stat : ${mainLayoutData.ContentsList}">
+										<div class="swiper-slide">
+											<div class="movbox">
+												<iframe th:if="${item.strVar1=='Y'}" width="100%" height="100%" th:src="${'https://www.youtube.com/embed/'+item.strVar3+'?rel=0'}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
+												<iframe th:if="${item.strVar1=='M'}" width="100%" height="100%" th:src="${'http://v.kr.kollus.com/'+item.strVar3}" ></iframe>
+											</div>
+										</div>
+									</th:block>
+								</div>
+								<div class="swiper-button-prev white"></div> <!-- 클래스명 white 추가 -->
+								<div class="swiper-button-next white"></div>
+							</div>
+							<div class="swiper-controls">
+								<div class="swiper-pagination"></div>
+							</div>
+						</div>
+					</div>
+				</th:block>
 			</th:block>
 		</th:block>
 
@@ -739,53 +767,7 @@
 			</div>
 		</div>
 
-		<!-- 11. TV 슬라이드 -->
-		<div class="content wide main_tv">
-			<div class="cont_head">
-				<p class="displayH t_c">STYLE24 TV</p>
-			</div>
-			<div class="cont_body">
-				<div class="swiper-container post-tv">
-					<div class="swiper-wrapper">
-						<div class="swiper-slide">
-							<div class="movbox">
-								<iframe width="100%" height="100%" src="https://www.youtube.com/embed/hqryeW6scd0?rel=0" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
-							</div>
-						</div>
-						<div class="swiper-slide">
-							<div class="movbox">
-								<iframe width="100%" height="100%" src="https://www.youtube.com/embed/J7nowE2iTIM?rel=0" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
-							</div>
-						</div>
-						<div class="swiper-slide">
-							<div class="movbox">
-								<iframe width="100%" height="100%" src="https://www.youtube.com/embed/cRiKrFk7FTM?rel=0" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
-							</div>
-						</div>
-						<div class="swiper-slide">
-							<div class="movbox">
-								<iframe width="100%" height="100%" src="https://www.youtube.com/embed/hqryeW6scd0?rel=0" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
-							</div>
-						</div>
-						<div class="swiper-slide">
-							<div class="movbox">
-								<iframe width="100%" height="100%" src="https://www.youtube.com/embed/J7nowE2iTIM?rel=0" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
-							</div>
-						</div>
-						<div class="swiper-slide">
-							<div class="movbox">
-								<iframe width="100%" height="100%" src="https://www.youtube.com/embed/cRiKrFk7FTM?rel=0" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
-							</div>
-						</div>
-					</div>
-					<div class="swiper-button-prev white"></div> <!-- 클래스명 white 추가 -->
-					<div class="swiper-button-next white"></div>
-				</div>
-				<div class="swiper-controls">
-					<div class="swiper-pagination"></div>
-				</div>
-			</div>
-		</div>
+
 
 
 	<!-- End Of Main Contents -->