| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228 |
- <!DOCTYPE html>
- <html lang="ko"
- xmlns:th="http://www.thymeleaf.org"
- xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
- layout:decorator="web/common/layout/DefaultLayoutWeb">
- <!--
- *******************************************************************************
- * @source : OutletMainFormWeb.html
- * @desc : 아울렛메인 Page
- *============================================================================
- * STYLE24
- * Copyright(C) 2020 TSIT, All rights reserved.
- *============================================================================
- * VER DATE AUTHOR DESCRIPTION
- * === =========== ========== =============================================
- * 1.0 2021.04.20 bin2107 최초 작성
- *******************************************************************************
- -->
- <body>
- <th:block layout:fragment="content">
- <div id="container" class="container dp">
- <div class="breadcrumb">
- <ul>
- <li class="bread_home"><a href="index.html">홈</a></li>
- <li class="bread_2depth">아울렛</li>
- </ul>
- </div>
- <div class="wrap">
- <th:block th:if="${outletMainLayoutList}" th:each="mainLayoutData, mainStat : ${outletMainLayoutList}" th:with="contentsLoc=${#strings.replace(mainLayoutData.contentsLoc,'SOM','')},contentsTitle=${mainLayoutData.contentsTitle}">
- <!-- 상단 스크롤 슬라이드 배너 -->
- <th:block th:if="${contentsLoc=='001'}">
- <div class="content dp_submain">
- <div class="cont_head">
- <div>
- <h3>아울렛</h3>
- </div>
- </div>
- <div class="cont_body" th:if="${planningList != null and !planningList.empty}">
- <div class="swiper-container">
- <div class="swiper-wrapper">
- <div class="swiper-slide" th:each="item, status : ${planningList}">
- <a th:href="${item.strVar1}">
- <div class="img">
- <img th:src="${@environment.getProperty('domain.image') + item.imgPath1}" alt="서브메인 썸네일">
- </div>
- <div class="txt">
- <p class="subject" th:text="${item.strTitle1}"></p>
- <span th:text="${item.subText1}"></span>
- </div>
- </a>
- </div>
- </div>
- <div class="swiper-controls">
- <div class="swiper-scrollbar"></div>
- </div>
- </div>
- </div>
- </div>
- </th:block>
- <!-- //상단 스크롤 슬라이드 배너 -->
- <th:block th:if="${contentsLoc=='004'}">
- <!-- 카테고리 바로가기 -->
- <div class="content wide dp_category">
- <div class="cont_head">
- <h4>카테고리 바로가기</h4>
- </div>
- <div class="cont_body">
- <div class="dp_cate_list">
- <a href="">전체</a>
- <a href="">여성</a>
- <a href="">남성</a>
- <a href="">유아동</a>
- <a href="">골프</a>
- <a href="">라이프</a>
- </div>
- </div>
- </div>
- </th:block>
- <!-- MD 추천 아이템 -->
- <th:block th:if="${contentsLoc=='002'}">
- <div class="content md_item" th:if="${mdPickGoodsList != null}">
- <div class="cont_head">
- <h4 th:text="${contentsTitle}">MD가 추천하는 아울렛 아이템</h4>
- </div>
- <div class="cont_body">
- <div class="swiper-container">
- <div class="swiper-wrapper">
- <div class="swiper-slide" th:each="item, status : ${mdPickGoodsList}">
- <div class="item_prod">
- <div class="item_state">
- <button type="button" class="itemLike" th:classappend="${item.likeIt == 'likeit'}? 'likeit' : ''" onclick="cfnPutWishList(this);" th:attr="goodsCd=${item.goodsCd}, ithrCd='', contentsLoc='SOM002', planDtlSq=''">관심상품 추가</button>
- <a href="javascript:void(0);" class="itemLink" th:onclick="cfnGoToGoodsDetail([[${item.goodsCd}]], '', '', 'SOM002');">
- <div class="itemPic">
- <img alt="BLUE-a" class=" vLHTC pd_img" th:src="${@environment.getProperty('upload.goods.view') + '/' + item.sysImgNm}" th:alt="${item.goodsCd}"/>
- </div>
- <p class="itemBrand" th:text="${item.brandGroupNm}">BRAND NAME</p>
- <div class="itemName" th:text="${item.goodsFullNm}">남성 헤링본 기모 팬츠 헤링본 기모 팬츠</div>
- <p class="itemPrice">[[${#numbers.formatInteger(item.currPrice,0,'COMMA')} + 원]]
- <span class="itemPrice_original" th:if="${item.currPrice != item.listPrice}" th:text="${#numbers.formatInteger(item.listPrice,3,'COMMA')}">89,000</span>
- <span class=" itemPercent" th:if="${item.currPrice != item.listPrice}" th:text="${(item.listPrice == 0 ? 0 : #numbers.formatDecimal((item.listPrice - item.currPrice) / (item.listPrice * 1.0) * 100, 1, 0)) + '%'}">10%</span>
- </p>
- <div class="itemComment" th:text="${item.goodsTnm}">#주문 폭주 상품</div>
- </a>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="swiper-pagination"></div>
- <div class="swiper-button-prev"></div>
- <div class="swiper-button-next"></div>
- </div>
- </div>
- </th:block>
- <!-- //MD 추천 아이템 -->
- <!-- 베스트 상품 리스트 -->
- <th:block th:if="${contentsLoc=='003'}">
- <div class="content dp_best_list" th:if="${bestGoodsList != null}">
- <div class="cont_head">
- <div>
- <h4 th:text="${contentsTitle}">베스트</h4>
- </div>
- </div>
- <div class="cont_body">
- <div class="list_content">
- <div class="itemsGrp"> <!-- itemsGrp rank hot deal -->
- <div class="item_prod" th:each="item, status : ${bestGoodsList}">
- <div class="item_state">
- <button type="button" class="itemLike" th:classappend="${item.likeIt == 'likeit'}? 'likeit' : ''" onclick="cfnPutWishList(this);" th:attr="goodsCd=${item.goodsCd}, ithrCd='', contentsLoc='SOM003', planDtlSq=''">관심상품 추가</button>
- <a href="javascript:void(0);" class="itemLink" th:onclick="cfnGoToGoodsDetail([[${item.goodsCd}]], '', '', 'SOM003');">
- <div class="rank" th:classappend="${status.count==1}?'ranker'"><span th:text="${status.index+1}">1</span></div>
- <div class="itemPic">
- <img alt="BLUE-a" class=" vLHTC pd_img" th:src="${@environment.getProperty('upload.goods.view') + '/' + item.sysImgNm}">
- </div>
- <p class="itemBrand" th:text="${item.brandGroupNm}">BRAND NAME</p>
- <div class="itemName" th:text="${item.goodsFullNm}">남성 헤링본 기모 팬츠 헤링본 기모 팬츠</div>
- <p class="itemPrice">[[${#numbers.formatInteger(item.currPrice,0,'COMMA')} + 원]]
- <span class="itemPrice_original" th:if="${item.currPrice != item.listPrice}" th:text="${#numbers.formatInteger(item.listPrice,3,'COMMA')}">89,000</span>
- <span class=" itemPercent" th:if="${item.currPrice != item.listPrice}" th:text="${(item.listPrice == 0 ? 0 : #numbers.formatDecimal((item.listPrice - item.currPrice) / (item.listPrice * 1.0) * 100, 1, 0)) + '%'}">10%</span>
- </p>
- <div class="itemcolorchip">
- <span class="chip_color35" value="ABM">BEIGE</span>
- <span class="chip_color54" value="BDS">BLACK</span>
- <span class="chip_color40" value="YBR">WHITE</span>
- </div>
- <p class="itemBadge">
- <span class="badge13">베스트 </span>
- </p>
- <div class="itemComment" th:text="${item.goodsTnm}">#주문 폭주 상품</div>
- </a>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </th:block>
- </th:block>
- <!-- //베스트 상품 리스트 -->
- </div>
- </div>
- <script th:inline="javascript">
- /*<![CDATA[*/
- $(document).ready(function() {
- //fnSetCategory1Depts();
- });
- /* SLIDE - 상단 스크롤 슬라이드 배너 */
- var submain_slide = new Swiper('.dp_submain .swiper-container', {
- slidesPerView: 4,
- spaceBetween: 20,
- freeMode:true,
- scrollbar: {
- el: '.dp_submain .swiper-scrollbar',
- hide: false,
- },
- });
- /* SLIDE - MD ITEMS */
- var dp_submain_mditem = new Swiper('.dp .md_item .swiper-container', {
- slidesPerView: 5,
- spaceBetween: 20,
- watchSlidesProgress: true,
- watchSlidesVisibility: true,
- allowTouchMove: false,
- speed : 1000,
- autoplay: {
- delay: 3000,
- disableOnInteraction:false,
- },
- navigation: {
- nextEl: '.dp .md_item .swiper-button-next',
- prevEl: '.dp .md_item .swiper-button-prev',
- },
- pagination: {
- el: '.dp .md_item .swiper-pagination',
- clickable: true,
- },
- });
- // 카테고리1Depts 설정
- var fnSetCategory1Depts = function() {
- let allCate = [[${allCateList}]];
- $.each(allCate, function(idx1, cate1) {
- if ([[${params.cate1No}]] == cate1.cate1No) {
- let tag = '<a href="javascript:void(0);" onclick="cfnGoToGoodsList(0,\'' + cate1.cateGb + '\', ' + cate1.cate1No + ');">전체</a>\n';
- if (cate1.leafYn == 'N' && cate1.cate2List.length > 0) {
- $.each(cate1.cate2List, function(idx2, cate2) {
- tag += '<a href="javascript:void(0);" onclick="cfnGoToGoodsList(0,\'' + cate2.cateGb + '\',' + cate2.cate1No + ',' + cate2.cate2No + ');">' + cate2.cate2Nm + '</a>\n';
- });
- }
- $('.dp_cate_list').html(tag);
- $('.cate1Nm').html(cate1.cate1Nm);
- }
- });
- }
- /*]]>*/
- </script>
- </th:block>
- </body>
- </html>
|